From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 43385@debbugs.gnu.org
Subject: bug#43385: 27.1; Regression in `find-library'
Date: Mon, 14 Sep 2020 15:04:55 +0000 (UTC) [thread overview]
Message-ID: <0aed3ac8-c762-4803-b410-0577740ac15d@default> (raw)
In-Reply-To: <ee081b65-2bf9-498a-9ff3-984cc65c2f23@default>
> > No, it shouldn't -- it should complete over library names, and the
> > library name is "mouse", not "mouse.el" or "mouse.elc".
> >
> > (Closing this bug report.)
>
> I _really_ disagree. The latter has always been the
> behavior, since Day One.
>
> It allows you to load either the .el or the .elc, au
> choix, without needing to specify or even know where
> those are located.
>
> You CAN just provide the base name, with no extension,
> which picks up one or the other, according to the
> well-documented lookup behavior. That too is a feature.
>
> But it's just as much a feature to be able to specify
> which one you want to load. This is about LOADING.
> Loading Lisp code can involve loading source or
> byte-compiled code. Users should be able to control
> which gets loaded, when both are available (in the
> `load-path').
>
> All three, mouse, mouse.el, and mouse.elc, are library
> names - ways to refer to a library. Interactively, the
> first is a shortcut for a complex lookup procedure to
> get to one of the others.
>
> This is a definite step backward, an incompatible
> change - a regression that hurts users. (And it's not
> even called out in NEWS as an intentional change.)
>
> I can't believe that you would defend this as an
> improvement. I've been able to specify which I want
> since 1985.
I spoke here of "loading", not "finding" the library.
Sorry, that was a mistake. (And `find-library', unlike
`load-library', which I was thinking of there, didn't
exist in 1985.)
But it points out precisely the problem. `load-library'
does NOT have this regression. Your argument about the
library being only "mouse" clearly doesn't apply for
`load-library': you can do `M-x load-library mouse. TAB'
and you get the expected completions.
`find-library' should behave the same way, as it always
has, before this regression. Please reconsider. Thx.
next prev parent reply other threads:[~2020-09-14 15:04 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-13 21:25 bug#43385: 27.1; Regression in `find-library' Drew Adams
2020-09-13 23:25 ` Lars Ingebrigtsen
2020-09-13 23:49 ` Drew Adams
2020-09-14 15:04 ` Drew Adams [this message]
2020-09-14 14:48 ` Eli Zaretskii
2020-09-14 14:51 ` Lars Ingebrigtsen
[not found] <<3d23db5a-732d-4ea5-9d07-c25bc4f773ae@default>
[not found] ` <<87zh5tdzua.fsf@gnus.org>
[not found] ` <<835z8gbej2.fsf@gnu.org>
2020-09-14 15:19 ` Drew Adams
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0aed3ac8-c762-4803-b410-0577740ac15d@default \
--to=drew.adams@oracle.com \
--cc=43385@debbugs.gnu.org \
--cc=larsi@gnus.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.