all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#45197: Saving customizations makes ~/.config/emacs/init (no .el extension)
@ 2020-12-12 18:10 tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2020-12-14 17:11 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2020-12-12 18:10 UTC (permalink / raw)
  To: 45197

Subject says all.

How to reproduce:
1. $ cd /tmp
2. $ mkdir -p test-home/.config/emacs
3. $ cd test-home
4. $ HOME=$PWD emacs
5. M-x customize, edit something and Save for Future Sessions.
=> Wrote /tmp/test-home/.config/emacs/init

init (not init.el) is created.
This is because user-init-file is set to “/tmp/test-home/.config/emacs/init”.

Emacs manual doesn’t refer ~/.config/emacs/init so I think this is not intended.

Changing
     (lambda ()
       (expand-file-name
        “init"
        startup-init-directory))
to
     (lambda ()
       (expand-file-name
        “init.el"
        startup-init-directory))
in startup.el
maybe solve this (like early-init.el)?

--
tsuucat






^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-12-17 11:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-12 18:10 bug#45197: Saving customizations makes ~/.config/emacs/init (no .el extension) tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-14 17:11 ` Lars Ingebrigtsen
2020-12-14 17:23   ` Robert Pluim
2020-12-14 17:46   ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-14 17:52   ` Eli Zaretskii
2020-12-15  6:14     ` Lars Ingebrigtsen
2020-12-15 16:23       ` Eli Zaretskii
2020-12-16  1:47         ` tsuucat via Bug reports for GNU Emacs, the Swiss army knife of text editors
2020-12-17 11:18           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.