unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: master f8bb6cca33: Return the same file from locate-file in nativecomp and non
Date: Sun, 13 Mar 2022 18:59:13 +0200	[thread overview]
Message-ID: <83o829lrfi.fsf@gnu.org> (raw)
In-Reply-To: <87bkyauecx.fsf@gnus.org> (message from Lars Ingebrigtsen on Sun,  13 Mar 2022 15:16:46 +0100)

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,  emacs-devel@gnu.org
> Date: Sun, 13 Mar 2022 15:16:46 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > I object to such backward-incompatible change in a public API.  Please
> > revert that change.
> 
> Stefan's patch does not change the behaviour of locate-file (after my
> patch).  It does change the behaviour of locate-file-internal, but
> that's not a public function (and it's only used in locate-file).  So
> I'm not sure what you mean here.

I mean locate-file-internal.  It behaved like that since the merge of
native-compilation, which happened more than a year ago.  Emacs 28
will be released very soon with that behavior, which means that
behavior will be out there until Emacs 29.1 is released, at least two
years from now?  And all that just because some test failed?  Sorry, I
cannot agree to that.

It is very easy, albeit less elegant, to add a new optional argument;
then we can have the cake and eat it, too (provided that this solution
is at all correct and doesn't cause regressions, which I'm not sure is
true).

More generally, I'm not at all convinced that the problem, as
presented in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=51308#14,
indeed needs a solution that makes locate-file behave the same as it
did in Emacs 27, because the *.eln files introduce new aspects into
the stuff that 'load' and 'load-history' intend to support.  We didn't
discuss this enough, and I'm not even sure we have a common POV on
this.

Bottom line: this needs further discussion.



  parent reply	other threads:[~2022-03-13 16:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <164712074096.14747.18124931770043811100@vcs2.savannah.gnu.org>
     [not found] ` <20220312213221.451B3C01684@vcs2.savannah.gnu.org>
2022-03-12 21:47   ` master f8bb6cca33: Return the same file from locate-file in nativecomp and non Stefan Monnier
2022-03-12 21:51     ` Lars Ingebrigtsen
2022-03-12 23:23       ` Stefan Monnier
2022-03-12 23:40         ` Lars Ingebrigtsen
2022-03-13  4:51           ` Stefan Monnier
2022-03-13  6:01             ` Eli Zaretskii
2022-03-13 14:16               ` Lars Ingebrigtsen
2022-03-13 14:26                 ` Stefan Monnier
2022-03-13 14:40                   ` Lars Ingebrigtsen
2022-03-13 17:15                   ` Eli Zaretskii
2022-03-14  0:20                     ` Stefan Monnier
2022-03-14 14:29                       ` Eli Zaretskii
2022-03-14 16:57                         ` Stefan Monnier
2022-03-14 17:22                           ` Eli Zaretskii
2022-03-14 18:09                             ` Stefan Monnier
2022-03-14 22:29                               ` Corwin Brust
2022-03-15 13:11                                 ` Stefan Monnier
2022-03-13 16:59                 ` Eli Zaretskii [this message]
2022-03-13 22:16                   ` Lars Ingebrigtsen
2022-03-14  3:26                     ` Eli Zaretskii
2022-03-14  2:57                   ` Stefan Monnier
2022-03-14  3:38                     ` Eli Zaretskii
2022-03-14  4:04                       ` Stefan Monnier

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=83o829lrfi.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).