bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#54381: 29.0.50; Automatically load custom-file


From: Pedro Andres Aranda Gutierrez
Subject: bug#54381: 29.0.50; Automatically load custom-file
Date: Mon, 14 Mar 2022 17:19:55 +0100

Eli> custom file if its basename was something special, or perhaps one of a
Eli> small number of fixed names? 

(locate-user-emacs-file "custom.el")

perhaps?

Anyway, I've uploaded the patch so that is is not lost. Maybe in the future someone revisits this and finds it cool.
I just want to get rid of the mandatory (load custom-file) in my init.el and not break other people's current configs.

Again, I'm "preaching Emacs" among my students and the question of why custom-file is not loaded automatically if you
define it is coming up only too often.

These youngsters have made me rethink many things... I like teaching :-) keeps me vigilant

/PA


On Mon, 14 Mar 2022 at 16:26, Robert Pluim <rpluim@gmail.com> wrote:
>>>>> On Mon, 14 Mar 2022 15:15:50 +0200, Eli Zaretskii <eliz@gnu.org> said:
    Eli> Would it perhaps help if we could support automatic loading of the
    Eli> custom file if its basename was something special, or perhaps one of a
    Eli> small number of fixed names?  If we choose a name that is unlikely to
    Eli> be in wide use, all people will need is to rename their files (and
    Eli> modify the init file).

If weʼre going to do it, then it should have one and only one option.

(locate-user-emacs-file "emacs-auto-custom.el")

perhaps?

Robert
--


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

reply via email to

[Prev in Thread] Current Thread [Next in Thread]