From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: C-h k, C-h f and keyboard macros: Patch. Date: Tue, 11 Feb 2003 10:03:04 -0600 (CST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200302111603.KAA06576@eel.dms.auburn.edu> References: <200302102356.RAA04775@eel.dms.auburn.edu> <5xsmuvufn1.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1044979314 32698 80.91.224.249 (11 Feb 2003 16:01:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 11 Feb 2003 16:01:54 +0000 (UTC) Cc: 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 18icqU-0008T2-00 for ; Tue, 11 Feb 2003 17:01:18 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18id22-0003RD-00 for ; Tue, 11 Feb 2003 17:13:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18icrj-0005Xp-01 for emacs-devel@quimby.gnus.org; Tue, 11 Feb 2003 11:02:35 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18icrS-0005R1-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 11:02:18 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18icrR-0005Q0-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 11:02:18 -0500 Original-Received: from manatee.dms.auburn.edu ([131.204.53.104]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18icrR-0005Pw-00 for emacs-devel@gnu.org; Tue, 11 Feb 2003 11:02:17 -0500 Original-Received: from eel.dms.auburn.edu (eel.dms.auburn.edu [131.204.53.108]) by manatee.dms.auburn.edu (8.9.1a/8.9.1) with ESMTP id KAA19649; Tue, 11 Feb 2003 10:02:16 -0600 (CST) Original-Received: (from teirllm@localhost) by eel.dms.auburn.edu (8.9.3+Sun/8.9.3) id KAA06576; Tue, 11 Feb 2003 10:03:04 -0600 (CST) X-Authentication-Warning: eel.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: storm@cua.dk In-reply-to: <5xsmuvufn1.fsf@kfs2.cua.dk> (storm@cua.dk) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:11563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:11563 Kim Storm wrote: The problem with using kmacro-display is that it is intended for interactive use, so it prints the macro definition using `message'. It is better to use format-kbd-macro directly: Using format-kbd-macro directly is indeed a much better idea than using kmacro-display. `kmacro-display' also has the additional problem of not being autoloaded. (I should have thought of that earlier.) `format-kbd-macro' is autoloaded. Sincerely, Luc.