From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Strange characters produced by M-x in emacs -nw Date: Fri, 27 Sep 2013 18:04:05 -0400 Organization: Still searching... Message-ID: <87fvspexbe.fsf@newsguy.com> References: <87r4cnmlxf.fsf@newsguy.com> <87txhjuz96.fsf@unicorn.home> <87txhfmo5w.fsf@newsguy.com> 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 1380319475 20228 80.91.229.3 (27 Sep 2013 22:04:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Sep 2013 22:04:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 28 00:04:38 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 1VPg9N-0001FJ-8b for geh-help-gnu-emacs@m.gmane.org; Sat, 28 Sep 2013 00:04:37 +0200 Original-Received: from localhost ([::1]:38745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPg9M-0001pj-Rr for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Sep 2013 18:04:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPg97-0001ln-5l for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 18:04:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VPg91-0005Xb-FE for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 18:04:21 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VPg91-0005Wo-8Q for help-gnu-emacs@gnu.org; Fri, 27 Sep 2013 18:04:15 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VPg90-0000ru-7B for help-gnu-emacs@gnu.org; Sat, 28 Sep 2013 00:04:14 +0200 Original-Received: from z65-50-57-227.ips.direcpath.com ([65.50.57.227]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 00:04:14 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 28 Sep 2013 00:04:14 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: z65-50-57-227.ips.direcpath.com User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.0.92 (gnu/linux) Cancel-Lock: sha1:MqR5zi3DVhHvR13k1GiY35Ed+54= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:93675 Archived-At: Harry Putnam writes: [...] > Aurélien Wrote >> xterm*metaSendsEscape: true >> >> to your ~/.Xresources >> >> should correct your trouble. > > doesn't seem to do a thing here: > > grep 'xterm\*meta' ~/.Xresources > > xterm*metaSendsEscape: true > > Followed by closing down X and restarting with startx. > > but still if I run `emacs -nw' in an xterm: > > And try to press Alt-x, I get this: > > `ø' This might be interesting to anyone who followed this thread. I posted my problem on gmane.comp.freedesktop.xorg. It resulted in this 2 msg thread. http://thread.gmane.org/gmane.comp.freedesktop.xorg/49490 Briefly put, Troy K, had this to say: ,---- | Edit ${HOME}/XTerm and add the following lines: | *vt100.altIsNotMeta: true | *vt100.altSendsEscape: true | | Then start a new xterm. `---- It worked here... No more mystery char when pressing ALT +