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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Spencer Baugh <sbaugh <at> janestreet.com>
Subject: bug#77468: closed (Re: bug#77468: 30.1.50; package-quickstart
 file is not relocatable)
Date: Tue, 08 Apr 2025 18:41:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#77468: 30.1.50; package-quickstart file is not relocatable

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 77468 <at> debbugs.gnu.org.

-- 
77468: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=77468
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Spencer Baugh <sbaugh <at> janestreet.com>
Cc: 77468-done <at> debbugs.gnu.org
Subject: Re: bug#77468: 30.1.50; package-quickstart file is not relocatable
Date: Tue, 08 Apr 2025 14:40:46 -0400
>> Your approach is cleaner but I'm just worried that someone out there
>> loads the package-quickstart file "by hand".
>
> Ah, good point.  I'll just do the setq, see patch:

Thanks, pushed to `master`,


        Stefan


[Message part 3 (message/rfc822, inline)]
From: Spencer Baugh <sbaugh <at> janestreet.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.1.50; package-quickstart file is not relocatable
Date: Wed, 02 Apr 2025 14:45:53 -0400
The package-quickstart file hardcodes various absolute file names.  This
means it can't be used in situations where the package directory might
be at different absolute names at package-quickstart-refresh time
and at usage time.

For example:

- network filesystems where the user's home directory has a different
  absolute name on different hosts

- a system-wide package-directory-list entry which has a
  package-quickstart file generated for it at build time which has a
  different absolute name at install time (this is my use case; there
  are other problems with it, but the absolute names are the biggest
  one)

I think we should make package-quickstart use file names which are
relative to the location of the package-quickstart file itself.  I'm
happy to write the patch for this if that sounds reasonable.



This bug report was last modified 101 days ago.

Previous Next


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