GNU bug report logs - #39132
28.0.50; dot-emacs init-file not loaded

Previous Next

Package: emacs;

Reported by: Andreas Röhler <andreas.roehler <at> easy-emacs.de>

Date: Tue, 14 Jan 2020 13:00:02 UTC

Severity: normal

Tags: notabug

Found in version 28.0.50

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Robert Pluim <rpluim <at> gmail.com>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Tue, 14 Jan 2020 15:20:34 +0100
>>>>> On Tue, 14 Jan 2020 14:04:38 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    Andreas> Emacs seems not to know "~/.emacs" file anymore. echo $XDG_CONFIG_HOME
    Andreas> reports it empty.

If XDG_CONFIG_HOME is empty, then emacs defaults to
~/.config/emacs (and currently will create it, although that is soon
to change).

    Andreas> While reading in NEWS

    Andreas> Emacs will still look for init files in their traditional locations if
    Andreas> "$XDG_CONFIG_HOME/emacs" does not exist, but "~/.emacs.d" or
    Andreas> "~/.emacs" does exist, so invoking Emacs with XDG_CONFIG_HOME='/nowhere'
    Andreas> might be useful if your new-location init files are scrambled, or if
    Andreas> you want to force Emacs to ignore files under 'XDG_CONFIG_HOME' for
    Andreas> some other reason.

Does ~/.config/emacs exist?

Robert




This bug report was last modified 5 years and 128 days ago.

Previous Next


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