From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: bug#14206: 24.3.50; doc string of `execute-kbd-macro' Date: Sat, 08 Feb 2014 08:45:44 -0700 Message-ID: References: <87vbwpstlo.fsf@building.gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1391874374 26087 80.91.229.3 (8 Feb 2014 15:46:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 15:46:14 +0000 (UTC) To: 14206@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 16:46:21 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 1WCA6j-0004O9-Ji for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 16:46:17 +0100 Original-Received: from localhost ([::1]:46964 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA6j-0005mS-0F for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 10:46:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45450) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA6a-0005m0-Bd for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:46:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCA6U-0007sp-Hv for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:46:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA6U-0007sl-Es for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCA6U-0000nO-6M for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Kevin Rodgers Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 15:46:02 +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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13918743132981 (code B ref -1); Sat, 08 Feb 2014 15:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2014 15:45:13 +0000 Original-Received: from localhost ([127.0.0.1]:58046 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCA5h-0000m0-0N for submit@debbugs.gnu.org; Sat, 08 Feb 2014 10:45:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43515) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCA5f-0000ls-01 for submit@debbugs.gnu.org; Sat, 08 Feb 2014 10:45:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCA5Y-0007ZA-Lv for submit@debbugs.gnu.org; Sat, 08 Feb 2014 10:45:10 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:43579) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA5Y-0007Ym-JP for submit@debbugs.gnu.org; Sat, 08 Feb 2014 10:45:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45205) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA5T-0005aE-8I for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:45:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCA5N-00079b-S3 for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:44:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:38891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCA5N-00079J-LS for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 10:44:53 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WCA5L-0003Dl-La for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 16:44:51 +0100 Original-Received: from 70-59-41-30.hlrn.qwest.net ([70.59.41.30]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Feb 2014 16:44:51 +0100 Original-Received: from kevin.d.rodgers by 70-59-41-30.hlrn.qwest.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 08 Feb 2014 16:44:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 37 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 70-59-41-30.hlrn.qwest.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 In-Reply-To: <87vbwpstlo.fsf@building.gnus.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:84967 Archived-At: On 2/8/14 4:59 AM, Lars Ingebrigtsen wrote: > "Drew Adams" writes: > >> The doc string is misleading, especially this part: "as string of editor >> command characters". Presumably what is meant is as a sequence of >> command chars (better - a sequence of events). Compare the Elisp manual >> description, which explicitly mentions that MACRO can be a string or a >> vector (or a symbol with a function value). > > Uhm... > > (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) > > (execute-kbd-macro "foo") > -> foo > > (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]) > It's kinda confusing all over. -- Kevin Rodgers Denver, Colorado, USA