all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Adding xterm-extras to Emacs
Date: Sat, 13 Oct 2007 11:37:13 +0100	[thread overview]
Message-ID: <m2wstr5mhy.fsf@cam.ac.uk> (raw)
In-Reply-To: <jwvfy0g73zg.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Fri, 12 Oct 2007 12:18:38 -0400")

On 2007-10-12 17:18 +0100, Stefan Monnier wrote:
>>>> However, Alt+Ctrl+Right is shown as "<C-M-right>" but not "<C-A-right>"
>>>> while Alt+Right is shown as "<A-right>" but not <M-right>. You can see
>>>> they are _INCONSISTENT_.
>>> 
>>> Can you check C-h l as well to see if Alt+Ctrl+Right sends ESC followed by
>>> the escape sequence for Ctrl+Right and if Alr+Right does the same.
>>> If not, then the inconsistency is in xterm and should be reported there
>>> (after reporting there, we may also decide to workaround the problem in
>>> Emacs by binding those escape sequences to M-right instead).
>
>> Yes, it looks like Alt+Ctrl+Right and Alt+Right send ESC.
>
>> Alt+Ctrl+Right  ^[[1;7C
>> Alt+Right       ^[[1;3C
>
> You mean "it looks like they *don't*"!  The ESC you see are the first char
> of an escape sequence, not standalone ESC characters.
>
> What "metaSendsEscape" is supposed to do is to turn Alt+A into ESC A, so if
> Right sends ^[[C (aka ESC [ C), then Alt+Right should send ^[^[[C (aka ESC
> ESC [ C).  Please report this as a feature request to xterm's maintainers.
>
> But looking at lisp/xterm.el now I see that we indeed inconsistently map
> things to S-M-foo but A-foo, so the inconsistency is our fault and should be
> corrected with the patch below,

I have updated xterm.el to the latest and now Alt+Right is recognized as
<M-right> etc.

Do you still think that xterm is missing the feature?

>         Stefan
[...]

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

       Use the most powerful email client -- http://gnus.org/

  reply	other threads:[~2007-10-13 10:37 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-12 22:03 Adding xterm-extras to Emacs Leo
2007-06-12 22:21 ` Dan Nicolaescu
2007-06-12 22:31   ` Leo
2007-06-12 22:43     ` Dan Nicolaescu
2007-06-12 23:32       ` Leo
2007-06-13  0:47         ` Dan Nicolaescu
2007-06-13  0:56           ` Leo
2007-06-13  3:52             ` Dan Nicolaescu
2007-06-13 10:54               ` Johan Bockgård
2007-06-13 13:22                 ` Dan Nicolaescu
2007-06-13 16:18                   ` Johan Bockgård
2007-06-13 19:09                     ` Dan Nicolaescu
2007-06-13  7:08           ` csant
2007-06-13 13:33             ` Dan Nicolaescu
2007-06-13 19:18               ` csant
2007-06-13  9:43           ` Peter Heslin
2007-06-13 14:15             ` Dan Nicolaescu
2007-06-13 15:31               ` Stefan Monnier
2007-06-14  5:08                 ` Dan Nicolaescu
2007-09-13 16:40                   ` Leo
2007-09-13 16:58                     ` Dan Nicolaescu
2007-09-13 19:49                       ` Leo
2007-09-14  1:02                         ` Dan Nicolaescu
2007-09-14  1:20                           ` Leo
2007-09-14  1:30                             ` Dan Nicolaescu
2007-09-14  1:47                               ` Leo
2007-09-14  2:32                                 ` Dan Nicolaescu
2007-09-14  8:02                                   ` Leo
2007-09-14 16:38                                     ` Dan Nicolaescu
2007-09-14 22:29                                       ` Leo
2007-09-15  0:32                                         ` Dan Nicolaescu
2007-09-21 10:15                                           ` Leo
2007-09-21 13:51                                             ` Dan Nicolaescu
2007-10-11 16:26                                               ` Leo
2007-10-11 17:08                                                 ` Dan Nicolaescu
2007-10-11 17:39                                                   ` Leo
2007-10-11 17:42                                                 ` Stefan Monnier
2007-10-11 17:48                                                   ` Leo
2007-10-11 20:12                                                     ` Stefan Monnier
2007-10-11 20:27                                                       ` Leo
2007-10-12  1:11                                                         ` Stefan Monnier
2007-10-12  7:18                                                           ` Leo
2007-10-12 16:18                                                             ` Stefan Monnier
2007-10-13 10:37                                                               ` Leo [this message]
2007-10-13 10:45                                                   ` Leo
2007-09-15  1:27                                         ` Stefan Monnier
2007-09-21 10:11                                           ` Leo
2007-09-21 10:22                                             ` Andreas Schwab
2007-09-21 10:33                                               ` Leo
2007-09-21 11:23                                                 ` Andreas Schwab
2007-09-14 14:04                                   ` Stefan Monnier
2007-09-14 14:13                                     ` Andreas Schwab

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

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

  git send-email \
    --in-reply-to=m2wstr5mhy.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
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.