From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14206: 24.3.50; doc string of `execute-kbd-macro' Date: Sat, 08 Feb 2014 17:50:01 -0800 Message-ID: <87vbwpkqba.fsf@building.gnus.org> References: <87vbwpstlo.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391910732 12086 80.91.229.3 (9 Feb 2014 01:52:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Feb 2014 01:52:12 +0000 (UTC) Cc: 14206@debbugs.gnu.org To: Kevin Rodgers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 09 02:52:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCJZC-0003oN-Uq for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 02:52:19 +0100 Original-Received: from localhost ([::1]:48689 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCJZC-0001Rm-Jd for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 20:52:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCJZ3-0001Rd-Br for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 20:52:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCJYw-00086j-Du for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 20:52:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44443) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCJYw-00086f-B3 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 20:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCJYv-0004Y4-Tn for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 20:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 Feb 2014 01:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14206 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14206-submit@debbugs.gnu.org id=B14206.139191069017426 (code B ref 14206); Sun, 09 Feb 2014 01:52:01 +0000 Original-Received: (at 14206) by debbugs.gnu.org; 9 Feb 2014 01:51:30 +0000 Original-Received: from localhost ([127.0.0.1]:58462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCJYP-0004X0-HS for submit@debbugs.gnu.org; Sat, 08 Feb 2014 20:51:29 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46033) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCJYM-0004Wl-TE for 14206@debbugs.gnu.org; Sat, 08 Feb 2014 20:51:27 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCJY8-0003Rv-4A; Sun, 09 Feb 2014 02:51:12 +0100 In-Reply-To: (Kevin Rodgers's message of "Sat, 08 Feb 2014 08:45:44 -0700") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCJY8-0003Rv-4A MailScanner-NULL-Check: 1392515472.64932@l4OX0bY1Ka65bYtVVE+MBA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85007 Archived-At: Kevin Rodgers writes: >> (defun foo () "foo") >> >> (execute-kbd-macro 'foo) >> >> -> >> >> Debugger entered--Lisp error: (error "Keyboard macros must be >> strings or vectors") >> execute-kbd-macro(foo) >> eval((execute-kbd-macro (quote foo)) nil) So is the "If MACRO is a symbol, its function definition is used." thing wrong? >> (execute-kbd-macro ["f"]) >> -> >> After 0 kbd macro iterations: undefined: Keyboard macro terminated >> by a command ringing the bell >> >> What kind of vector is this talking about? > > A vector of keyboard events: (execute-kbd-macro [?f ?o ?o]) Right. I've now added this to the doc string. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/