all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "David Röthlisberger" <david@rothlis.net>
Cc: 10454@debbugs.gnu.org
Subject: bug#10454: 23.3; Different result from `C-h k' and `C-h ? k'
Date: Mon, 09 Jan 2012 19:19:01 +0100	[thread overview]
Message-ID: <4F0B2F95.1070500@gmx.at> (raw)
In-Reply-To: <CDEDDC6C-81E0-43EF-B392-E3695931ADA7@rothlis.net>

 > If I have ido-mode enabled, the output of `C-h k C-x C-f' is:
 >
 >> C-x C-f runs the command ido-find-file, which is an interactive
 >> compiled Lisp function in `ido.el'.
 >
 >
 > But if I'm just learning Emacs and I do `C-h ? k C-x C-f', the output is for (non-ido) find-file:
 >
 >> C-x C-f runs the command find-file, which is an interactive compiled
 >> Lisp function in `files.el'.

FWIW this is due to `make-help-screen' binding `minor-mode-map-alist' to
nil.  Applying the patch below seems to fix it, but maybe someone more
knowledgeable has a better solution.  (If you want to try the patch,
make sure to recompile help.el after compiling help-macro.el).

martin


*** lisp/help-macro.el	2011-01-25 04:08:28 +0000
--- lisp/help-macro.el	2012-01-09 18:05:39 +0000
***************
*** 186,192 ****
   			       (setq config nil))
   			     ;; `defn' must make sure that its frame is
   			     ;; selected, so we won't iconify it below.
! 			     (call-interactively defn)
   			     (when new-frame
   			       ;; Do not iconify the selected frame.
   			       (unless (eq new-frame (selected-frame))
--- 186,193 ----
   			       (setq config nil))
   			     ;; `defn' must make sure that its frame is
   			     ;; selected, so we won't iconify it below.
! 			     (let ((minor-mode-map-alist new-minor-mode-map-alist))
! 			       (call-interactively defn))
   			     (when new-frame
   			       ;; Do not iconify the selected frame.
   			       (unless (eq new-frame (selected-frame))






  reply	other threads:[~2012-01-09 18:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-08 11:36 bug#10454: 23.3; Different result from `C-h k' and `C-h ? k' David Röthlisberger
2012-01-09 18:19 ` martin rudalics [this message]
2012-01-17 19:12   ` Glenn Morris
2012-01-20  9:20     ` martin rudalics
2012-01-19  8:20   ` David Röthlisberger
2012-01-19  8:29     ` Andreas Schwab
2012-01-19  9:07       ` David Röthlisberger
2012-01-19 16:48         ` Glenn Morris
2012-01-19 17:08           ` David Röthlisberger
2012-01-20  9:19             ` martin rudalics

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

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

  git send-email \
    --in-reply-to=4F0B2F95.1070500@gmx.at \
    --to=rudalics@gmx.at \
    --cc=10454@debbugs.gnu.org \
    --cc=david@rothlis.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.