From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: aurelien@replicant.io (=?utf-8?Q?Aur=C3=A9lien_DESBRI=C3=88RES?=) Newsgroups: gmane.emacs.help Subject: Re: Strange characters produced by M-x in emacs -nw Date: Tue, 17 Sep 2013 19:36:05 +0200 Message-ID: <87txhjuz96.fsf@unicorn.home> References: <87r4cnmlxf.fsf@newsguy.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 1379438690 15070 80.91.229.3 (17 Sep 2013 17:24:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 17:24:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Harry Putnam Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 17 19:24:53 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 1VLz1B-0003sJ-6J for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 19:24:53 +0200 Original-Received: from localhost ([::1]:42734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz1A-0008WC-LP for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 13:24:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz0o-0008OV-OG for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:24:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLz0j-000561-3O for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:24:30 -0400 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:44729) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLz0i-00055R-UB for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 13:24:25 -0400 Original-Received: from mfilter7-d.gandi.net (mfilter7-d.gandi.net [217.70.178.136]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 72CB2A80D2; Tue, 17 Sep 2013 19:24:13 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter7-d.gandi.net Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter7-d.gandi.net (mfilter7-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id lZnp+D50QVSJ; Tue, 17 Sep 2013 19:24:11 +0200 (CEST) X-Originating-IP: 90.37.206.69 Original-Received: from unicorn.home (AMarseille-157-1-111-69.w90-37.abo.wanadoo.fr [90.37.206.69]) (Authenticated sender: aurelien@replicant.io) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 613E0A80B1; Tue, 17 Sep 2013 19:24:10 +0200 (CEST) In-Reply-To: <87r4cnmlxf.fsf@newsguy.com> (Harry Putnam's message of "Tue, 17 Sep 2013 12:51:08 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 217.70.183.195 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:93420 Archived-At: Harry Putnam writes: > Running recent emacs-24 > on Debian Linux > > I don't often use emacs -nw any more and just noticed today that I > have some kind of charset or LANG setting problem that is causing > unusual characters to be printed to my files when using the ALT key > for combos like M-x. > > (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? > > ------- --------- ---=3D--- --------- -------- > > The above problem was uncovered today because I wanted to use > emacs -nw. But also I wanted to make emacs start in message mode by > passing what ever is necessary to do that from the command line. > > emacs -nw -f message-mode file does not set message-mode although if > I insert text-mode rather than message-mode it will start in text-mode. > > How can I cause emacs -nw to start in message-mode from the command > line.=20 > > One further question is how to pass elisp on the command line to be > processed by emacs as it starts. > > emacs -nw file > > > had xterm*metaSendsEscape: true to your ~/.Xresources should correct your trouble. --=20 ______ __ __ __ __ Aur=C3=A9lien DESBRI=C3=88RES __ ____ __ __ __ aurelien@replicant.io __ __ __ ____ __ __ twitter: Think_GNU __ __ __ __ __ __ Run free! Run GNU.ORG _____ __ __ _______