unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Magnus Therning <magnus@therning.org>
To: Bob Bernstein <rosebud@sdf.lonestar.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Meta key for 'emacs -nw'
Date: Tue, 02 Feb 2016 10:14:24 +0100	[thread overview]
Message-ID: <8737tbh3tb.fsf@sobel.cipherstone.com> (raw)
In-Reply-To: <n8pa0m$2fa$1@odin.sdf-eu.org>

[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]


Bob Bernstein writes:

> Emacs, unless specifically told not to do it -- with the 
> '-nw' option, will ordinarily launch here (in an xterm) in X 
> window fashion, and the Meta key is then 'Alt'.
>
> Launched in the same xterm, with '-nw,' emacs uses Esc for 
> its Meta key, which I find um disenchanting, for lack of a 
> better term.
>
> Do I need to place some information in my .emacs, perhaps 
> related to the minibuffer, instructing emacs to stay with Alt 
> for its Meta key? 
>
> Or is this a matter of setting my xterm correctly?
>
> (A thousand pardons if this is a  F A Q.)

For me it works beautifully out of the box in Gnome Terminal, but it
doesn't work in xterm. I'm guessing this means it's something that
should be fixed in the terminal rather than in emacs itself. No?

Maybe you can try this:
https://www.gnu.org/software/emacs/manual/html_node/efaq/Meta-key-does-not-work-in-xterm.html

/M

-- 
Magnus Therning              OpenPGP: 0x927912051716CE39
email: magnus@therning.org   jabber: magnus@therning.org
twitter: magthe               http://therning.org/magnus

You do not examine legislation in the light of the benefits it will
convey if properly administered, but in the light of the wrongs it
would do and the harms it would cause if improperly administered.
     -- Lyndon Johnson

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]

  parent reply	other threads:[~2016-02-02  9:14 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-02  4:06 Meta key for 'emacs -nw' Bob Bernstein
2016-02-02  8:57 ` Yuri Khan
2016-02-02  9:14 ` Magnus Therning [this message]
2016-02-02  9:15 ` Magnus Therning
     [not found] ` <mailman.3406.1454403498.843.help-gnu-emacs@gnu.org>
2016-02-02 14:43   ` HASM
     [not found] ` <mailman.3409.1454404529.843.help-gnu-emacs@gnu.org>
2016-02-02 17:53   ` Bob Bernstein
2016-02-02 23:15 ` Emanuel Berg

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=8737tbh3tb.fsf@sobel.cipherstone.com \
    --to=magnus@therning.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rosebud@sdf.lonestar.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).