GNU bug report logs - #79124
emacs -Q doesn't give me a clean slate

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Wed, 30 Jul 2025 00:00:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: rpluim <at> gmail.com, 79124 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: bug#79124: emacs -Q doesn't give me a clean slate
Date: Tue, 5 Aug 2025 08:23:22 -0700
On 2025-08-05 04:19, Eli Zaretskii wrote:

> AFAIR, you accepted the AOT
> build as a workaround for this problem,

No, I didn't. I rejected it because it's too much of a pain to expect 
users to rebuild Emacs (in an especially-length process!) just to 
reproduce a bug.

> I don't understand how the *.eln files compiled from the *.el files in the
> Emacs source tree are "kosher" when they are in the installation tree,
> but not if they are under ~/.emacs.c/eln-cache/.

I'm assuming that Emacs was installed correctly (if not, all bets are 
off anyway). What I don't want to assume is anything in the user's home 
directory, because that can make tests irreproducible.

>> A reproducible test should not be disrupted merely because the
>> user's ~/.emacs.d/...macroexpand_0.eln is corrupt.
> 
> Why would it be corrupt, but the same file under /usr/lib/emacs cannot
> be?

Could be many reasons. For example, maybe they backed up their home 
directory but then restored it incorrectly. Whatever the reason is, I 
don't want the user's home directory to affect the test.

> The directory where these files live is not important.

It is important, because I want the tests to depend only on the 
installed Emacs, not on the user's own files. That's a core part of 
making tests reproducible.





This bug report was last modified 4 days ago.

Previous Next


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