GNU bug report logs - #11202
24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: David Röthlisberger <david@HIDDEN>; dated Sun, 8 Apr 2012 13:00:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 11202 <at> debbugs.gnu.org:


Received: (at 11202) by debbugs.gnu.org; 19 Jun 2012 18:17:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 19 14:17:35 2012
Received: from localhost ([127.0.0.1]:48883 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Sh2ze-0005cG-IS
	for submit <at> debbugs.gnu.org; Tue, 19 Jun 2012 14:17:34 -0400
Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50777)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1Sh2zc-0005c9-It
	for 11202 <at> debbugs.gnu.org; Tue, 19 Jun 2012 14:17:33 -0400
Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca
	[132.204.27.242])
	by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q5JIE98E016600;
	Tue, 19 Jun 2012 14:14:09 -0400
Received: by faina.iro.umontreal.ca (Postfix, from userid 20848)
	id 5A58FB422C; Tue, 19 Jun 2012 14:14:09 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: David =?iso-8859-1?Q?R=F6thlisberger?= <david@HIDDEN>
Subject: Re: bug#11202: 24.0.93;
	shell.el: Documentation for M-x shell sometimes shows wrong
	keybinding for describe-mode
Message-ID: <jwv62ankw6c.fsf-monnier+gnus-read-ephemeral-bug@HIDDEN>
References: <DC162209-F366-4EE7-88E1-6531ACAD2FF0@HIDDEN>
Date: Tue, 19 Jun 2012 14:14:09 -0400
In-Reply-To: <DC162209-F366-4EE7-88E1-6531ACAD2FF0@HIDDEN> ("David
	=?iso-8859-1?Q?R=F6thlisberger=22's?= message of "Sun,
	8 Apr 2012 13:58:21 +0100")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-NAI-Spam-Flag: NO
X-NAI-Spam-Threshold: 5
X-NAI-Spam-Score: 0
X-NAI-Spam-Rules: 1 Rules triggered
	RV4255=0
X-NAI-Spam-Version: 2.2.0.9309 : core <4255> : streams <770547> : uri <1143617>
X-Spam-Score: -3.5 (---)
X-Debbugs-Envelope-To: 11202
Cc: 11202 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.5 (---)

> If I invoke 'M-x describe-function shell' when I am already in
> help-mode, the last sentence reads:
>> (Type h in the shell buffer for a list of commands.)

Yup, that's a bug.

> Patch below. Would you like me to provide a similar patch for all instances
> of "\\[describe-mode]" in the lisp directory?

Such a patch would be very welcome, yes.  Even better would be some way
to detect the problem automatically (maybe from checkdoc?).


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11202; Package emacs. Full text available.

Message received at 11202 <at> debbugs.gnu.org:


Received: (at 11202) by debbugs.gnu.org; 15 Apr 2012 08:53:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 15 04:53:49 2012
Received: from localhost ([127.0.0.1]:59289 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SJLDQ-00084d-N1
	for submit <at> debbugs.gnu.org; Sun, 15 Apr 2012 04:53:49 -0400
Received: from mail-wi0-f180.google.com ([209.85.212.180]:56446)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drothlis@HIDDEN>) id 1SJLDO-00084V-De
	for 11202 <at> debbugs.gnu.org; Sun, 15 Apr 2012 04:53:47 -0400
Received: by wibhm17 with SMTP id hm17so4056430wib.15
	for <11202 <at> debbugs.gnu.org>; Sun, 15 Apr 2012 01:52:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:content-type:mime-version:subject:from:in-reply-to:date
	:content-transfer-encoding:message-id:references:to:x-mailer;
	bh=skTPhu+vHMYswr4AoDqLPBfFFmmDEGKT6QhXFLMtjN0=;
	b=LL9uzeBwTS0j1j30uWWb/TMzIA+1cQv39kofLSDGSK7AIYmvHKNx76kaclyw5EpXaN
	1bpLZliep2eZRhnFnQAqb7sjBQakrj9y8wDmThoKPRo9UIbgaA8jkW6eRi6qtSpT1/vC
	smuJC2IlPlPxQbT2WjLUa9AS71ZuxC+PpoR01dRl6QrVp5UKNBW1p8Y9CSZM0Nw5lRLG
	gJz9xRXU3cuOGIrx1CAl0m08AVBgBJriNfWS/+lBgGj1KOQo8ba6SVkLJ37JHrRX8WYT
	1yMEpL/qm6y9m4pGSycVdgLYhf/mIEtrYkBjHVq63Rc5SKQqCxKMnkGOawkIcb087Ou0
	Ju1g==
Received: by 10.216.132.202 with SMTP id o52mr4410467wei.106.1334479937111;
	Sun, 15 Apr 2012 01:52:17 -0700 (PDT)
Received: from [192.168.1.100] (94-194-137-39.zone8.bethere.co.uk.
	[94.194.137.39])
	by mx.google.com with ESMTPS id 17sm10626829wis.0.2012.04.15.01.52.15
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sun, 15 Apr 2012 01:52:16 -0700 (PDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v1257)
Subject: Re: bug#11202: Acknowledgement (24.0.93;
	shell.el: Documentation for M-x shell sometimes shows wrong
	keybinding for describe-mode)
From: =?iso-8859-1?Q?David_R=F6thlisberger?= <david@HIDDEN>
In-Reply-To: <handler.11202.B.13338899698221.ack <at> debbugs.gnu.org>
Date: Sun, 15 Apr 2012 09:52:14 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <27CFC41E-3DC8-45EB-BB00-831220AAAC20@HIDDEN>
References: <DC162209-F366-4EE7-88E1-6531ACAD2FF0@HIDDEN>
	<handler.11202.B.13338899698221.ack <at> debbugs.gnu.org>
To: 11202 <at> debbugs.gnu.org
X-Mailer: Apple Mail (2.1257)
X-Spam-Score: -2.6 (--)
X-Debbugs-Envelope-To: 11202
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

Note that this problem manifests itself more often than the original =
report implies.

In the *Help* buffer for `shell', if I navigate to the help for any of =
the linked functions or variables, then click the `[back]' link, the =
help text for `shell' has changed to the incorrect text as per the =
original report.





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#11202; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 8 Apr 2012 12:59:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 08 08:59:29 2012
Received: from localhost ([127.0.0.1]:44519 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1SGriJ-00028X-VC
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2012 08:59:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:39190)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <drothlis@HIDDEN>) id 1SGriF-00028O-0E
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2012 08:59:25 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drothlis@HIDDEN>) id 1SGrhP-0005lF-Df
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2012 08:58:32 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:57699)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drothlis@HIDDEN>) id 1SGrhP-0005lB-80
	for submit <at> debbugs.gnu.org; Sun, 08 Apr 2012 08:58:31 -0400
Received: from eggs.gnu.org ([208.118.235.92]:41839)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drothlis@HIDDEN>) id 1SGrhM-00018v-Oh
	for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2012 08:58:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <drothlis@HIDDEN>) id 1SGrhK-0005kV-3v
	for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2012 08:58:28 -0400
Received: from mail-wi0-f169.google.com ([209.85.212.169]:52599)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <drothlis@HIDDEN>) id 1SGrhJ-0005kN-RG
	for bug-gnu-emacs@HIDDEN; Sun, 08 Apr 2012 08:58:26 -0400
Received: by wibhm17 with SMTP id hm17so1479496wib.0
	for <bug-gnu-emacs@HIDDEN>; Sun, 08 Apr 2012 05:58:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=sender:from:content-type:content-transfer-encoding:subject:date
	:message-id:to:mime-version:x-mailer;
	bh=Q2ShsOA/5JiW7ryRLbHgFeXLbzpYoq8XhPOP63JAIkM=;
	b=BYVbcBpo2LzA1XuTrhJiWtpLDsB/wbpCh0Hm5BZL5y8m2IdgQHV/c071I40WjNV7mS
	AcV70x+aijRkseQOySQaEyAz/LP1UJt0pqZN4RtwmzEEY1BvkW5JPwCBYRKhbEfsg6YD
	a5UQsExKbDn6ATenTktLPS+4D4jf/0J1tIN7fLgos0Ef/NylfU9BoR0Go0518wxDL58H
	qwxs1Y+jruKVQznaDGOA+a98gNYdnLSU8WRdpbFpgEJRx3R4ASVoDtcfwHD6B0qeJ9Zb
	ZGsf6E3dCYEOCT8Pb3MQ6iXC5oJbFCfNBQHe7goEzfNjxsFz3b60aCJGY2EreeR+Q4GH
	7GsA==
Received: by 10.216.135.225 with SMTP id u75mr2119688wei.97.1333889903722;
	Sun, 08 Apr 2012 05:58:23 -0700 (PDT)
Received: from [192.168.1.100] (94-194-137-39.zone8.bethere.co.uk.
	[94.194.137.39])
	by mx.google.com with ESMTPS id j3sm36161077wiw.1.2012.04.08.05.58.22
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sun, 08 Apr 2012 05:58:23 -0700 (PDT)
From: =?iso-8859-1?Q?David_R=F6thlisberger?= <david@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Subject: 24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong
	keybinding for describe-mode
Date: Sun, 8 Apr 2012 13:58:21 +0100
Message-Id: <DC162209-F366-4EE7-88E1-6531ACAD2FF0@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Mime-Version: 1.0 (Apple Message framework v1257)
X-Mailer: Apple Mail (2.1257)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 208.118.235.17
X-Spam-Score: -6.1 (------)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.1 (------)

If I invoke 'M-x describe-function shell' when I am already in =
help-mode, the last sentence reads:

> (Type h in the shell buffer for a list of commands.)

(Normally --if describe-function is invoked from outside of help-mode-- =
it would read "C-h m" instead of "h".)

Patch below. Would you like me to provide a similar patch for all =
instances of "\\[describe-mode]" in the lisp directory?

Kind regards,
Dave.


From: David Rothlisberger <david@HIDDEN>
Date: Sun, 8 Apr 2012 13:50:28 +0100
Subject: [PATCH] * shell.el: Correct keybinding for `describe-mode' in
 `shell' docstring.

---
 lisp/shell.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/shell.el b/lisp/shell.el
index 7c5ce49..a9e2113 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -607,7 +607,7 @@ (defun shell (&optional buffer)
 and controlling the subjobs of the shell.  See `shell-mode'.
 See also the variable `shell-prompt-pattern'.
=20
-To specify a coding system for converting non-ASCII characters
+\\<shell-mode-map>To specify a coding system for converting non-ASCII =
characters
 in the input and output to the shell, use =
\\[universal-coding-system-argument]
 before \\[shell].  You can also specify this with =
\\[set-buffer-process-coding-system]
 in the shell buffer, after you start the shell.
--=20
1.7.9.2





Acknowledgement sent to David Röthlisberger <david@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#11202; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.