From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: Re: keymap display inconsistency in help Date: 07 May 2002 00:03:31 +0200 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: References: <200204261709.g3QH9xL04077@steve.ims.uni-stuttgart.de> <200204290506.g3T566o06170@aztec.santafe.edu> <200205050534.g455YY101619@aztec.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1020773082 17245 127.0.0.1 (7 May 2002 12:04:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 7 May 2002 12:04:42 +0000 (UTC) Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 1753hy-0004U2-00 for ; Tue, 07 May 2002 14:04:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 1753i2-0006pY-00; Tue, 07 May 2002 08:04:46 -0400 Original-Received: from steve.ims.uni-stuttgart.de ([141.58.127.232]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 174z8X-00036l-00 for ; Tue, 07 May 2002 03:11:50 -0400 Original-Received: (from steve@localhost) by steve.ims.uni-stuttgart.de (8.10.2/8.10.2/SuSE Linux 8.10.0-0.3) id g477BgK00961; Tue, 7 May 2002 09:11:42 +0200 X-Authentication-Warning: steve.ims.uni-stuttgart.de: steve set sender to steve@ims.uni-stuttgart.de using -f X-Gnus-Agent-Meta-Information: mail nil Original-To: bug-gnu-emacs@gnu.org In-Reply-To: <200205050534.g455YY101619@aztec.santafe.edu> User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Lines: 45 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:1197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:1197 [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 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