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: Strange characters produced by M-x in emacs -nw Date: Tue, 17 Sep 2013 12:51:08 -0400 Organization: Still searching... Message-ID: <87r4cnmlxf.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 1379436718 23325 80.91.229.3 (17 Sep 2013 16:51:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Sep 2013 16:51:58 +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 18:52:01 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 1VLyVM-0008A7-08 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 18:52:00 +0200 Original-Received: from localhost ([::1]:42503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyVL-0001Rm-Mf for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Sep 2013 12:51:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyV3-0001R9-7a for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 12:51:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VLyUv-0002yJ-QF for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 12:51:41 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:59401) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VLyUv-0002y9-Bj for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 12:51:33 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VLyUp-00073w-E7 for help-gnu-emacs@gnu.org; Tue, 17 Sep 2013 18:51:27 +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 ; Tue, 17 Sep 2013 18:51:27 +0200 Original-Received: from reader by z65-50-57-227.ips.direcpath.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Sep 2013 18:51:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 32 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:2J+FlDPJ2cbs1Lc6SCmur5NEqz8= 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:93417 Archived-At: 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 'ø' `M-Shift + !' produces '¡' `M-shift + : produces 'º' What kind of setting is likely to be causing this? ------- --------- ---=--- --------- -------- 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. One further question is how to pass elisp on the command line to be processed by emacs as it starts. emacs -nw file