all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Dan Nicolaescu <dann@ics.uci.edu>
Cc: Leo <sdl.web@gmail.com>, emacs-devel@gnu.org
Subject: Re: Adding xterm-extras to Emacs
Date: Fri, 14 Sep 2007 10:04:57 -0400	[thread overview]
Message-ID: <jwvd4wltkey.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <200709140232.l8E2Wj0A022451@oogie-boogie.ics.uci.edu> (Dan Nicolaescu's message of "Thu\, 13 Sep 2007 19\:32\:45 -0700")

>> However, it S-left and left is the same in 'C-h k', how can I bind them
>> to different commands?
> They are different, you can bind them just fine. I don't remember the
> explanation why is C-h k showing them like that.

C-h k shows the "raw data" as well as the "final event".  It doesn't show
all the intermediate steps.  In this case one of the steps is to turn the
escape sequence into S-left, and another step turns `S-left' into `left'
(because Emacs always tried to unshift a key to find a binding in case
where the shifted version has no binding).

I.e. under X11 where the "raw data" is already a `S-left', C-h k shows:

   <left> (translated from <S-left>) runs the command backward-char


-- Stefan

  parent reply	other threads:[~2007-09-14 14:04 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
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 [this message]
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=jwvd4wltkey.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.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.
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.