From unknown Sun Aug 17 00:59:06 2025 X-Loop: don@donarmstrong.com Subject: bug#331: Bug in kmacro.el? Reply-To: "Matzi Kratzi" , 331@debbugs.gnu.org Resent-From: "Matzi Kratzi" Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 28 May 2008 07:45:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 331 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121196019511449 (code B ref -1); Wed, 28 May 2008 07:45:04 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 May 2008 07:36:35 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4S7aW7t011443 for ; Wed, 28 May 2008 00:36:33 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1GD1-0001Xa-Cd for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1GCy-0001Uo-D2 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Received: from [199.232.76.173] (port=56641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1GCy-0001UW-4b for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Received: from yw-out-1718.google.com ([74.125.46.155]:29597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1GCx-00028K-I5 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:27 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1563976ywk.66 for ; Wed, 28 May 2008 00:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=6kdNk9Yz+3F9opL1oHaQq3mftGX98TWA7vBQQ0goQU8=; b=djGm2Rx1oUIRRfGT0f3DHjsaKyfLYPSHbOezcXbo2pnbCuYUsD8A8BcjS2RacN+scYdLqptaLeMzbjXmj+hDwQtX+jrJW8rxRMQYy7t5SMMtrcl87sb6C9eGrojRg/Aw5ebKHqJ6JjOa+ITVGN908zUNVjP9yOSS6i2IMucDfMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eqX4bgHuZ03733U4JUC2DgmHzTyZ56XaMGcJ4253h9Pjsqm9KKHSD3sTH6EbYedPfg7uFIAfS7wxo6R33LlrQgHyg8dHnGgZDSm2FJSEOADfVbW7Qk5PeElcAgtggru2CVRj24EZwUn2kuIw0c0yPXtqne87eP06jsScToKhqsk= Received: by 10.151.141.16 with SMTP id t16mr3831692ybn.50.1211960174499; Wed, 28 May 2008 00:36:14 -0700 (PDT) Received: by 10.150.151.21 with HTTP; Wed, 28 May 2008 00:36:14 -0700 (PDT) Message-ID: <7f9b11c90805280036u7daaf64bvc9c535b3788c379f@mail.gmail.com> Date: Wed, 28 May 2008 09:36:14 +0200 From: "Matzi Kratzi" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: I have saved a macro in one instance of emacs in the file c:\temp\fwf.el and then started a new instance of emacs, loaded the file and evaluated the resulting lisp. The lisp looks like this: (fset 'findwordfile (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg))) When trying to use the macro, I get this in my minibuffer: findwordfile: Symbol's function definition is void: kmacro-exec-ring-item If I put (require 'kmacro) at the beginning of my file containing macros it works. Is there a missing autoload before this line? (defun kmacro-exec-ring-item (item arg) Thanks for your work. /Mats 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 c:/ProgramFiles/emacs-22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i386-mingw-nt5.0.2195) of 2008-03-26 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.0.2195 configured using `configure --with-gcc (3.4)' 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: SVE locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: 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-x C-f C-a C-k c : / t e m p / f w f . e l M-> C-x C-e M-< M-x f i n d w M-x e m r e p o r t SPC e m a Recent messages: Loading encoded-kb...done For information about GNU Emacs and the GNU system, type C-h C-a. fwf.el has auto save data; consider M-x recover-this-file Mark set (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg)) Mark set findwordfile: Symbol's function definition is void: kmacro-exec-ring-item Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done From unknown Sun Aug 17 00:59:06 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Matzi Kratzi" Subject: bug#331 closed by Chong Yidong (Re: Bug in kmacro.el?) Message-ID: References: <87hc9zxe2a.fsf@stupidchicken.com> <7f9b11c90805280036u7daaf64bvc9c535b3788c379f@mail.gmail.com> X-Emacs-PR-Message: they-closed 331 X-Emacs-PR-Package: emacs Reply-To: 331@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1217977809-519-1" This is a multi-part message in MIME format... ------------=_1217977809-519-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #331: Bug in kmacro.el? It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D331 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1217977809-519-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Tue Aug 5 16:00:05 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 331-done) by emacsbugs.donarmstrong.com; 5 Aug 2008 23:00:06 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m75N02Ac029108 for <331-done@emacsbugs.donarmstrong.com>; Tue, 5 Aug 2008 16:00:03 -0700 Received: by cyd (Postfix, from userid 1000) id 027C957E338; Tue, 5 Aug 2008 19:00:30 -0400 (EDT) From: Chong Yidong To: "Matzi Kratzi" Cc: 331-done@debbugs.gnu.org Subject: Re: Bug in kmacro.el? Date: Tue, 05 Aug 2008 19:00:29 -0400 Message-ID: <87hc9zxe2a.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Thanks. I've checked in a fix (autoloading kmacro-exec-ring-item, as you suggested). ------------=_1217977809-519-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From matzikratzi@gmail.com Wed May 28 00:36:35 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-4.9 required=4.0 tests=BAYES_00,FOURLA, RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 May 2008 07:36:35 +0000 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4S7aW7t011443 for ; Wed, 28 May 2008 00:36:33 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1GD1-0001Xa-Cd for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1GCy-0001Uo-D2 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Received: from [199.232.76.173] (port=56641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1GCy-0001UW-4b for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:28 -0400 Received: from yw-out-1718.google.com ([74.125.46.155]:29597) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1GCx-00028K-I5 for bug-gnu-emacs@gnu.org; Wed, 28 May 2008 03:36:27 -0400 Received: by yw-out-1718.google.com with SMTP id 9so1563976ywk.66 for ; Wed, 28 May 2008 00:36:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=6kdNk9Yz+3F9opL1oHaQq3mftGX98TWA7vBQQ0goQU8=; b=djGm2Rx1oUIRRfGT0f3DHjsaKyfLYPSHbOezcXbo2pnbCuYUsD8A8BcjS2RacN+scYdLqptaLeMzbjXmj+hDwQtX+jrJW8rxRMQYy7t5SMMtrcl87sb6C9eGrojRg/Aw5ebKHqJ6JjOa+ITVGN908zUNVjP9yOSS6i2IMucDfMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eqX4bgHuZ03733U4JUC2DgmHzTyZ56XaMGcJ4253h9Pjsqm9KKHSD3sTH6EbYedPfg7uFIAfS7wxo6R33LlrQgHyg8dHnGgZDSm2FJSEOADfVbW7Qk5PeElcAgtggru2CVRj24EZwUn2kuIw0c0yPXtqne87eP06jsScToKhqsk= Received: by 10.151.141.16 with SMTP id t16mr3831692ybn.50.1211960174499; Wed, 28 May 2008 00:36:14 -0700 (PDT) Received: by 10.150.151.21 with HTTP; Wed, 28 May 2008 00:36:14 -0700 (PDT) Message-ID: <7f9b11c90805280036u7daaf64bvc9c535b3788c379f@mail.gmail.com> Date: Wed, 28 May 2008 09:36:14 +0200 From: "Matzi Kratzi" To: bug-gnu-emacs@gnu.org Subject: Bug in kmacro.el? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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: I have saved a macro in one instance of emacs in the file c:\temp\fwf.el and then started a new instance of emacs, loaded the file and evaluated the resulting lisp. The lisp looks like this: (fset 'findwordfile (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg))) When trying to use the macro, I get this in my minibuffer: findwordfile: Symbol's function definition is void: kmacro-exec-ring-item If I put (require 'kmacro) at the beginning of my file containing macros it works. Is there a missing autoload before this line? (defun kmacro-exec-ring-item (item arg) Thanks for your work. /Mats 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 c:/ProgramFiles/emacs-22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i386-mingw-nt5.0.2195) of 2008-03-26 on RELEASE Windowing system distributor `Microsoft Corp.', version 5.0.2195 configured using `configure --with-gcc (3.4)' 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: SVE locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: 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-x C-f C-a C-k c : / t e m p / f w f . e l M-> C-x C-e M-< M-x f i n d w M-x e m r e p o r t SPC e m a Recent messages: Loading encoded-kb...done For information about GNU Emacs and the GNU system, type C-h C-a. fwf.el has auto save data; consider M-x recover-this-file Mark set (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ("=13file" 0 "%d")) arg)) Mark set findwordfile: Symbol's function definition is void: kmacro-exec-ring-item Loading emacsbug... Loading regexp-opt...done Loading emacsbug...done ------------=_1217977809-519-1--