From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roland Winkler Newsgroups: gmane.emacs.devel Subject: Re: `special' keys in keyboard macros Date: Thu, 16 Oct 2003 12:18:30 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <16270.28790.644900.539286@tfkp07.physik.uni-erlangen.de> References: <16257.16532.727889.658851@tfkp07.physik.uni-erlangen.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1066299811 2646 80.91.224.253 (16 Oct 2003 10:23:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Oct 2003 10:23:31 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, Stefan Monnier Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Oct 16 12:23:29 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AA5I1-0006cC-00 for ; Thu, 16 Oct 2003 12:23:29 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AA5I0-0005Sl-00 for ; Thu, 16 Oct 2003 12:23:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA5Fk-0003O8-Dm for emacs-devel@quimby.gnus.org; Thu, 16 Oct 2003 06:21:08 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AA5Eq-0003B9-LA for emacs-devel@gnu.org; Thu, 16 Oct 2003 06:20:12 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AA5EJ-0002zF-9q for emacs-devel@gnu.org; Thu, 16 Oct 2003 06:20:10 -0400 Original-Received: from [131.188.164.207] (helo=tfkp07.physik.uni-erlangen.de) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AA5EI-0002lT-IF; Thu, 16 Oct 2003 06:19:38 -0400 Original-Received: by tfkp07.physik.uni-erlangen.de (Postfix, from userid 500) id 778A14E00; Thu, 16 Oct 2003 12:18:32 +0200 (CEST) Original-To: storm@cua.dk (Kim F. Storm) In-Reply-To: X-Mailer: VM 6.96 under Emacs 21.2.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17143 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17143 On Oct 15 2003 Kim F. Storm wrote: > Richard Stallman writes: > > > Another possibility is to record commands names instead of keys. > > > > That is possible, but I tend to think it is the wrong approach. > > I agree. > > For example, it is not sufficient to record just commands names for > commands like self-insert-command and digit-argument which make no > sense "out of context". I think it would be neat to have some better support for converting "dirty", quickly hacked keyboard macros into "clean" elisp commands. The command edit-kbd-macro gives some idea how the keys are translated into commands. But for more complex keyboard macros (such as those using recursive edit during execution of the macro) it will be rather tricky to provide an automated mechanism for converting keyboard macros into elisp commands. Up to now, I do not even have an idea what kind of new features might be useful to support such a conversion. In any case, it appears to me that this is a rather different issue than what I addressed in the bug report. Roland