unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Per Starbäck" <per@starback.se>
To: emacs-devel@gnu.org
Subject: where-is only mentions first key in interval
Date: Mon, 13 Feb 2012 16:19:24 +0100	[thread overview]
Message-ID: <CADkQgvtHDwCX2Dm=WY1eqFU+-ZT2EiLJma2VXGYTOu2eK=dbsg@mail.gmail.com> (raw)

I did  C-h w dired-find-file  in dired and was surprised that the
answer

  dired-find-file is on RET, e, <menu-bar> <immediate> <find-file>

didn't include 'f' which also is bound to dired-find-file.

It's because 'e' and 'f' come directly after each other.
'where-is-internal' returns

  ([13] [(101 . 102)] [menu-bar immediate find-file])

which includes the interval e..f (101..102), and then 'where-is' maps
'key-description' on that, and

  (key-description [(101 . 102)]) returns just "e".

Is this a bug or just a misfeature?

With Emacs 22.3 the answer is instead the better

 dired-find-file is on f, e, <menu-bar> <immediate> <find-file>;
  its alias dired-advertised-find-file is on RET

but from Emacs 23 'f' is no longer mentioned. (That includes current
23.4 and current pretest 24.0.93.



             reply	other threads:[~2012-02-13 15:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-13 15:19 Per Starbäck [this message]
2012-02-13 16:00 ` where-is only mentions first key in interval Stefan Monnier
2012-02-13 16:15   ` Drew Adams
2012-02-13 16:28     ` Per Starbäck
2012-02-13 17:06       ` Drew Adams

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='CADkQgvtHDwCX2Dm=WY1eqFU+-ZT2EiLJma2VXGYTOu2eK=dbsg@mail.gmail.com' \
    --to=per@starback.se \
    --cc=emacs-devel@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.
Code repositories for project(s) associated with this public inbox

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

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).