GNU bug report logs - #45197
Saving customizations makes ~/.config/emacs/init (no .el extension)

Previous Next

Package: emacs;

Reported by: tsuucat <tsuucat <at> icloud.com>

Date: Sat, 12 Dec 2020 18:20:01 UTC

Severity: normal

Tags: confirmed, fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 45197 <at> debbugs.gnu.org, tsuucat <at> icloud.com
Subject: Re: bug#45197: Saving customizations makes ~/.config/emacs/init (no
 .el extension)
Date: Tue, 15 Dec 2020 18:23:14 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: tsuucat <at> icloud.com,  45197 <at> debbugs.gnu.org
> Date: Tue, 15 Dec 2020 07:14:58 +0100
> 
> alternate-filename-function is the lambda up there, so it's
> "/tmp/test-home/.config/emacs/init".  So this always sets user-init-file
> to the .el-less file name.  (Well, it would have even if the alternate
> file name had ended in ".el".)
> 
> That makes sense for making a file name for `load' (so that it'll load
> the .elc file, if it exists), but setting `user-init-file' to that
> .el-less name sounds like the problem here?

I'm not arguing against the fact that there's a bug, I'm just saying
that there's code which was supposed to handle this, and I think
that's where this should be fixed.




This bug report was last modified 4 years and 154 days ago.

Previous Next


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