help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange characters produced by M-x in emacs -nw


From: Aurélien DESBRIÈRES
Subject: Re: Strange characters produced by M-x in emacs -nw
Date: Tue, 17 Sep 2013 19:36:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Harry Putnam <reader@newsguy.com> 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   'ø'
> `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 <Syntax for passing elisp> file
>
>
>

had


xterm*metaSendsEscape: true


to your ~/.Xresources

should correct your trouble.


-- 
                            ______   __    __  __   __
Aurélien DESBRIÈRES        __       ____  __  __   __
aurelien@replicant.io     __  __   __  ____  __   __
twitter: Think_GNU       __   __  __    __  __   __
Run free! Run GNU.ORG     _____  __    __  _______



reply via email to

[Prev in Thread] Current Thread [Next in Thread]