unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Bug to fix!
Date: Mon, 08 May 2006 18:29:37 -0400	[thread overview]
Message-ID: <E1FdEET-0008VU-AD@fencepost.gnu.org> (raw)
In-Reply-To: <17493.6908.813917.579798@rgrjr.dyndns.org> (message from Bob Rogers on Sun, 30 Apr 2006 16:15:56 -0400)

[I sent this message a week ago but did not get a response.]

       Examining shell-mode-map shows that the repeated commands do appear
    bound to the same keys twice via list sharing.  You can see this for
    yourself by evaluating the following in *scratch*:

	    (let ((print-circle t) (print-length nil)
		  (standard-output (current-buffer)))
	      (prin1 shell-mode-map))

This is normal--it is part of the keymap parent mechanism.
shell-mode-map has comint-mode-map as its parent.
So the sub-keymap for C-c in shell-mode-map must also have,
as its parent, the sub-keymap for C-c in comint-mode-map.

So the right fix here is to change the code that generates
the table for C-h m so that it avoids generating duplicate
output in cases like this.

Would someone like to do that?

  parent reply	other threads:[~2006-05-08 22:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-30 20:15 Spurious shell/comint "shadowed bindings" in C-h m Bob Rogers
2006-05-01  4:20 ` Richard Stallman
2006-05-08 22:29 ` Richard Stallman [this message]
2006-05-09 14:31   ` Bug to fix! Chong Yidong
2006-05-09 18:43     ` Stefan Monnier
2006-05-10  3:20     ` Richard Stallman

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=E1FdEET-0008VU-AD@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@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).