From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#8947: 24.0.50; `describe-mode': `help-mode-map' pollutes minor mode descriptions Date: Sun, 01 May 2016 20:32:00 +0200 Message-ID: <8760uxzl27.fsf@gnus.org> References: <7E6FAA5B1CA644F9A30BD871EBA2DFC1@us.oracle.com> <87ob2f8sj7.fsf@building.gnus.org> <878tzyouz0.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462127622 31683 80.91.229.3 (1 May 2016 18:33:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 May 2016 18:33:42 +0000 (UTC) Cc: 8947@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 01 20:33:31 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 1awwBO-0006Tk-L0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 20:33:30 +0200 Original-Received: from localhost ([::1]:33976 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awwBK-00033s-I0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 May 2016 14:33:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awwBB-0002oH-2L for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:33:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awwAz-0002b6-9q for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:33:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48647) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awwAz-0002Zi-6o for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:33:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awwAv-0001hD-Qz for bug-gnu-emacs@gnu.org; Sun, 01 May 2016 14:33:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 May 2016 18:33: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: confirmed Original-Received: via spool by 8947-submit@debbugs.gnu.org id=B8947.14621275356453 (code B ref 8947); Sun, 01 May 2016 18:33:01 +0000 Original-Received: (at 8947) by debbugs.gnu.org; 1 May 2016 18:32:15 +0000 Original-Received: from localhost ([127.0.0.1]:60982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awwA7-0001fv-P9 for submit@debbugs.gnu.org; Sun, 01 May 2016 14:32:15 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:40475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awwA2-0001fd-Ui for 8947@debbugs.gnu.org; Sun, 01 May 2016 14:32:10 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1aww9y-00018e-9Y; Sun, 01 May 2016 20:32:06 +0200 In-Reply-To: <878tzyouz0.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Apr 2016 13:04:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117535 Archived-At: Lars Ingebrigtsen writes: > Here's a shorter test case: > > (progn > (describe-function 'transient-mark-mode) > (with-current-buffer (get-buffer "*Help*") > (revert-buffer))) > > After answering "y", the `M-'s will go missing before the `<' and '>'. 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. So the form above will give different results when run from, say, *scratch* and from a special mode, and that's fine. Closing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no