From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: M-x is undefined Date: Mon, 12 Jun 2006 20:23:28 +1000 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <87bqsysme7.fsf@tiger.rapttech.com.au> References: <768a59a70606101649u5c610758p262de046e650aef2@mail.gmail.com> <87pshgtd3w.fsf@free.fr> <768a59a70606110111o251c03ceu8af9315d9bf30c7b@mail.gmail.com> <87ac8jp1lj.fsf@tiger.rapttech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1150108832 31548 80.91.229.2 (12 Jun 2006 10:40:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Jun 2006 10:40:32 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 12 12:40:31 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FpjqN-000752-H0 for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jun 2006 12:40:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FpjqN-0006rH-0P for geh-help-gnu-emacs@m.gmane.org; Mon, 12 Jun 2006 06:40:27 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!sn-xt-sjc-02!sn-xt-sjc-01!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:AsdQ6ULEbvep9jbyP8IL4tukVXs= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 84 Original-Xref: shelby.stanford.edu gnu.emacs.help:139780 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35404 Archived-At: "l l" 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 : >> "l l" 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