From unknown Mon Aug 18 08:52:45 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#331 <331@debbugs.gnu.org> To: bug#331 <331@debbugs.gnu.org> Subject: Status: Bug in kmacro.el? Reply-To: bug#331 <331@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:52:45 +0000 retitle 331 Bug in kmacro.el? reassign 331 emacs submitter 331 "Matzi Kratzi" severity 331 normal thanks 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 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). From unknown Mon Aug 18 08:52:45 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 03 Sep 2008 14:24:04 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator