GNU bug report logs -
#12149
24.1; `C-h f' is worse and worse at telling where a function was defined
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Mon, 6 Aug 2012 17:58:01 UTC
Severity: minor
Found in version 24.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 12149 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> In Emacs prior to Emacs 23, `C-h f' did not point to the wrong files
> as having defined these function. At least it did not lie and steer
> you wrong.
>
> Emacs 23.4 did not point to the wrong file for `y-or-n-p', but it did
> point to the wrong file for `top-level'.
>
> Emacs 24.1 gets them both wrong. It simply gives the original location
> (from emacs -Q) for each of them: `C source code' for `top-level' and
> `subr.el' for `y-or-n-p'. This is not good. Better to say "no idea"
> than to mislead the user this way.
(progn
(defun yes-or-no-p (prompt) (y-or-n-p prompt))
(describe-function 'yes-or-no-p))
=>
yes-or-no-p is a Lisp function.
(yes-or-no-p PROMPT)
Not documented.
So I seem to be unable to reproduce this bug. Are you still seeing it?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 9 years and 106 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.