From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dale Snell Newsgroups: gmane.emacs.help Subject: Re: Strange characters produced by M-x in emacs -nw Date: Fri, 20 Sep 2013 11:51:59 -0700 Organization: Organization? Me? ROFL!! Message-ID: <20130920115159.76e6866c@zothique.localnet> References: <87r4cnmlxf.fsf@newsguy.com> <87txhjuz96.fsf@unicorn.home> <87txhfmo5w.fsf@newsguy.com> Reply-To: ddsnell@frontier.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1379703247 19609 80.91.229.3 (20 Sep 2013 18:54:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Sep 2013 18:54:07 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 20 20:54:09 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 1VN5qD-0004dk-3L for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 20:54:09 +0200 Original-Received: from localhost ([::1]:57452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5qC-0008R1-O3 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Sep 2013 14:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46995) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5oL-00087W-SQ for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 14:52:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VN5oF-0008Ij-P0 for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 14:52:13 -0400 Original-Received: from filter04.roch.ny.frontiernet.net ([66.133.183.234]:56756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VN5oF-0008IT-Kw for help-gnu-emacs@gnu.org; Fri, 20 Sep 2013 14:52:07 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by filter04.roch.ny.frontiernet.net (Postfix) with ESMTP id 0B80E24C4DC for ; Fri, 20 Sep 2013 18:52:05 +0000 (UTC) Original-Received: from relay04.roch.ny.frontiernet.net ([66.133.182.167]) by localhost (filter04.roch.ny.frontiernet.net [66.133.183.234]) (amavisd-new, port 10024) with LMTP id mCI0g+-VI7fN for ; Fri, 20 Sep 2013 18:52:01 +0000 (UTC) X-Originating-IP: [50.39.117.237] X-Previous-IP: 50.39.117.237 Original-Received: from zothique.localnet (50-39-117-237.bvtn.or.frontiernet.net [50.39.117.237]) by relay04.roch.ny.frontiernet.net (Postfix) with ESMTPA id C852617CE5 for ; Fri, 20 Sep 2013 18:51:58 +0000 (UTC) In-Reply-To: <87txhfmo5w.fsf@newsguy.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.13; x86_64-redhat-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 66.133.183.234 X-Mailman-Approved-At: Fri, 20 Sep 2013 14:53:57 -0400 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:93475 Archived-At: On Fri, 20 Sep 2013 12:51:55 -0400 Harry Putnam wrote: > aurelien@replicant.io (Aur=C3=A9lien DESBRI=C3=88RES) writes: >=20 > > Harry Putnam writes: >=20 > [...] >=20 > >> (I hope these characters are reproduced in this post) > >> > >> `M-x' produces '=C3=B8' > >> `M-Shift + !' produces '=C2=A1' > >> `M-shift + : produces '=C2=BA' > >> > >> What kind of setting is likely to be causing this? >=20 > [...] >=20 > Aur=C3=A9lien Wrote > > xterm*metaSendsEscape: true > > > > to your ~/.Xresources > > > > should correct your trouble. >=20 > doesn't seem to do a thing here: >=20 > grep 'xterm\*meta' ~/.Xresources >=20 > xterm*metaSendsEscape: true > =20 > Followed by closing down X and restarting with startx. >=20 > but still if I run `emacs -nw' in an xterm: >=20 > And try to press Alt-x, I get this: >=20 > `=C3=B8' >=20 > I haven't worked on the other cures yet, but pretty sure changing > xmodmap will do the job... just wanted to mention that your suggestion > seems not to work here. >=20 > Env is: Debian Linux running on PC (an older P4) using > the real xterm... not any of the pretenders. >=20 > xterm -version > XTerm(295) It looks to me like you've got Alt conflated with Meta. The two modifiers are NOT the same. Check .xmodmap / .xmodmaprc to see how X is set up. Also, you don't say what desktop manager you're using, Gnome, LXDE, whatever. Note that DEs also do keymapping, but separately from the .xmodmaprc file (and each other). Just out of curiosity, if you type ESC-x instead of ALT-x, what do you get? If things are set up correctly, you should get "M-x " in the minibuffer, waiting for an extended command. Anyway, I hope this helps. --Dale -- Imagine if every Thursday your shoes exploded if you tied them the usual way. This happens to us all the time with computers, and nobody thinks of complaining. -- Jeff Raskin