From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: Should autoloaded functions show LIB.el for its location?
Date: Sun, 18 Dec 2005 09:31:47 -0500 [thread overview]
Message-ID: <871x0apji1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <43A53016.1030904@student.lu.se> (Lennart Borgman's message of "Sun, 18 Dec 2005 10:47:02 +0100")
>> > I just noticed that for an autoloaded function like
>> apropos-variable' > the location is shown as "apropos", not
>> "apropos.el". Is that > intentional?
>> >
>> In describe-function of course. Sorry.
>>
>> Since the file's name is `apropos.el', it would be clearer (all else
>> being equal) to show `apropos.el'.
>>
> Does the attached small fix do the right thing?
No, because the autoload entry may say "foo.el" or "foo.elc" instead of
"foo", in which case adding a ".el" doesn't make much sense. I think it's
better to leave it as it is: after all, maybe you only have a "foo" file and
no "foo.el" or "foo.elc" file.
The only good alternative I can think of otherwise is to do a locate-library
to find the file that would be used if the function were to be loaded.
Stefan
next prev parent reply other threads:[~2005-12-18 14:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-12-17 13:27 Should autoloaded functions show LIB.el for its location? Lennart Borgman
2005-12-17 13:28 ` Lennart Borgman
2005-12-18 0:00 ` Richard M. Stallman
2005-12-18 9:47 ` Lennart Borgman
2005-12-18 14:31 ` Stefan Monnier [this message]
2005-12-18 17:23 ` Lennart Borgman
2005-12-18 18:04 ` Stefan Monnier
2005-12-19 4:38 ` Richard M. Stallman
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=871x0apji1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/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).