GNU bug report logs - #331
Bug in kmacro.el?

Previous Next

Package: emacs;

Reported by: "Matzi Kratzi" <matzikratzi <at> gmail.com>

Date: Wed, 28 May 2008 07:45:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 331 in the body.
You can then email your comments to 331 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#331; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Matzi Kratzi" <matzikratzi <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Matzi Kratzi" <matzikratzi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Bug in kmacro.el?
Date: Wed, 28 May 2008 09:36:14 +0200
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 <at> 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 ("file" 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 <return>
M-> C-x C-e M-< M-x f i n d w <tab> <return> M-x e m
<backspace> <backspace> r e p o r t SPC e m a <tab>
<return>

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 ("file" 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





Reply sent to Chong Yidong <cyd <at> stupidchicken.com>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to "Matzi Kratzi" <matzikratzi <at> gmail.com>:
bug acknowledged by developer. Full text and rfc822 format available.

Message #10 received at 331-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: "Matzi Kratzi" <matzikratzi <at> gmail.com>
Cc: 331-done <at> debbugs.gnu.org
Subject: Re: Bug in kmacro.el?
Date: Tue, 05 Aug 2008 19:00:29 -0400
Thanks.  I've checked in a fix (autoloading kmacro-exec-ring-item, as
you suggested).




bug archived. Request was from Debbugs Internal Request <don <at> donarmstrong.com> to internal_control <at> emacsbugs.donarmstrong.com. (Wed, 03 Sep 2008 14:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 351 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.