GNU bug report logs -
#24697
25.1; find-lisp-object-file-name may return wrong locations
Previous Next
Reported by: Alex <agrambot <at> gmail.com>
Date: Fri, 14 Oct 2016 22:20:02 UTC
Severity: normal
Tags: fixed, patch
Found in version 25.1
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 24697 <at> debbugs.gnu.org (full text, mbox):
On 6/18/17 1:26 AM, Alex wrote:
> The first and last of these are fixed by the following diff.
>
> ...
>
>
> The second is a bit odder. For some reason, find-lisp-object-file-name
> searches for an internal function definition using TYPE instead of
> OBJECT. I would have expected it to use OBJECT like the rest of the
> tests do. I see no reason for the current behaviour.
Thanks. Do you think you can write test cases for these problems? There
are some existing ones in test/lisp/help-fns-tests.el.
> Either the documentation should be changed to clearly indicate the
> current behaviour, or the function should be changed so that OBJECTs for
> which (subrp (symbol-function OBJECT)) returns t should return
> 'C-source'.
With a test case, you might also find it easier to make a choice
regarding this problem.
This bug report was last modified 4 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.