unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: aurelien@replicant.io (Aurélien DESBRIÈRES)
To: Harry Putnam <reader@newsguy.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Strange characters produced by M-x in emacs -nw
Date: Tue, 17 Sep 2013 19:36:05 +0200	[thread overview]
Message-ID: <87txhjuz96.fsf@unicorn.home> (raw)
In-Reply-To: <87r4cnmlxf.fsf@newsguy.com> (Harry Putnam's message of "Tue, 17 Sep 2013 12:51:08 -0400")


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     _____  __    __  _______



  parent reply	other threads:[~2013-09-17 17:36 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-17 16:51 Strange characters produced by M-x in emacs -nw Harry Putnam
2013-09-17 17:10 ` Tim Visher
2013-09-17 17:36 ` Aurélien DESBRIÈRES [this message]
2013-09-20 16:51   ` Harry Putnam
2013-09-20 17:04     ` Peter Dyballa
2013-09-20 18:51     ` Dale Snell
2013-09-20 20:27       ` Harry Putnam
2013-09-27 22:04     ` Harry Putnam
2013-09-17 18:46 ` Peter Dyballa
2013-09-17 19:30   ` Aurélien DESBRIÈRES
2013-09-17 20:11     ` Peter Dyballa
2013-09-18  6:14       ` Eli Zaretskii
2013-09-18  8:29         ` Peter Dyballa
     [not found]   ` <mailman.2346.1379445532.10748.help-gnu-emacs@gnu.org>
2013-09-17 20:42     ` Pascal J. Bourguignon
2013-09-17 21:11       ` Peter Dyballa
     [not found]       ` <mailman.2350.1379452281.10748.help-gnu-emacs@gnu.org>
2013-09-17 23:51         ` Pascal J. Bourguignon
2013-09-20 16:27   ` Harry Putnam
2013-09-20 17:28     ` Bob Proulx
2013-09-20 20:21       ` Harry Putnam
2013-09-20 21:08         ` Stefan Monnier
2013-09-20 22:15           ` Harry Putnam
2013-09-21  2:53             ` Stefan Monnier
2013-09-21 15:20               ` Harry Putnam
2013-09-21 18:06                 ` Peter Dyballa
2013-09-21 19:23                   ` W. Greenhouse
     [not found]         ` <mailman.2606.1379711320.10748.help-gnu-emacs@gnu.org>
2013-09-20 21:55           ` Pascal J. Bourguignon
2013-09-20 22:16             ` Harry Putnam
2013-09-21 10:06               ` Pascal J. Bourguignon
2013-09-21 15:24                 ` Harry Putnam
     [not found]                 ` <mailman.2655.1379777078.10748.help-gnu-emacs@gnu.org>
2013-09-21 16:14                   ` Pascal J. Bourguignon
2013-09-21 16:55                     ` Harry Putnam
2013-09-20 20:22       ` Harry Putnam
     [not found]   ` <mailman.2579.1379695386.10748.help-gnu-emacs@gnu.org>
2013-09-20 21:54     ` Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87txhjuz96.fsf@unicorn.home \
    --to=aurelien@replicant.io \
    --cc=help-gnu-emacs@gnu.org \
    --cc=reader@newsguy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).