From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: `special' keys in keyboard macros Date: 14 Oct 2003 17:21:53 -0400 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: 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 X-Trace: sea.gmane.org 1066168343 7279 80.91.224.253 (14 Oct 2003 21:52:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 14 Oct 2003 21:52:23 +0000 (UTC) Cc: emacs-devel@gnu.org, Roland Winkler Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 14 23:52:20 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 1A9X5Y-0003CZ-00 for ; Tue, 14 Oct 2003 23:52:20 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A9X5Y-0004kv-00 for ; Tue, 14 Oct 2003 23:52:20 +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 1A9WiV-0004oy-Gq for emacs-devel@quimby.gnus.org; Tue, 14 Oct 2003 17:28:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1A9Wg5-00024l-C2 for emacs-devel@gnu.org; Tue, 14 Oct 2003 17:26:01 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1A9WfX-0001Bs-EA for emacs-devel@gnu.org; Tue, 14 Oct 2003 17:25:58 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1A9Wf7-0006C9-60; Tue, 14 Oct 2003 17:25:01 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by mx20.gnu.org with esmtp (Exim 4.24) id 1A9Wc9-0001nq-Jk; Tue, 14 Oct 2003 17:21:57 -0400 Original-Received: from vor.iro.umontreal.ca (vor.iro.umontreal.ca [132.204.24.42]) by mercure.iro.umontreal.ca (8.12.9/8.12.9) with ESMTP id h9ELLrKS026760; Tue, 14 Oct 2003 17:21:54 -0400 Original-Received: by vor.iro.umontreal.ca (Postfix, from userid 20848) id 9B00E3C63E; Tue, 14 Oct 2003 17:21:53 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 14 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-MailScanner-DIRO: Found to be clean 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:17095 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17095 > To be entirely correct, the characters you record should not have been > translated through key-translation-map, only through function-key-map. It is not possible to do this 100% correctly. Maybe we can record the pre-processed keys and temporarily bind function-key-map and key-translation-map to nil while executing a macro, but that seems risky as well. Another possibility is to record commands names instead of keys. All in all, it seems that a "quick" 90% solution might be the best available option. Stefan