unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tim X <timx@nospam.dev.null>
Subject: Re: M-x is undefined
Date: Mon, 12 Jun 2006 20:23:28 +1000	[thread overview]
Message-ID: <87bqsysme7.fsf@tiger.rapttech.com.au> (raw)
In-Reply-To: mailman.2837.1150101855.9609.help-gnu-emacs@gnu.org

"l l" <happyarch@gmail.com> writes:

> There is no problem in config.log,i guess this isn't configuration
> level problem.
>
> AISB, my GUI is just too latest,also guess emacs GUI developer doesn't
> consider gtk or glib newer features api level, my crappy guessing..
>
> tia
>
> 2006/6/11, Tim X <timx@nospam.dev.null>:
>> "l l" <happyarch@gmail.com> writes:
>>
>> > OOPS! Sorry!! this is NOT a emacs bug!!
>> >
>> > my emacs-cvs version works fine with --without-x!!!
>> > I guess my gnome version(garnome-2.14.2.1) or Xorg(7.0 which is too buggy)
>> is
>> > too latest!!
>> >
>> > Thanks it works again! Yay!
>> >
>>
>> It may not be a bug, but a config issue. Have a look in the emacs
>> PROBLEMS file as it discusses how to configure X so that alt is
>> recognised as meta.
>>
>> Tim
>>
>> --
>> tcross (at) rapttech dot com dot au
>> _______________________________________________
>> help-gnu-emacs mailing list
>> help-gnu-emacs@gnu.org
>> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>>
>
>

Actually, I was referring to either the X windows configuration of
keymaps or how emacs has been configured. It is not unknown for Linux
distributions to modify emacs to enable the alt key to work as meta.
Also, some window managers can "hide" keys from applications by
mapping them to some special winow manager function.

The following is from the Emacs PROBLEMS file and is the best first
place to look when you notice unexpected behavior (together with the
NEWS file) when running a new emacs version. 

=====================================================================
*** GNU/Linux: After upgrading to a newer version of Emacs,
the Meta key stops working.

This was reported to happen on a GNU/Linux system distributed by
Mandrake.  The reason is that the previous version of Emacs was
modified by Mandrake to make the Alt key act as the Meta key, on a
keyboard where the Windows key is the one which produces the Meta
modifier.  A user who started using a newer version of Emacs, which
was not hacked by Mandrake, expected the Alt key to continue to act as
Meta, and was astonished when that didn't happen.

The solution is to find out what key on your keyboard produces the Meta
modifier, and use that key instead.  Try all of the keys to the left
and to the right of the space bar, together with the `x' key, and see
which combination produces "M-x" in the echo area.  You can also use
the `xmodmap' utility to show all the keys which produce a Meta
modifier:

         xmodmap -pk | egrep -i "meta|alt"

A more convenient way of finding out which keys produce a Meta modifier
is to use the `xkbprint' utility, if it's available on your system:

         xkbprint 0:0 /tmp/k.ps

This produces a PostScript file `/tmp/k.ps' with a picture of your
keyboard; printing that file on a PostScript printer will show what
keys can serve as Meta.

The `xkeycaps' also shows a visual representation of the current
keyboard settings.  It also allows to modify them.

-- 
tcross (at) rapttech dot com dot au

  parent reply	other threads:[~2006-06-12 10:23 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-10 23:49 M-x is undefined l l
2006-06-11  6:34 ` raloupower
2006-06-11  8:11   ` l l
2006-06-11  9:47     ` l l
     [not found]     ` <mailman.2834.1150019289.9609.help-gnu-emacs@gnu.org>
2006-06-12  2:08       ` Tim X
2006-06-12  8:44         ` l l
     [not found]         ` <mailman.2837.1150101855.9609.help-gnu-emacs@gnu.org>
2006-06-12 10:23           ` Tim X [this message]
     [not found] ` <mailman.2832.1150007613.9609.help-gnu-emacs@gnu.org>
2006-06-12  2:05   ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bqsysme7.fsf@tiger.rapttech.com.au \
    --to=timx@nospam.dev.null \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).