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

Previous Next

Package: emacs;

Reported by: David Röthlisberger <david <at> rothlis.net>

Date: Sun, 8 Apr 2012 13:00:02 UTC

Severity: minor

Tags: fixed

Found in version 24.0.93

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11202 in the body.
You can then email your comments to 11202 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11202; Package emacs. (Sun, 08 Apr 2012 13:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Röthlisberger <david <at> rothlis.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 08 Apr 2012 13:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Röthlisberger <david <at> rothlis.net>
To: bug-gnu-emacs <at> gnu.org
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
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 <at> rothlis.net>
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'.
 
-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.
-- 
1.7.9.2





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11202; Package emacs. (Sun, 15 Apr 2012 08:54:01 GMT) Full text and rfc822 format available.

Message #8 received at 11202 <at> debbugs.gnu.org (full text, mbox):

From: David Röthlisberger <david <at> rothlis.net>
To: 11202 <at> debbugs.gnu.org
Subject: Re: bug#11202: Acknowledgement (24.0.93;
	shell.el: Documentation for M-x shell sometimes shows wrong
	keybinding for describe-mode)
Date: Sun, 15 Apr 2012 09:52:14 +0100
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 <at> gnu.org:
bug#11202; Package emacs. (Tue, 19 Jun 2012 18:18:01 GMT) Full text and rfc822 format available.

Message #11 received at 11202 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: David Röthlisberger <david <at> rothlis.net>
Cc: 11202 <at> debbugs.gnu.org
Subject: Re: bug#11202: 24.0.93;
	shell.el: Documentation for M-x shell sometimes shows wrong
	keybinding for describe-mode
Date: Tue, 19 Jun 2012 14:14:09 -0400
> 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 <at> gnu.org:
bug#11202; Package emacs. (Sat, 12 Oct 2019 05:12:02 GMT) Full text and rfc822 format available.

Message #14 received at 11202 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: David Röthlisberger <david <at> rothlis.net>
Cc: 11202 <at> debbugs.gnu.org
Subject: Re: bug#11202: 24.0.93; shell.el: Documentation for M-x shell
 sometimes shows wrong keybinding for describe-mode
Date: Sat, 12 Oct 2019 07:11:28 +0200
David Röthlisberger <david <at> rothlis.net> writes:

> 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.

I've now applied it to Emacs 27.

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

This was apparently not done, but is perhaps best left to a new bug
report, if needed.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 12 Oct 2019 05:12:03 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 11202 <at> debbugs.gnu.org and David Röthlisberger <david <at> rothlis.net> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 12 Oct 2019 05:12:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 09 Nov 2019 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 167 days ago.

Previous Next


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