Red Hat Bugzilla – Bug 66898
edit-kbd-macro + C-h l does not work in X
Last modified: 2007-04-18 12:43:15 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020529
Description of problem:
The wonderful feature of being able to turn the last few keystrokes that you
have typed into a keyboard-macro does not work while running emacs in X. It
works with "emacs -nw" running in an xterm, and it works while running emacs in
a VT. It also works in xemacs. But not in emacs under X.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Start emacs
2. Type a few letters into the scratch buffer
3. Hit M-x edit-kbd-macro
4. C-h l
Actual Results: It gives an error message in the minibuffer:
"Wrong type argument: listp, #<frame firstname.lastname@example.org 0x8458288\ >"
Expected Results: It should have brought up the edit-kbd-macro buffer and let
me turn the edit the last 100 keystrokes to fashion a macro out of them.
Works well for me. "emacs -q", then some letters and a enter, then the function
and C-h l
That is interesting. It also works for me when I use "emacs -q". But it does not
work when I use "emacs" as the command to get emacs to start or start it up from
the Gnome application menu on the panel.
This suggests that the bug is somewhere in the default redhat emacs init files.
Did it also work for you without the "-q"?
"-q" only omits your own .emacs.
Hmmm... This is getting quite curious.
I have moved .emacs to another name and even changed .emacs.d to another name.
Yet the problem still persists. It works with "emacs -q" and gives the above
error when invoked as "emacs".
There is no file named default.el anywhere on my system and so by the
documentation, "emacs" and "emacs -q" should be identical. But they aren't.
I have tried it out on both my laptop and desktop and the bug is present on both
systems. Even after renaming .emacs to something else!
I suggest you report this with "report-emacs-bug" - I cannot reproduce it here,
on a vanilla setup.