From: Jean Louis <bugs@gnu.support>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 58314@debbugs.gnu.org, Stefan Monnier <monnier@iro.umontreal.ca>
Subject: bug#58314: 29.0.50; C-h k with native compilation not conclusive
Date: Wed, 5 Oct 2022 22:50:32 +0300 [thread overview]
Message-ID: <Yz3gCAUJlzf2Diiz@protected.localdomain> (raw)
In-Reply-To: <83bkqqrr4q.fsf@gnu.org>
* Eli Zaretskii <eliz@gnu.org> [2022-10-05 22:47]:
> > From: Jean Louis <bugs@gnu.support>
> > Date: Wed, 05 Oct 2022 22:26:20 +0300
> >
> >
> > I remember with byte compiling I was never lead to go into byte compiled
> > file when I was inspecting commands with C-h k
> >
> > With native compilation, I do: C-h k and I get this:
> >
> > v n runs the command cf-people-view-notes (found in
> > rcd-db-people-mode-map), which is an interactive native-compiled Lisp
> > function in
> > ‘../eln-cache/29.0.50-44cd31c8/rcd-cf-a9476332-a313d4ff.eln’.
> >
> > It is bound to v n.
>
> I cannot reproduce this. I don't have rcd-cf.el here, of course, but
> I tested with "C-h k n" in Help mode, and I see the expected:
>
> n runs the command help-goto-next-page (found in help-mode-map), which
> is an interactive native-compiled Lisp function in ‘help-mode.el’.
>
> So this is somehow related to your own files. Maybe it's because how
> we store the doc strings or something? Stefan, any ideas?
1. emacs -Q
2. {C-x C-f my-file.el RET}
3. write in my-file.el:
(defun my-function ()
(message "Hello"))
4. {M-x emacs-lisp-native-compile-and-load RET}
5. {C-h f my-function RET}
6. Then I see:
my-function is a native-compiled Lisp function in
‘~/.emacs.d/eln-cache/29.0.50-44cd31c8/my-file-fb862712-14785989.eln’.
(my-function)
Not documented.
But I am expecting to see link to my-file.el and not to compiled file.
And if I click on the link:
‘~/.emacs.d/eln-cache/29.0.50-44cd31c8/my-file-fb862712-14785989.eln’.
then I get:
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
locate-file(nil ("/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l..." "/home/data1/protected/Programming/Software/emacs/l...") (".so" ".so.gz" ".el" ".el.gz"))
find-library-name("/home/data1/protected/.emacs.d/eln-cache/29.0.50-4...")
find-function-search-for-symbol(my-function nil "/home/data1/protected/.emacs.d/eln-cache/29.0.50-4...")
help-function-def--button-function(my-function "/home/data1/protected/.emacs.d/eln-cache/29.0.50-4..." nil)
help-do-xref(nil help-function-def--button-function (my-function "/home/data1/protected/.emacs.d/eln-cache/29.0.50-4..."))
help-button-action(#<marker (moves after insertion) at 54 in *Help*>)
button-activate(#<marker (moves after insertion) at 54 in *Help*> nil)
push-button(54)
funcall-interactively(push-button 54)
command-execute(push-button)
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
next prev parent reply other threads:[~2022-10-05 19:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-05 19:26 bug#58314: 29.0.50; C-h k with native compilation not conclusive Jean Louis
2022-10-05 19:45 ` Eli Zaretskii
2022-10-05 19:50 ` Jean Louis [this message]
2022-10-06 12:29 ` Lars Ingebrigtsen
2022-10-06 14:28 ` Eli Zaretskii
2023-06-05 22:49 ` Andrea Corallo
2023-06-06 10:24 ` Andrea Corallo
2022-10-05 19:55 ` Jean Louis
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Yz3gCAUJlzf2Diiz@protected.localdomain \
--to=bugs@gnu.support \
--cc=58314@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).