Bug 66898 - edit-kbd-macro + C-h l does not work in X
Summary: edit-kbd-macro + C-h l does not work in X
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: emacs
Version: 7.3
Hardware: i686
OS: Linux
Target Milestone: ---
Assignee: Trond Eivind Glomsrxd
QA Contact: Aaron Brown
Depends On:
TreeView+ depends on / blocked
Reported: 2002-06-18 07:58 UTC by Need Real Name
Modified: 2007-04-18 16:43 UTC (History)
0 users

Clone Of:
Last Closed: 2002-06-18 21:28:08 UTC

Attachments (Terms of Use)

Description Need Real Name 2002-06-18 07:58:15 UTC
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):

How reproducible:

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 emacs@localhost.localdomain 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.

Additional info:

Comment 1 Trond Eivind Glomsrxd 2002-06-18 18:54:06 UTC
Works well for me. "emacs -q", then some letters and a enter, then the function
and C-h l

Comment 2 Need Real Name 2002-06-18 19:24:54 UTC
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"?

Comment 3 Trond Eivind Glomsrxd 2002-06-18 19:49:34 UTC
"-q" only omits your own .emacs.

Comment 4 Need Real Name 2002-06-18 21:28:02 UTC
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!

Comment 5 Trond Eivind Glomsrxd 2002-06-18 23:01:55 UTC
I suggest you report this with "report-emacs-bug" - I cannot reproduce it here,
on a vanilla setup.

Note You need to log in before you can comment on or make changes to this bug.