From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#10454: 23.3; Different result from `C-h k' and `C-h ? k' Date: Mon, 09 Jan 2012 19:19:01 +0100 Message-ID: <4F0B2F95.1070500@gmx.at> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1326133201 3843 80.91.229.12 (9 Jan 2012 18:20:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 Jan 2012 18:20:01 +0000 (UTC) Cc: 10454@debbugs.gnu.org To: David =?UTF-8?Q?R=C3=B6thlisberger?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 09 19:19:57 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RkJp6-0002bt-1a for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 19:19:56 +0100 Original-Received: from localhost ([::1]:54954 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJp5-0000N7-J3 for geb-bug-gnu-emacs@m.gmane.org; Mon, 09 Jan 2012 13:19:55 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJp2-0000N1-Ku for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 13:19:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RkJow-0000AP-Px for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 13:19:52 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RkJow-0000AK-OJ for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 13:19:46 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RkJpB-000679-Iu for bug-gnu-emacs@gnu.org; Mon, 09 Jan 2012 13:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 Jan 2012 18:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10454 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10454-submit@debbugs.gnu.org id=B10454.132613316823448 (code B ref 10454); Mon, 09 Jan 2012 18:20:01 +0000 Original-Received: (at 10454) by debbugs.gnu.org; 9 Jan 2012 18:19:28 +0000 Original-Received: from localhost ([127.0.0.1]:51244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RkJod-000668-Se for submit@debbugs.gnu.org; Mon, 09 Jan 2012 13:19:28 -0500 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:59280) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1RkJob-00065v-I3 for 10454@debbugs.gnu.org; Mon, 09 Jan 2012 13:19:27 -0500 Original-Received: (qmail invoked by alias); 09 Jan 2012 18:19:03 -0000 Original-Received: from 62-47-41-83.adsl.highway.telekom.at (EHLO [62.47.41.83]) [62.47.41.83] by mail.gmx.net (mp067) with SMTP; 09 Jan 2012 19:19:03 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1+ahdZgorGafXV9jEZmMVSFC2moHcS9JKevn9Qfh9 elYaoNxrHn7gUY In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55583 Archived-At: > 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))