Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!news1.tnib.de!feed.news.tnib.de!news.tnib.de!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; 'programmer': 0.03; 'argument': 0.05; 'odd': 0.07; 'bash': 0.09; 'bindings': 0.09; 'definition,': 0.09; 'prefix': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:features': 0.09; 'macro.': 0.16; 'macros': 0.16; 'macros.': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'wrote:': 0.18; '>>>': 0.22; 'manual': 0.22; 'header:User-Agent:1': 0.23; 'keyboard': 0.24; 'skip': 0.24; 'mon,': 0.24; 'versions': 0.24; 'header:X -Complaints-To:1': 0.27; 'record': 0.27; 'skip:( 20': 0.30; 'older': 0.33; 'common': 0.35; 'definition': 0.35; 'are,': 0.36; 'described': 0.36; 'executing': 0.36; 'useful': 0.36; 'two': 0.37; 'message-id:@gmail.com': 0.38; 'to:addr:python-list': 0.38; 'recent': 0.39; "couldn't": 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'how': 0.40; 'above,': 0.60; 'commands': 0.60; 'most': 0.60; 'received:122': 0.63; 'subject:Important': 0.65; 'jul': 0.74 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Sivaram Neelakantan Subject: Re: Important features for editors Date: Mon, 08 Jul 2013 19:54:07 +0530 References: <0eab9d68-da63-41b0-bad4-d7b4457128ce@googlegroups.com> <3a2c6b65-e964-429c-9009-73bc90b10c6d@googlegroups.com> <51da5e32$0$6512$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain X-Gmane-NNTP-Posting-Host: 122.178.232.195 User-Mail-Address: nsivaram.net@gmail.com User-Agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (windows-nt) Cancel-Lock: sha1:5F4rGr2nB0eJ/cyIcS3G6mRFv08= 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1373305211 news.xs4all.nl 15882 [2001:888:2000:d::a6]:58522 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:50163 On Mon, Jul 08 2013,Skip Montanaro wrote: >>> I couldn't live without the keyboard macro record and playback. >> >> I used to work with a programmer who couldn't live without his insulin >> injections. > > Hyperbole aside, two of my most common "crutches" are Emacs macros and > bash history. Given how useful macros are, I find it very odd that > recent versions of GNU Emacs dispensed with the old key binding to C-x > c. > > Skip 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 sivaram --