GNU bug report logs - #10454
23.3; Different result from `C-h k' and `C-h ? k'

Previous Next

Package: emacs;

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

Date: Sun, 8 Jan 2012 19:12:02 UTC

Severity: normal

Tags: patch

Found in version 23.3

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: David Röthlisberger <david <at> rothlis.net>
Subject: bug#10454: closed (Re: bug#10454: 23.3; Different result from
 `C-h k' and `C-h ? k')
Date: Fri, 20 Jan 2012 09:22:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#10454: 23.3; Different result from `C-h k' and `C-h ? k'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 10454 <at> debbugs.gnu.org.

-- 
10454: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=10454
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: 10454-done <at> debbugs.gnu.org
Cc: David Röthlisberger <david <at> rothlis.net>
Subject: Re: bug#10454: 23.3; Different result from `C-h k' and `C-h ? k'
Date: Fri, 20 Jan 2012 10:19:48 +0100
> I can now confirm that Martin's patch does work
> for me. :-)

Installed in revision 106895 on trunk.

> Thank you all for all your help.

Thank you for the precise report.

martin

[Message part 3 (message/rfc822, inline)]
From: David Röthlisberger <david <at> rothlis.net>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.3; Different result from `C-h k' and `C-h ? k'
Date: Sun, 8 Jan 2012 11:36:42 +0000
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'.


I'm not sure what causes this. `help-for-help' in `help.el' seems to use the same `help-map' that binds `C-h k' to `describe-key'; I couldn't understand the `make-help-screen' macro so that's as far as I got with my investigation.

I reproduced this on Emacs 23.3 and a 2012-01-08 nightly build of 24.0.92.1 (revno: 106821).

Recipe starting from `emacs -Q':

M-: (ido-mode t)
C-h k C-x C-f
C-h ? k C-x C-f

Thanks,
Dave.




This bug report was last modified 13 years and 129 days ago.

Previous Next


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