GNU bug report logs - #37245
27.0.50; .emacs.d/init.el not loading for me

Previous Next

Package: emacs;

Reported by: Erik Hetzner <egh <at> e6h.org>

Date: Sat, 31 Aug 2019 16:35:01 UTC

Severity: normal

Found in version 27.0.50

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37245 in the body.
You can then email your comments to 37245 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37245; Package emacs. (Sat, 31 Aug 2019 16:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Erik Hetzner <egh <at> e6h.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 31 Aug 2019 16:35:02 GMT) Full text and rfc822 format available.

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

From: Erik Hetzner <egh <at> e6h.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 27.0.50; .emacs.d/init.el not loading for me
Date: Sat, 31 Aug 2019 09:33:49 -0700
Hi all,

My latest install of emacs stopped loading init.el from ~/.emacs.d
I have created a minimal reproduction which follows:

I am using emacs snapshot PPA for ubuntu from
https://launchpad.net/~ubuntu-elisp/+archive/ubuntu/ppa on Ubuntu 18.04

$ ls ~/.config/emacs/
ls: cannot access '/home/egh/.config/emacs/': No such file or directory

$ cat ~/.emacs.d/init.el 
(error "hello world")

$ emacs --no-site-file --no-site-lisp

No error is triggered, and the ~/.config/emacs dir is created.

$ ls ~/.config/emacs/
auto-save-list

Please let me know how else I can help with this.

In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2019-08-30 built on lcy01-amd64-006
System Description: Ubuntu 18.04.3 LTS

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...

Configured using:
 'configure --build=x86_64-linux-gnu --prefix=/usr
 '--includedir=${prefix}/include' '--mandir=${prefix}/share/man'
 '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var
 --disable-silent-rules '--libdir=${prefix}/lib/x86_64-linux-gnu'
 '--libexecdir=${prefix}/lib/x86_64-linux-gnu' --disable-maintainer-mode
 --disable-dependency-tracking --prefix=/usr --sharedstatedir=/var/lib
 --program-suffix=-snapshot --with-modules=yes --with-x=yes
 --with-x-toolkit=gtk3 --with-xwidgets=yes 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs-snapshot-f2DDkN/emacs-snapshot-98518=. -fstack-protector-strong
 -Wformat -Werror=format-security' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro''

Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY
ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS XWIDGETS
LIBSYSTEMD PDUMPER LCMS2 GMP

Important settings:
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs
format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg
epg-config gnus-util rmail rmail-loaddefs text-property-search time-date
subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv
bytecomp byte-compile cconv tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode elisp-mode lisp-mode prog-mode register page
menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core term/tty-colors frame cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
xwidget-internal move-toolbar gtk x-toolkit x multi-tty
make-network-process emacs)

Memory information:
((conses 16 48446 7258)
 (symbols 48 6074 1)
 (strings 32 15664 2316)
 (string-bytes 1 501171)
 (vectors 16 7212)
 (vector-slots 8 76781 7596)
 (floats 8 23 427)
 (intervals 56 232 0)
 (buffers 992 14))

-- 
--
Sent from my free software system <http://fsf.org/>.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37245; Package emacs. (Sat, 31 Aug 2019 17:57:01 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Erik Hetzner <egh <at> e6h.org>
Cc: 37245 <at> debbugs.gnu.org
Subject: Re: bug#37245: 27.0.50; .emacs.d/init.el not loading for me
Date: Sat, 31 Aug 2019 20:56:09 +0300
> From: Erik Hetzner <egh <at> e6h.org>
> Date: Sat, 31 Aug 2019 09:33:49 -0700
> 
> My latest install of emacs stopped loading init.el from ~/.emacs.d

Does it help to set XDG_CONFIG_HOME to a non-existent directory?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37245; Package emacs. (Sat, 31 Aug 2019 18:46:01 GMT) Full text and rfc822 format available.

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

From: Erik Hetzner <egh <at> e6h.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37245 <at> debbugs.gnu.org
Subject: Re: bug#37245: 27.0.50; .emacs.d/init.el not loading for me
Date: Sat, 31 Aug 2019 11:45:22 -0700
Hi Eli,

Thanks for the reply. Yes, it does. My current setup does not set XDG_CONFIG_HOME:

$ env | grep XDG
XDG_MENU_PREFIX=gnome-
XDG_VTNR=2
XDG_SESSION_ID=2
XDG_SESSION_TYPE=x11
XDG_DATA_DIRS=/usr/share/gnome-xorg:/home/egh/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop:/var/lib/snapd/desktop
XDG_SESSION_DESKTOP=gnome-xorg
XDG_CURRENT_DESKTOP=GNOME
XDG_SEAT=seat0
XDG_RUNTIME_DIR=/run/user/1000
XDG_CONFIG_DIRS=/etc/xdg/xdg-gnome-xorg:/etc/xdg
XDG_SESSION_COOKIE=75b6b042b9ef4bbeadd2d4e309906074-1567206459.636260-109597368

But setting

$ export XDG_CONFIG_HOME=/path/to/nowhere

fixes the issue.

best, Erik

On Sat, 31 Aug 2019 10:56:09 -0700,
Eli Zaretskii <eliz <at> gnu.org> wrote:
> 
> > From: Erik Hetzner <egh <at> e6h.org>
> > Date: Sat, 31 Aug 2019 09:33:49 -0700
> > 
> > My latest install of emacs stopped loading init.el from ~/.emacs.d
> 
> Does it help to set XDG_CONFIG_HOME to a non-existent directory?

--
Sent from my free software system <http://fsf.org/>.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37245; Package emacs. (Sat, 31 Aug 2019 18:53:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Erik Hetzner <egh <at> e6h.org>
Cc: 37245 <at> debbugs.gnu.org
Subject: Re: bug#37245: 27.0.50; .emacs.d/init.el not loading for me
Date: Sat, 31 Aug 2019 21:52:37 +0300
> Date: Sat, 31 Aug 2019 11:45:22 -0700
> From: Erik Hetzner <egh <at> e6h.org>
> Cc: 37245 <at> debbugs.gnu.org
> 
> Hi Eli,
> 
> Thanks for the reply. Yes, it does.

Great, then you could use this workaround until the bug in Emacs 27 is
fixed.




Reply sent to Paul Eggert <eggert <at> cs.ucla.edu>:
You have taken responsibility. (Thu, 05 Sep 2019 21:30:03 GMT) Full text and rfc822 format available.

Notification sent to Erik Hetzner <egh <at> e6h.org>:
bug acknowledged by developer. (Thu, 05 Sep 2019 21:30:03 GMT) Full text and rfc822 format available.

Message #19 received at 37245-done <at> debbugs.gnu.org (full text, mbox):

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Erik Hetzner <egh <at> e6h.org>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 37245-done <at> debbugs.gnu.org
Subject: Re: bug#37245: 27.0.50; .emacs.d/init.el not loading for me
Date: Thu, 5 Sep 2019 14:29:07 -0700
This bug should be fixed by 2019-08-31T21:47:04Z!eggert <at> cs.ucla.edu[1], 
which was installed into GNU Emacs master on savannah about five hours 
after your bug report. So I'm boldly closing the bug report; please let 
us know if I'm wrong and the bug is still present for you.

[1] 
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2befb4f0a1494f699f56215d5f28ba055663d881




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37245; Package emacs. (Fri, 06 Sep 2019 19:57:01 GMT) Full text and rfc822 format available.

Message #22 received at 37245-done <at> debbugs.gnu.org (full text, mbox):

From: Erik Hetzner <egh <at> e6h.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 37245-done <at> debbugs.gnu.org
Subject: Re: bug#37245: 27.0.50; .emacs.d/init.el not loading for me
Date: Fri, 06 Sep 2019 12:56:25 -0700
Hi Paul,

Thank you, this has corrected the issue for me.

best, Erik

On Thu, 05 Sep 2019 14:29:07 -0700,
Paul Eggert <eggert <at> cs.ucla.edu> wrote:
> 
> This bug should be fixed by
> 2019-08-31T21:47:04Z!eggert <at> cs.ucla.edu[1], which was installed into
> GNU Emacs master on savannah about five hours after your bug report.
> So I'm boldly closing the bug report; please let us know if I'm wrong
> and the bug is still present for you.
> 
> [1]
> https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=2befb4f0a1494f699f56215d5f28ba055663d881

--
Sent from my free software system <http://fsf.org/>.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 05 Oct 2019 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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