From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: Strange characters produced by M-x in emacs -nw Date: Tue, 17 Sep 2013 22:42:57 +0200 Organization: Informatimago Message-ID: <87d2o76uy6.fsf@informatimago.com> References: <87r4cnmlxf.fsf@newsguy.com> <5D24468E-2A38-4F4C-AD14-9A1401683124@Web.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1379450718 320 80.91.229.3 (17 Sep 2013 20:45:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 20:45:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 17 22:45:22 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VM299-0006W3-Oc for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 22:45:19 +0200 Original-Received: from localhost ([::1]:43338 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VM299-0008Bp-CL for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 16:45:19 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 76 Original-X-Trace: individual.net jeu9vbZLgoMUAI99KgtqJQNdEfuJsI8Nm5WnflXyVbbMaZQmhb Cancel-Lock: sha1:YTBkODFlNzA5MWU0Yzk4NGY0NzAxNTk4ODU5OWZiM2JjNmQ1YmI4MA== sha1:u5/+xYw9MSWPBE2XpUcdmWQDufM= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:201159 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93428 Archived-At: aurelien@replicant.io (Aurélien DESBRIÈRES) writes: > Peter Dyballa writes: > >> Am 17.09.2013 um 18:51 schrieb Harry Putnam: >> >>> `M-x' produces 'ø' >>> `M-Shift + !' produces '¡' >>> `M-shift + : produces 'º' >> >> No! It's not M-x but certainly Alt-x. >> >> -- >> Greetings >> >> Pete >> >> Increase the size of your bike by at least *five* inches! >> >> >> > > M == Alt That's indeed the problem. > M-x == Alt+x > C-x == Ctrl+x > > C-h i == Ctrl + h then hit i To solve it, you have to break the connection between the key Alt and the emacs modifier M-. For example, you could have in your ~/.emacs, amongst the rest, something like (keycode specific to my keyboard): ! … keycode 37 = Multi_key keycode 133 = Alt_L keycode 64 = Meta_L keycode 65 = space space digitspace digitspace keycode 108 = Meta_R keycode 134 = Mode_switch keycode 135 = Hyper_R keycode 105 = Control_R ! … clear Shift clear Lock clear Control clear Mod1 clear Mod2 clear Mod3 clear Mod4 clear Mod5 ! In order of bits: add Shift = Shift_L Shift_R add Lock = Caps_Lock add Control = Control_L Control_R add Mod1 = Num_Lock add Mod2 = Alt_L Alt_R Mode_switch add Mod3 = Meta_L Meta_R add Mod4 = Super_L Super_R add Mod5 = Hyper_L Hyper_R -- __Pascal Bourguignon__ http://www.informatimago.com/