unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Dale Snell <ddsnell@frontier.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Strange characters produced by M-x in emacs -nw
Date: Fri, 20 Sep 2013 11:51:59 -0700	[thread overview]
Message-ID: <20130920115159.76e6866c@zothique.localnet> (raw)
In-Reply-To: <87txhfmo5w.fsf@newsguy.com>

On Fri, 20 Sep 2013 12:51:55 -0400
Harry Putnam <reader@newsguy.com> wrote:

> aurelien@replicant.io (Aurélien DESBRIÈRES) writes:
> 
> > Harry Putnam <reader@newsguy.com> writes:
> 
> [...]
> 
> >> (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?
> 
> [...]
> 
> 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:
> 
>   `ø'
> 
> I haven't worked on the other cures yet, but pretty sure changing
> xmodmap will do the job... just wanted to mention that your suggestion
> seems not to work here.
> 
> Env is: Debian Linux running on PC (an older P4) using
> the real xterm... not any of the pretenders.
> 
>  xterm -version
> XTerm(295)

It looks to me like you've got Alt conflated with Meta.  The two
modifiers are NOT the same.  Check .xmodmap / .xmodmaprc to see how X
is set up.  Also, you don't say what desktop manager you're using,
Gnome, LXDE, whatever.  Note that DEs also do keymapping, but
separately from the .xmodmaprc file (and each other).

Just out of curiosity, if you type ESC-x instead of ALT-x, what do you
get?  If things are set up correctly, you should get "M-x " in the
minibuffer, waiting for an extended command.

Anyway, I hope this helps.

--Dale

--
Imagine if every Thursday your shoes exploded if you tied them the usual
way.  This happens to us all the time with computers, and nobody thinks of
complaining.    -- Jeff Raskin



  parent reply	other threads:[~2013-09-20 18:51 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
2013-09-20 16:51   ` Harry Putnam
2013-09-20 17:04     ` Peter Dyballa
2013-09-20 18:51     ` Dale Snell [this message]
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=20130920115159.76e6866c@zothique.localnet \
    --to=ddsnell@frontier.com \
    --cc=help-gnu-emacs@gnu.org \
    /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).