From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jason Eisner Newsgroups: gmane.emacs.bugs Subject: bindings displayed by describe-mode do not reflect minor mode overrides Date: Tue, 01 Feb 2005 07:24:31 -0500 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1107262557 6864 80.91.229.2 (1 Feb 2005 12:55:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 12:55:57 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 13:55:57 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CvxZD-0000Xz-LR for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 13:55:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvxlV-0005TS-Sj for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Feb 2005 08:08:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvxgI-0003Bm-Dv for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2005 08:02:58 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvxfL-0002zO-Jz for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2005 08:02:00 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvxeM-0002Mk-8M for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2005 08:00:58 -0500 Original-Received: from [206.46.170.133] (helo=out010.verizon.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Cvx58-0004qy-RT for bug-gnu-emacs@gnu.org; Tue, 01 Feb 2005 07:24:35 -0500 Original-Received: from tree.cs.jhu.edu ([70.17.192.164]) by out010.verizon.net (InterMail vM.5.01.06.06 201-253-122-130-106-20030910) with ESMTP id <20050201122432.HFAQ25119.out010.verizon.net@tree.cs.jhu.edu> for ; Tue, 1 Feb 2005 06:24:32 -0600 Original-Received: from tree.cs.jhu.edu (tree.cs.jhu.edu [127.0.0.1]) by tree.cs.jhu.edu (8.12.11/8.12.11) with ESMTP id j11COVUp004864 for ; Tue, 1 Feb 2005 07:24:31 -0500 Original-Received: (from jason@localhost) by tree.cs.jhu.edu (8.12.11/8.12.11/Submit) id j11COV3J004863; Tue, 1 Feb 2005 07:24:31 -0500 X-Authentication-Warning: tree.cs.jhu.edu: jason set sender to jason@cs.jhu.edu using -f Original-To: bug-gnu-emacs@gnu.org User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-Authentication-Info: Submitted using SMTP AUTH at out010.verizon.net from [70.17.192.164] at Tue, 1 Feb 2005 06:24:32 -0600 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geb-bug-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.bugs:10645 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10645 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars) of 2004-04-15 on bugs.devel.redhat.com configured using `configure --host=i386-redhat-linux --build=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --with-pop --with-sound' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I was visiting a Gnus buffer *Summary nndraft:drafts*, with major mode gnus-summary-mode and minor modes including gnus-draft-mode. I used C-h m (describe-mode) to get a description of the mode. Indented below is what appeared in the *Help* window. It lists D twice, first in the major mode bindings (false since this is overridden), and second in the minor mode bindings (true). Listing D as part of the major mode is misleading, particularly in the context of the description text supplied by this particular major mode ("The following commands are available"). (Perhaps it is deliberately included so that describe-mode can always be relied on to give a complete description of the major mode. But if so, currently overridden bindings should be flagged as such, IMHO.) By contrast, C-h b (describe-bindings) does not list D twice. It lists the minor mode bindings first, followed by the major mode binding with D omitted. The major mode is described first. For minor modes, see following pages. Summary mode: Major mode for reading articles. The following commands are available: key binding --- ------- D gnus-summary-mark-as-read-backward Gnus-Draft minor mode (indicator Draft): Minor mode for providing a draft summary buffers. key binding --- ------- e gnus-draft-edit-message D Prefix Command D S gnus-draft-send-all-messages D s gnus-draft-send-message D e gnus-draft-edit-message D t gnus-draft-toggle-sending Recent input: C-p C-p C-p C-n C-n x u b u g M-b C-k e m s a c s - b u g C-g C-g C-h a b u g C-x o C-n C-n C-n C-s s u b m i t - b u g C-s C-s C-s C-s C-s C-s C-s C-s C-r C-r C-n C-p C-n C-s b u g C-s C-s C-s C-v C-v C-n C-n x r e p o r t - e m a c s - b u g Recent messages: Mark saved where search started Mark set Mark saved where search started Mark set call-interactively: Quit keyboard-quit: Quit Loading apropos...done Type C-x 4 b RET to restore the other window. C-M-v to scroll the help. Mark saved where search started [2 times] Loading emacsbug...done