all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
@ 2019-08-31 16:33 Erik Hetzner
  2019-08-31 17:56 ` Eli Zaretskii
  2019-09-05 21:29 ` Paul Eggert
  0 siblings, 2 replies; 6+ messages in thread
From: Erik Hetzner @ 2019-08-31 16:33 UTC (permalink / raw)
  To: 37245

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/>.





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

* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
  2019-08-31 16:33 bug#37245: 27.0.50; .emacs.d/init.el not loading for me Erik Hetzner
@ 2019-08-31 17:56 ` Eli Zaretskii
  2019-08-31 18:45   ` Erik Hetzner
  2019-09-05 21:29 ` Paul Eggert
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2019-08-31 17:56 UTC (permalink / raw)
  To: Erik Hetzner; +Cc: 37245

> From: Erik Hetzner <egh@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?





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

* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
  2019-08-31 17:56 ` Eli Zaretskii
@ 2019-08-31 18:45   ` Erik Hetzner
  2019-08-31 18:52     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Erik Hetzner @ 2019-08-31 18:45 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 37245

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@gnu.org> wrote:
> 
> > From: Erik Hetzner <egh@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/>.





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

* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
  2019-08-31 18:45   ` Erik Hetzner
@ 2019-08-31 18:52     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2019-08-31 18:52 UTC (permalink / raw)
  To: Erik Hetzner; +Cc: 37245

> Date: Sat, 31 Aug 2019 11:45:22 -0700
> From: Erik Hetzner <egh@e6h.org>
> Cc: 37245@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.





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

* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
  2019-08-31 16:33 bug#37245: 27.0.50; .emacs.d/init.el not loading for me Erik Hetzner
  2019-08-31 17:56 ` Eli Zaretskii
@ 2019-09-05 21:29 ` Paul Eggert
  2019-09-06 19:56   ` Erik Hetzner
  1 sibling, 1 reply; 6+ messages in thread
From: Paul Eggert @ 2019-09-05 21:29 UTC (permalink / raw)
  To: Erik Hetzner; +Cc: 37245-done

This bug should be fixed by 2019-08-31T21:47:04Z!eggert@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





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

* bug#37245: 27.0.50; .emacs.d/init.el not loading for me
  2019-09-05 21:29 ` Paul Eggert
@ 2019-09-06 19:56   ` Erik Hetzner
  0 siblings, 0 replies; 6+ messages in thread
From: Erik Hetzner @ 2019-09-06 19:56 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 37245-done

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@cs.ucla.edu> wrote:
> 
> This bug should be fixed by
> 2019-08-31T21:47:04Z!eggert@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/>.





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

end of thread, other threads:[~2019-09-06 19:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-08-31 16:33 bug#37245: 27.0.50; .emacs.d/init.el not loading for me Erik Hetzner
2019-08-31 17:56 ` Eli Zaretskii
2019-08-31 18:45   ` Erik Hetzner
2019-08-31 18:52     ` Eli Zaretskii
2019-09-05 21:29 ` Paul Eggert
2019-09-06 19:56   ` Erik Hetzner

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.