From unknown Mon Aug 18 11:09:39 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6867 <6867@debbugs.gnu.org> To: bug#6867 <6867@debbugs.gnu.org> Subject: Status: insert-kbd-macro2 Reply-To: bug#6867 <6867@debbugs.gnu.org> Date: Mon, 18 Aug 2025 18:09:39 +0000 retitle 6867 insert-kbd-macro2 reassign 6867 emacs submitter 6867 "Goodrich, Charles H. (KSC-ASRC-433)[ASRC AEROSPACE]" severity 6867 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 10:29:59 2010 Received: (at submit) by debbugs.gnu.org; 16 Aug 2010 14:29:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol0hK-0000kT-KI for submit@debbugs.gnu.org; Mon, 16 Aug 2010 10:29:59 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol0es-0000Wg-EG for submit@debbugs.gnu.org; Mon, 16 Aug 2010 10:27:47 -0400 Received: from lists.gnu.org ([199.232.76.165]:45791) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ol0ff-0002F8-Mj for submit@debbugs.gnu.org; Mon, 16 Aug 2010 10:28:15 -0400 Received: from [140.186.70.92] (port=58404 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ol0e9-00008T-Gj for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2010 10:28:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ol0dt-0004si-MM for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2010 10:26:32 -0400 Received: from ndmsnpf01.ndc.nasa.gov ([198.117.0.121]:36286) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol0dt-0004sE-GO for bug-gnu-emacs@gnu.org; Mon, 16 Aug 2010 10:26:25 -0400 Received: from ndmsppt03.ndc.nasa.gov (ndmsppt03.ndc.nasa.gov [198.117.0.102]) by ndmsnpf01.ndc.nasa.gov (Postfix) with ESMTP id 131C3260CCF for ; Mon, 16 Aug 2010 09:26:23 -0500 (CDT) Received: from ndmshub06.ndc.nasa.gov (ndmshub06.ndc.nasa.gov [198.117.2.165]) by ndmsppt03.ndc.nasa.gov (8.14.3/8.14.3) with ESMTP id o7GEQMTs008446 for ; Mon, 16 Aug 2010 09:26:22 -0500 Received: from NDMSSCC03.ndc.nasa.gov ([198.117.2.170]) by ndmshub06.ndc.nasa.gov ([198.117.2.165]) with mapi; Mon, 16 Aug 2010 09:26:23 -0500 From: "Goodrich, Charles H. (KSC-ASRC-433)[ASRC AEROSPACE]" To: "bug-gnu-emacs@gnu.org" Date: Mon, 16 Aug 2010 09:26:19 -0500 Subject: insert-kbd-macro2 Thread-Topic: insert-kbd-macro2 Thread-Index: Acs9Ti0ysQm03UshQY+Eu0Ts2oYCoQ== Message-ID: <2D4D23515D51884BAE28A95B4A6BFBB26586D74833@NDMSSCC03.ndc.nasa.gov> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-puzzleid: {FD3F2E01-D655-4D57-B2A4-C732DD609390} x-cr-hashedpuzzle: AAVD BM6L DZP6 Dosr EeCF FLSC FZqp FxtM GZ7j GzGX HHGz HNiK Hl5a IiZ5 JuI2 J+Jm; 1; YgB1AGcALQBnAG4AdQAtAGUAbQBhAGMAcwBAAGcAbgB1AC4AbwByAGcA; Sosha1_v1; 7; {FD3F2E01-D655-4D57-B2A4-C732DD609390}; YwBoAGEAcgBsAGUAcwAuAGgALgBnAG8AbwBkAHIAaQBjAGgAQABuAGEAcwBhAC4AZwBvAHYA; Mon, 16 Aug 2010 14:26:19 GMT; aQBuAHMAZQByAHQALQBrAGIAZAAtAG0AYQBjAHIAbwAyAA== acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_2D4D23515D51884BAE28A95B4A6BFBB26586D74833NDMSSCC03ndcn_" MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011, 1.0.148, 0.0.0000 definitions=2010-08-16_02:2010-08-16, 2010-08-16, 1970-01-01 signatures=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 16 Aug 2010 10:29:57 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) --_000_2D4D23515D51884BAE28A95B4A6BFBB26586D74833NDMSSCC03ndcn_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable From: To: bug-gnu-emacs@gnu.org Subject: insert-kbd-macro2 --text follows this line-- Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Dear Emacs bugs, I named a keboard macro that I defined via `C-x C-k n' and inserted its def= inition in a buffer via `M-x insert-kbd-macro'. Here is the code Emacs inse= rted: (fset 'fill-number-list (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec= -ring-item (quote ([down return 67108896 up up 134217841 backspace 24 24] 0= "%d")) arg))) Next, I saved the file following instructions in the *info* file. In a su= bsequent Emacs session I loaded the definition with `load-file'. Loading d:/Documents and Settings/chgoodri/My Documents/WM_chgoodri My Documents/Business/filllist.el (source)...done Next I tried to invoke the macro with M-x `fill-number-list' fill-number-list: Symbol's function definition is void: kmacro-exec-ring-item I can't figure out why the function definition is void. Regards, Charlie Goodrich Kennedy Space Center 321-867-6956 charles.h.goodrich@nasa.gov If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file d:/Documents and Settings/chgoodri/My Documents/emacs-22.1/etc/DEBUG for in= structions. In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include= ' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t desktop-save-mode: t encoded-kbd-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-l M-b C-b C-b C-b C-b C-b C-b C-b C-b C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p M-x l o a d SPC f SPC f i l l C-l C-l C-n C-n C-n C-n C-n C-n C-n M-b M-b M-b M-b M-x f i l l - n u C-x b * m e s SPC M-x r e p o r t SPC e SPC SPC Recent messages: using default package specification of `user' [2 times] Loading info... Loading easymenu...done Loading info...done Desktop: 13 buffers restored. [2 times] For information about the GNU Project and its goals, type C-h C-p. [2 times= ] Loading d:/Documents and Settings/chgoodri/My Documents/WM_chgoodri My Docu= ments/Business/filllist.el (source)...done fill-number-list: Symbol's function definition is void: kmacro-exec-ring-it= em Loading emacsbug...done previous-buffer: Wrong number of arguments: (lambda nil "switch to last buf= fer" (interactive) (switch-to-buffer (other-buffer))), 2 Charlie Goodrich ASRC Aerospace, Systems Engineering Mail Stop ASRC-48 Kennedy Space Center, FL 32899 location: M7-409 (EDL) 2103A phone: (321) 867-6956 --_000_2D4D23515D51884BAE28A95B4A6BFBB26586D74833NDMSSCC03ndcn_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
From:  <charles.h.goodrich@nasa.gov>
To: bug-gnu-emacs@gnu.org
Subject: insert-kbd-macro2
--text follows this line--
 
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
 
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing li= st,
and to the gnu.emacs.bug news group.
 
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
 
Dear Emacs bugs,
 
I named a keboard macro that I defined via `C-x C-k n' and inserted it= s definition in a buffer via `M-x insert-kbd-macro'. Here is the code Emacs= inserted:
 
(fset 'fill-number-list
   (lambda (&optional arg) "Keyboard macro." (= interactive "p") (kmacro-exec-ring-item (quote ([down return 6710= 8896 up up 134217841 backspace 24 24] 0 "%d")) arg)))
 
Next, I saved the file following instructions in the *info* file. = ;  In a subsequent Emacs session I loaded the definition with  `l= oad-file'.
 
  Loading d:/Documents and Settings/chgoodri/My Documents/WM_chgo= odri
  My Documents/Business/filllist.el (source)...done
 
Next I tried to invoke the macro with M-x `fill-number-list'
 
  fill-number-list: Symbol's function definition is void:
  kmacro-exec-ring-item
 
I can't figure out why the function definition is void.
 
Regards,
 
Charlie Goodrich
Kennedy Space Center
321-867-6956
charles.h.goodrich@nasa.gov
 
If Emacs crashed, and you have the Emacs process in the gdb debugger,<= /div>
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
d:/Documents and Settings/chgoodri/My Documents/emacs-22.1/etc/DEBUG f= or instructions.
 
 
In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/in= clude'
 
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t
 
Major mode: Fundamental
 
Minor modes in effect:
  shell-dirtrack-mode: t
  desktop-save-mode: t
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
 
Recent input:
C-l M-b <lwindow> <down-mouse-1> <mouse-1> <langu= age-change>
C-b C-b C-b C-b C-b C-b C-b C-b C-p C-p C-p C-p <language-change>= ;
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p
C-p C-p C-p C-p C-p C-p M-x l o a d SPC f SPC <return>
f i l l <tab> <return> C-l C-l C-n C-n C-n C-n C-n
C-n C-n M-b M-b M-b M-b <down-mouse-1> <mouse-1> M-x
f i l l - n u <tab> <return> C-x b * m e s SPC <return&= gt;
<help-echo> <help-echo> <language-change> M-x <he= lp-echo>
r e p o r t SPC e SPC SPC <return>
 
Recent messages:
using default package specification of `user' [2 times]
Loading info...
Loading easymenu...done
Loading info...done
Desktop: 13 buffers restored. [2 times]
For information about the GNU Project and its goals, type C-h C-p. [2 = times]
Loading d:/Documents and Settings/chgoodri/My Documents/WM_chgoodri My= Documents/Business/filllist.el (source)...done
fill-number-list: Symbol's function definition is void: kmacro-exec-ri= ng-item
Loading emacsbug...done
previous-buffer: Wrong number of arguments: (lambda nil "switch t= o last buffer" (interactive) (switch-to-buffer (other-buffer))), 2
 
Charlie Goodrich ASRC Aerospace, System= s Engineering
Mail Stop ASRC-48
Kennedy Space Center, FL 3= 2899
location: M7-409 (EDL) 210= 3A
phone: (321) 867-6956 
 
 
 
--_000_2D4D23515D51884BAE28A95B4A6BFBB26586D74833NDMSSCC03ndcn_-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 16 11:43:21 2010 Received: (at 6867) by debbugs.gnu.org; 16 Aug 2010 15:43:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol1qL-0003xV-2C for submit@debbugs.gnu.org; Mon, 16 Aug 2010 11:43:21 -0400 Received: from ppsw-30.csi.cam.ac.uk ([131.111.8.130]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ol1qI-0003xQ-7f for 6867@debbugs.gnu.org; Mon, 16 Aug 2010 11:43:20 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Received: from cpc1-cmbg13-0-0-cust596.cmbg.cable.virginmedia.com ([86.9.122.85]:49661 helo=Victoria.local) by ppsw-30.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1Ol1rF-0004xz-eJ (Exim 4.72) for 6867@debbugs.gnu.org (return-path ); Mon, 16 Aug 2010 16:44:17 +0100 From: Leo To: 6867@debbugs.gnu.org Subject: Re: insert-kbd-macro2 Organization: University of Cambridge, England Date: Mon, 16 Aug 2010 16:44:16 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 6867 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) Hello Charles, Consider upgrading to the latest stable release i.e. 23.2 in which this has been fixed. Otherwise put (require 'kmacro) in your .emacs file. Cheers, Leo From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 21 10:06:37 2010 Received: (at control) by debbugs.gnu.org; 21 Aug 2010 14:06:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmoiT-0006PI-IH for submit@debbugs.gnu.org; Sat, 21 Aug 2010 10:06:37 -0400 Received: from pantheon-po18.its.yale.edu ([130.132.50.74]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmoiR-0006PC-6o for control@debbugs.gnu.org; Sat, 21 Aug 2010 10:06:35 -0400 Received: from furry (cpe-69-203-30-95.nyc.res.rr.com [69.203.30.95]) (authenticated bits=0) by pantheon-po18.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o7LE7lZw005000 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 21 Aug 2010 10:07:47 -0400 Received: by furry (Postfix, from userid 1000) id 1E4D5C013; Sat, 21 Aug 2010 10:07:47 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 6867 Date: Sat, 21 Aug 2010 10:07:47 -0400 Message-ID: <874oeo5aa4.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) close 6867 thanks From unknown Mon Aug 18 11:09:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Sep 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator