all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <steve@ims.uni-stuttgart.de>
Subject: Re: keymap display inconsistency in help
Date: 07 May 2002 00:03:31 +0200	[thread overview]
Message-ID: <m34rhlj5n0.fsf@steve.ims.uni-stuttgart.de> (raw)
In-Reply-To: <200205050534.g455YY101619@aztec.santafe.edu>

[I provided test cases showing that with make-keymap, the *Help*
buffer displays the key bindings is ASCII order, while with
make-sparse-keymap, the *Help* display is in reverse ASCII order:]

>     Typing `M-h f srb-test2-mode' brings up this *Help* buffer:
>     ___________________________________________________________
>     srb-test2-mode is an interactive Lisp function.
>     (srb-test-mode)
> 
>     Major mode to test display of key bindings.
> 
>     key             binding
>     ---             -------
> 
>     d		srb-test-4
>     a		srb-test-1
>     C		srb-test-3
>     B		srb-test-2

Richard Stallman <rms@gnu.org> writes:
> 
> What I get with the latest development version is
> 
>     d		srb-test-4
>     C		srb-test-3
>     B		srb-test-2
>     a		srb-test-1
> 
> which is the reverse of the order they were added.
> 
> Maybe the CVS version differs from 21.2 in this behavior.

I just ran my make-sparse-keymap test case again, and to my
embarrassment and perplexity, I now get this too, and not reverse
ASCII order.  Sorry for the false report.  I don't know what I did
before to get reverse ASCII order, but it was definitely there,
because I pasted it from the *Help* buffer.  I still reproducibly get
ASCII order (not input order) for the make-keymap test case.  So the
display inconsistency remains.  I'm curious why make-keymap and
make-sparse-keymap differ in this respect (as well as others, as I've
recently learned).  Are there efficiency or other reasons?  (I tried
looking at keymap.c but I'm not fluent enough in the Emacs source code
to see what's going on on my own.)

--Steve Berman

  reply	other threads:[~2002-05-06 22:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-26 17:09 keymap display inconsistency in help Stephen Berman
2002-04-29  5:06 ` Richard Stallman
2002-04-29 19:42   ` Kevin Rodgers
2002-05-01 11:27     ` Stephen Berman
2002-05-05  5:34       ` Richard Stallman
2002-05-06 22:03         ` Stephen Berman [this message]
2002-05-07 14:21           ` Miles Bader
2002-05-08 13:59             ` Richard Stallman
2002-04-29 13:43 ` Stefan Monnier

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=m34rhlj5n0.fsf@steve.ims.uni-stuttgart.de \
    --to=steve@ims.uni-stuttgart.de \
    /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.