unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Strange behaveur for M-x
@ 2005-03-29 12:34 Anakreon Mendis
  0 siblings, 0 replies; 5+ messages in thread
From: Anakreon Mendis @ 2005-03-29 12:34 UTC (permalink / raw)


Hello all.
This shouldn't be a bug but I can't find a workaround for this strange behaver.
If I press M-x, instead of the minibuffer taking focus, emacs produces a beep.
I can't invoke any command except for those which a key binding exists.
The key bindings which like M-a, M-e produce a beep also.

uname -a:
Linux anakreon 2.4.27-2-386 #1 Thu Jan 20 10:55:08 JST 2005 i686 GNU/Linux

This is a "Debian testing" distribution.
Emacs version: GNU Emacs 21.4.1

If emacs is used outside the X environment, M-x works fine.

A guess is that M-x is never sent to emacs but the xev program produces
the output bellow for M-x

KeyPress event, serial 28, synthetic NO, window 0x800001,
     root 0x3a, subw 0x0, time 6331689, (166,-16), root:(172,11),
     state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
     XLookupString gives 0 bytes:  ""

KeyPress event, serial 28, synthetic NO, window 0x800001,
     root 0x3a, subw 0x0, time 6333198, (166,-16), root:(172,11),
     state 0x8, keycode 53 (keysym 0x78, x), same_screen YES,
     XLookupString gives 1 bytes:  "x"

KeyRelease event, serial 28, synthetic NO, window 0x800001,
     root 0x3a, subw 0x0, time 6333336, (166,-16), root:(172,11),
     state 0x8, keycode 53 (keysym 0x78, x), same_screen YES,
     XLookupString gives 1 bytes:  "x"

Any idea what's going on?

Anakreon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange behaveur for M-x
       [not found] <mailman.501.1112106058.28103.bug-gnu-emacs@gnu.org>
@ 2005-03-29 18:44 ` Heike C. Zimmerer
  2005-03-30 10:16   ` Anakreon Mendis
       [not found]   ` <mailman.624.1112181895.28103.bug-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Heike C. Zimmerer @ 2005-03-29 18:44 UTC (permalink / raw)


Anakreon Mendis <anakreonmejdi@yahoo.gr> writes:

> If I press M-x, instead of the minibuffer taking focus, emacs produces a beep.
> I can't invoke any command except for those which a key binding exists.
> The key bindings which like M-a, M-e produce a beep also.

What does C-h k <your-M-x> report?

> KeyPress event, serial 28, synthetic NO, window 0x800001,
>      root 0x3a, subw 0x0, time 6331689, (166,-16), root:(172,11),
>      state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
                                             ^^^^^ 

You're sure your Alt isn't mapped to A-<whatever> and ESC to
M-<whatever>?  You're running Debian, and at least on mine, they are
mapped like this.

Heike

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange behaveur for M-x
  2005-03-29 18:44 ` Strange behaveur for M-x Heike C. Zimmerer
@ 2005-03-30 10:16   ` Anakreon Mendis
       [not found]   ` <mailman.624.1112181895.28103.bug-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 5+ messages in thread
From: Anakreon Mendis @ 2005-03-30 10:16 UTC (permalink / raw)


Heike C. Zimmerer wrote:
> Anakreon Mendis <anakreonmejdi@yahoo.gr> writes:
> 
> 
>>If I press M-x, instead of the minibuffer taking focus, emacs produces a beep.
>>I can't invoke any command except for those which a key binding exists.
>>The key bindings which like M-a, M-e produce a beep also.
> 
> 
> What does C-h k <your-M-x> report?
> 
A-x is undefined
> 
>>KeyPress event, serial 28, synthetic NO, window 0x800001,
>>     root 0x3a, subw 0x0, time 6331689, (166,-16), root:(172,11),
>>     state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
> 
>                                              ^^^^^ 
> 
> You're sure your Alt isn't mapped to A-<whatever> and ESC to
> M-<whatever>?  You're running Debian, and at least on mine, they are
> mapped like this.
> 
> Heike
Yes the mapping is what you describe. Esc+x works like M-x.
How could I change this?

Anakreon

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange behaveur for M-x
       [not found]   ` <mailman.624.1112181895.28103.bug-gnu-emacs@gnu.org>
@ 2005-04-01 14:25     ` Heike C. Zimmerer
  2005-04-01 16:12       ` Anakreon Mendis
  0 siblings, 1 reply; 5+ messages in thread
From: Heike C. Zimmerer @ 2005-04-01 14:25 UTC (permalink / raw)


Anakreon Mendis <anakreonmejdi@yahoo.gr> writes:

> Heike C. Zimmerer wrote:
>> Alt isn't mapped to A-<whatever> and ESC to
>> M-<whatever>?  You're running Debian, and at least on mine, they are
>> mapped like this.
>> Heike
> Yes the mapping is what you describe. Esc+x works like M-x.
>
> How could I change this?

You might pick one of the solutions described in

 http://www.emacswiki.org/cgi-bin/emacs-en/MetaKeyProblems


HTH,

Heike

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Strange behaveur for M-x
  2005-04-01 14:25     ` Heike C. Zimmerer
@ 2005-04-01 16:12       ` Anakreon Mendis
  0 siblings, 0 replies; 5+ messages in thread
From: Anakreon Mendis @ 2005-04-01 16:12 UTC (permalink / raw)


>>Yes the mapping is what you describe. Esc+x works like M-x.
>>
>>How could I change this?
> 
> 
> You might pick one of the solutions described in
> 
>  http://www.emacswiki.org/cgi-bin/emacs-en/MetaKeyProblems
> 
> 
> HTH,
> 
> Heike
Thanks. An other way I found to solve the M-x problem is this:
(global-set-key  [?\A-x] 'execute-extended-command)

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-04-01 16:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.501.1112106058.28103.bug-gnu-emacs@gnu.org>
2005-03-29 18:44 ` Strange behaveur for M-x Heike C. Zimmerer
2005-03-30 10:16   ` Anakreon Mendis
     [not found]   ` <mailman.624.1112181895.28103.bug-gnu-emacs@gnu.org>
2005-04-01 14:25     ` Heike C. Zimmerer
2005-04-01 16:12       ` Anakreon Mendis
2005-03-29 12:34 Anakreon Mendis

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).