unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "David Röthlisberger" <david@rothlis.net>
To: 11202@debbugs.gnu.org
Subject: bug#11202: 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	[thread overview]
Message-ID: <DC162209-F366-4EE7-88E1-6531ACAD2FF0@rothlis.net> (raw)

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






             reply	other threads:[~2012-04-08 12:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-08 12:58 David Röthlisberger [this message]
     [not found] ` <handler.11202.B.13338899698221.ack@debbugs.gnu.org>
2012-04-15  8:52   ` bug#11202: Acknowledgement (24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode) David Röthlisberger
2012-06-19 18:14 ` bug#11202: 24.0.93; shell.el: Documentation for M-x shell sometimes shows wrong keybinding for describe-mode Stefan Monnier
2019-10-12  5:11 ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DC162209-F366-4EE7-88E1-6531ACAD2FF0@rothlis.net \
    --to=david@rothlis.net \
    --cc=11202@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).