From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#8947: 24.0.50; `describe-mode': `help-mode-map' pollutes minor mode descriptions Date: Sun, 1 May 2016 13:06:13 -0700 (PDT) Message-ID: <110eca3a-7bf1-478d-ab4d-6cd6a0ac8196@default> References: <7E6FAA5B1CA644F9A30BD871EBA2DFC1@us.oracle.com> <87ob2f8sj7.fsf@building.gnus.org> <878tzyouz0.fsf@gnus.org> <8760uxzl27.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462133268 14967 80.91.229.3 (1 May 2016 20:07:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 20:07:48 +0000 (UTC) Cc: 8947@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 22:07:35 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1awxeQ-0000N4-5H for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 22:07:34 +0200 Original-Received: from localhost ([::1]:34168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awxeM-0003Bw-7A for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 16:07:30 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38713) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awxeC-0002zc-3i for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 16:07:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awxdx-0004Pe-C5 for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 16:07:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awxdx-0004Nf-8T for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 16:07:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awxdt-00078L-Q2 for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 16:07:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2016 20:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8947 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix confirmed Original-Received: via spool by 8947-submit@debbugs.gnu.org id=B8947.146213318527355 (code B ref 8947); Sun, 01 May 2016 20:07:01 +0000 Original-Received: (at 8947) by debbugs.gnu.org; 1 May 2016 20:06:25 +0000 Original-Received: from localhost ([127.0.0.1]:32799 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxdJ-000779-Ez for submit@debbugs.gnu.org; Sun, 01 May 2016 16:06:25 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:28457) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awxdI-00076v-9r for 8947@debbugs.gnu.org; Sun, 01 May 2016 16:06:24 -0400 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u41K6HFi014017 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 May 2016 20:06:18 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u41K6Hnj014579 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 1 May 2016 20:06:17 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id u41K6EQk018274; Sun, 1 May 2016 20:06:15 GMT In-Reply-To: <8760uxzl27.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:117542 Archived-At: > Hm... well, after fiddling with this a bit more, I see that it's > describing all these minor mode bindings in the context of the buffer > you were in when you called the description command. I think that's > correct. If you have these commands bound to `<' etc in that mode, then > that is what the help command will say. >=20 > So the form above will give different results when run from, say, > *scratch* and from a special mode, and that's fine. Closing. One of us is missing something, I think. The recipe I gave was this: emacs -Q =20 Visit any *.el file, hit `C-h m', then search for `Transient' ^^^^^^^^^^^^^^^^^^^ in *Help*. The help for `transient-mark-mode' says this: =20 "...for example, incremental search, <, and >." And I explained the cause: The doc for `transient-mark-mode' is being picked up after *Help* has become the current buffer. That is not the correct behavior. It is NOT being picked up from "the context of the buffer you were in when you called the description command". That's exactly what the bug is: it is NOT behaving as you claim it is. It is showing you `transient-mark-mode' bindings for `Help' mode, not for `Emacs-Lisp' mode, which was the mode of the buffer where you hit `C-h m'. This should not have been closed, or else I am truly missing something.