unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* where-is only mentions first key in interval
@ 2012-02-13 15:19 Per Starbäck
  2012-02-13 16:00 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Per Starbäck @ 2012-02-13 15:19 UTC (permalink / raw)
  To: emacs-devel

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.



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

end of thread, other threads:[~2012-02-13 17:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-13 15:19 where-is only mentions first key in interval Per Starbäck
2012-02-13 16:00 ` Stefan Monnier
2012-02-13 16:15   ` Drew Adams
2012-02-13 16:28     ` Per Starbäck
2012-02-13 17:06       ` Drew Adams

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