From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [CVS] f7, f8 bound.. Date: 29 Aug 2002 16:42:16 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <5xn0r5hgl3.fsf@kfs2.cua.dk> References: <87lm6xiruh.fsf@computer.localdomain> <5xu1liwmu6.fsf@kfs2.cua.dk> <200208261526.g7QFQX624783@rum.cs.yale.edu> <5xu1lgu1e4.fsf@kfs2.cua.dk> <200208271621.g7RGLNm30516@rum.cs.yale.edu> <5xhehfe3aj.fsf@kfs2.cua.dk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1030628852 24907 127.0.0.1 (29 Aug 2002 13:47:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 29 Aug 2002 13:47:32 +0000 (UTC) Cc: miles@gnu.org, monnier+gnu/emacs@rum.cs.yale.edu, deego@glue.umd.edu, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17kPdx-0006TV-00 for ; Thu, 29 Aug 2002 15:47:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17kQAG-0005Ge-00 for ; Thu, 29 Aug 2002 16:20:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kPfL-0002aj-00; Thu, 29 Aug 2002 09:48:55 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17kPYa-0001sy-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 09:41:56 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17kPYY-0001sZ-00 for emacs-devel@gnu.org; Thu, 29 Aug 2002 09:41:55 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17kPYX-0001sN-00; Thu, 29 Aug 2002 09:41:54 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id DC9347C016; Thu, 29 Aug 2002 13:41:52 +0000 (GMT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 38 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:7113 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:7113 Richard Stallman writes: > Hell, why not just make `C-x e' end the macro as well as executing it, > and then use Stefan's idea of allowing the `e' to be repeated > indefinitely [or something similar]? > > These seem like good ideas, except that I would have chosen C-x ) instead > of C-x e, for symmetry with C-x (. I implemented Miles suggestion that C-x e end and executes the macro. This is done by binding C-x e to kmacro-end-or-call-macro. If you want to have the same functionality on C-x ), we can bind that function there too. BTW, that is exactly what I initially suggested (to you) to do, but you explicitly requested that C-x ), and C-x e should continue to work as they used to. > > Actually, I think a better idea would be to make `C-x e' repeat if you > hit SPC afterwards, and display a message to that effect so that it's > obvious, e.g., > > SPC would be easier to type over and over than e. This is now a custom option kmacro-call-repeat-key. > > However, one thing worries me about both ideas: both of them could be > error-prone. You might want to type an e, or a space, for its normal > meaning, after executing the macro. If you don't like this, set kmacro-call-repeat-key to nil. Maybe it should be the default setting? -- Kim F. Storm http://www.cua.dk