all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs 23.1 meta not working in -nw mode
@ 2009-08-12 23:40 Neil Baylis
  2009-08-12 23:55 ` Neil Baylis
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Baylis @ 2009-08-12 23:40 UTC (permalink / raw
  To: help-gnu-emacs

I'm using emacs 23.1.1 on an Ubuntu system. It works fine using the
GUI. When I run it as emacs -nw, I find the meta key doesn't work
properly. Instead, it self-inserts something. Using ESC still works,
but I would like my meta back. (It worked before I upgraded to 23.1.1.
Prior to that, I had been using Ubuntu emacs snapshot, which was
23.something).

This is only on one particular system. I have another similar system,
and on that one, emacs -nw works as expected.

I'm imagining I've done something to bork up the input on this one,
but not sure how to find out what's wrong.

Any ideas on how to debug this would be greatly appreciated..

Thanks,

Neil


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.1 meta not working in -nw mode
  2009-08-12 23:40 emacs 23.1 meta not working in -nw mode Neil Baylis
@ 2009-08-12 23:55 ` Neil Baylis
  2009-08-13  6:06   ` Teemu Likonen
  0 siblings, 1 reply; 4+ messages in thread
From: Neil Baylis @ 2009-08-12 23:55 UTC (permalink / raw
  To: help-gnu-emacs

On Aug 12, 4:40 pm, Neil Baylis <neil.bay...@gmail.com> wrote:
> I'm using emacs 23.1.1 on an Ubuntu system. It works fine using the
> GUI. When I run it as emacs -nw, I find the meta key doesn't work
> properly. Instead, it self-inserts something. Using ESC still works,
> but I would like my meta back. (It worked before I upgraded to 23.1.1.
> Prior to that, I had been using Ubuntu emacs snapshot, which was
> 23.something).
>
> This is only on one particular system. I have another similar system,
> and on that one, emacs -nw works as expected.
>
> I'm imagining I've done something to bork up the input on this one,
> but not sure how to find out what's wrong.
>
> Any ideas on how to debug this would be greatly appreciated..
>
> Thanks,
>
> Neil

More info: it's specific to xterm. If I run it in the gnome-terminal,
it works OK. In both cases, $TERM is set to xterm-color.

Neil


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.1 meta not working in -nw mode
  2009-08-12 23:55 ` Neil Baylis
@ 2009-08-13  6:06   ` Teemu Likonen
  2009-08-13 18:22     ` Neil Baylis
  0 siblings, 1 reply; 4+ messages in thread
From: Teemu Likonen @ 2009-08-13  6:06 UTC (permalink / raw
  To: help-gnu-emacs

On 2009-08-12 16:55 (-0700), Neil Baylis wrote:
> On Aug 12, 4:40 pm, Neil Baylis <neil.bay...@gmail.com> wrote:
>> I'm using emacs 23.1.1 on an Ubuntu system. It works fine using the
>> GUI. When I run it as emacs -nw, I find the meta key doesn't work
>> properly. Instead, it self-inserts something.

> More info: it's specific to xterm. If I run it in the gnome-terminal,
> it works OK. In both cases, $TERM is set to xterm-color.

Yes, this is about XTerm and not about Emacs at all. Start XTerm with
option

    -xrm "XTerm.*.metaSendsEscape: true"

or put that X resource in your ~/.Xresources file, like this:

    XTerm.*.metaSendsEscape: true


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: emacs 23.1 meta not working in -nw mode
  2009-08-13  6:06   ` Teemu Likonen
@ 2009-08-13 18:22     ` Neil Baylis
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Baylis @ 2009-08-13 18:22 UTC (permalink / raw
  To: help-gnu-emacs

On Aug 12, 11:06 pm, Teemu Likonen <tliko...@iki.fi> wrote:
> On 2009-08-12 16:55 (-0700), Neil Baylis wrote:
>
> > On Aug 12, 4:40 pm, Neil Baylis <neil.bay...@gmail.com> wrote:
> >> I'm using emacs 23.1.1 on an Ubuntu system. It works fine using the
> >> GUI. When I run it as emacs -nw, I find the meta key doesn't work
> >> properly. Instead, it self-inserts something.
> > More info: it's specific to xterm. If I run it in the gnome-terminal,
> > it works OK. In both cases, $TERM is set to xterm-color.
>
> Yes, this is about XTerm and not about Emacs at all. Start XTerm with
> option
>
>     -xrm "XTerm.*.metaSendsEscape: true"
>
> or put that X resource in your ~/.Xresources file, like this:
>
>     XTerm.*.metaSendsEscape: true

Excellent, that did the trick. Thank you.

Neil


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-13 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-12 23:40 emacs 23.1 meta not working in -nw mode Neil Baylis
2009-08-12 23:55 ` Neil Baylis
2009-08-13  6:06   ` Teemu Likonen
2009-08-13 18:22     ` Neil Baylis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.