Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'argument': 0.05; 'preference': 0.07; 'suppose': 0.07; 'bindings': 0.09; 'definition,': 0.09; 'inserted': 0.09; 'keys,': 0.09; 'logic': 0.09; 'prefix': 0.09; 'spelling': 0.09; 'subject:features': 0.09; 'cc:addr:python-list': 0.11; '(easier': 0.16; 'from:addr:pobox.com': 0.16; 'from:addr:skip': 0.16; 'macro.': 0.16; 'macros.': 0.16; 'sorts': 0.16; 'unbound': 0.16; 'folks': 0.16; 'sender:addr:gmail.com': 0.17; 'bit': 0.19; 'meant': 0.20; 'manual': 0.22; 'cc:addr:python.org': 0.22; 'keyboard': 0.24; 'skip': 0.24; 'versions': 0.24; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'define': 0.26; 'long,': 0.26; 'switch': 0.26; 'header:In-Reply-To:1': 0.27; 'moved': 0.30; 'message- id:@mail.gmail.com': 0.30; 'skip:( 20': 0.30; "i'm": 0.30; 'getting': 0.31; 'keys': 0.31; 'probably': 0.32; 'stuff': 0.32; 'older': 0.33; 'definition': 0.35; 'but': 0.35; 'received:google.com': 0.35; '(we': 0.36; 'described': 0.36; 'executing': 0.36; 'done': 0.36; 'thanks': 0.36; 'so,': 0.37; 'too': 0.37; 'two': 0.37; 'recent': 0.39; 'sure': 0.39; 'called': 0.40; 'above,': 0.60; 'commands': 0.60; 'most': 0.60; 'new': 0.61; 'subject:Important': 0.65; 'to:addr:gmail.com': 0.65; 'increase': 0.74; 'commands.': 0.84; 'keystrokes': 0.84; 'imagine': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=UNUcoWuuyqGcoQUoIPtY7otm/kgm2FfKvsDljILYxw0=; b=g63z0MLOZPrcb7oyp/Fedq2Q2LhbvHtX9FB1BwENVVq3Mzz3WQKGilOeVprliKRz5S VZEz1ssNgkmvZv5A9AyIiV3BiU3gNORVyUe1X7D3BrkZtu030WlkADoFGmSXXdXCedNx TaNN8ZL8yFICXFvAHQO/7lLeSE/PxtWVEXfyeKCNZPMZDBM8rdYHXPJbeKJ0YyDE9hlI xVadVRTnfd59TYAgznJtAUDEnM3sy6ygQm6butgE1/0z7khuqqjZuN+wmAy746b7B1Yq 2N3QyAlRWFH2Wi8WdnZup4lz6nYw//G3uDhYOw0z4TDyhorf1PdXfNZPRaB+wzCXxNQZ kL9Q== MIME-Version: 1.0 X-Received: by 10.50.118.74 with SMTP id kk10mr9119169igb.2.1373306613926; Mon, 08 Jul 2013 11:03:33 -0700 (PDT) Sender: skip.montanaro@gmail.com In-Reply-To: <8738rpf7ug.fsf@gmail.com> References: <0eab9d68-da63-41b0-bad4-d7b4457128ce@googlegroups.com> <3a2c6b65-e964-429c-9009-73bc90b10c6d@googlegroups.com> <51da5e32$0$6512$c3e8da3$5496439d@news.astraweb.com> <8738rpf7ug.fsf@gmail.com> Date: Mon, 8 Jul 2013 13:03:33 -0500 X-Google-Sender-Auth: CZfOBnzno0HyBIhxDmWKRsEeUoc Subject: Re: Important features for editors From: Skip Montanaro To: Sivaram Neelakantan Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373306617 news.xs4all.nl 15940 [2001:888:2000:d::a6]:41714 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50166 > Wasn't it C-x ( ? From the manual > > In addition to the and commands described above, Emacs > also supports an older set of key bindings for defining and executing > keyboard macros. To begin a macro definition, type `C-x (' > (`kmacro-start-macro'); as with , a prefix argument appends this > definition to the last keyboard macro. To end a macro definition, type > `C-x )' (`kmacro-end-macro'). To execute the most recent macro, type > `C-x e' (`kmacro-end-and-call-macro'). If you enter `C-x e' while (We are getting a bit off-topic, but I suppose that's not too unusual...) Thanks for pointing that out. Things moved around on me while I wasn't looking. For a long, long time, I have used C-x e as a prefix for a number of ediff commands. I imagine that comes from my old XEmacs habits. C-x c was always bound to call-last-kbd-macro, and I'm pretty sure it used to be that way in older versions of GNU Emacs. The kmacro package probably appeared while I was using XEmacs. I found that in the interim, the GNU folks inserted all sorts of extra keys, so that many things I used to do with two keystrokes are now done with three. I understand the logic of what they did (easier to increase the number of keystrokes required for some commands than to increase the number of keys on the keyboard), but prefer many things the way I used to do them. So, call-last-kbd-macro got unbound in the GNU switch to kmacro, and reasserting my preference for the way I called ediff commands meant that the new spelling of the kmacro stuff got dropped. I do use C-x ( and C-x ) to define macros. Skip