GNU bug report logs - #77468
30.1.50; package-quickstart file is not relocatable

Previous Next

Package: emacs;

Reported by: Spencer Baugh <sbaugh <at> janestreet.com>

Date: Wed, 2 Apr 2025 18:47:01 UTC

Severity: normal

Found in version 30.1.50

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 77468 <at> debbugs.gnu.org
Subject: bug#77468: 30.1.50; package-quickstart file is not relocatable
Date: Mon, 07 Apr 2025 13:10:52 -0400
> I guess file-name-directory can be slow due to find-file-name-handler...
> that's sad since it's otherwise just a trivial string operation.

It's not a major performance issue, but I can't think of a reason why we
wouldn't want to make this trivial optimization.

> I guess I could wrap the entire file in a let binding, but that's mildly
> annoying and ugly...

We can just `setq` a private global var.  It's conceptually
ugly, but it gets the job done.  As long as we support only a single
global `package-quickstart.el` that should be good enough.


        Stefan





This bug report was last modified 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.