GNU bug report logs - #66534
30.0.50; [PATCH] Expand file-name of ~/.emacs before attempt to load it

Previous Next

Package: emacs;

Reported by: Christoph <just.mychris <at> googlemail.com>

Date: Sat, 14 Oct 2023 01:07:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Full log


Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Christoph via "Bug reports for GNU Emacs, the Swiss army knife of text
 editors" <bug-gnu-emacs <at> gnu.org>
Cc: 66534 <at> debbugs.gnu.org, Christoph <just.mychris <at> googlemail.com>
Subject: Re: bug#66534: 30.0.50; [PATCH] Expand file-name of ~/.emacs before
 attempt to load it
Date: Sat, 14 Oct 2023 09:25:50 +0200
On Okt 13 2023, Christoph via "Bug reports for GNU Emacs, the Swiss army knife of text editors" wrote:

> I noticed that during startup, emacs tries to load ~/.emacs (with
> different extensions) many times over.  You can see this by using
> strace and tracing the openat syscall.  The problem is, that `load'
> does not expand the ~/ in the filename passed to it.  So it does not
> recognize the file as being absolute and tries to resolve it using
> the load-path.

That's probably a bug in complete_filename_p.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 1 year and 236 days ago.

Previous Next


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