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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 39132 in the body.
You can then email your comments to 39132 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#39132; Package emacs. (Tue, 14 Jan 2020 13:00:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 14 Jan 2020 13:00:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; dot-emacs init-file not loaded
Date: Tue, 14 Jan 2020 14:04:38 +0100
Emacs seems not to know "~/.emacs" file anymore. echo $XDG_CONFIG_HOME 
reports it empty.

While reading in NEWS

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

When evaluating "~/.emacs" by hand all went fine.

Thanks,
Andreas


In GNU Emacs 28.0.50 (build 1, i686-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2020-01-10 built on sprache
Repository revision: 17cfd708575c351d030f8b05c5921d1867028d79
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.11604000
System Description: Debian GNU/Linux 8 (jessie)

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
user-error: End of history; no default available [2 times]

Configured using:
 'configure --with-modules --with-mailutils'

Configured features:
XPM JPEG TIFF GIF PNG SOUND DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL
GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM
MODULES THREADS PDUMPER GMP

Important settings:
  value of $LANG: de_DE.utf8
  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
  blink-cursor-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 byte-opt gv bytecomp byte-compile cconv 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
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 tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer 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
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 dynamic-setting system-font-setting font-render-setting
move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 8 135605 9694)
 (symbols 24 28125 1)
 (strings 16 59528 2464)
 (string-bytes 1 918700)
 (vectors 8 10137)
 (vector-slots 4 138251 14348)
 (floats 8 22 38)
 (intervals 28 224 15)
 (buffers 568 12)
 (heap 1024 11827 834))






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Tue, 14 Jan 2020 14:21:01 GMT) Full text and rfc822 format available.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 11:38:01 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Wed, 15 Jan 2020 12:36:58 +0100
Am 14.01.20 um 15:20 schrieb Robert Pluim:
>>>>>> 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


No, doesn't exist. Just ~/.config with a plenty of other stuff.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 13:07:02 GMT) Full text and rfc822 format available.

Message #14 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: Wed, 15 Jan 2020 14:06:01 +0100
>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    >> Does ~/.config/emacs exist?

    Andreas> No, doesn't exist. Just ~/.config with a plenty of other stuff.

Then I donʼt understand what's going on. What is your value of
'user-emacs-directory'?

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 13:19:01 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Wed, 15 Jan 2020 14:18:33 +0100
Am 15.01.20 um 14:06 schrieb Robert Pluim:
>>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      >> Does ~/.config/emacs exist?
>
>      Andreas> No, doesn't exist. Just ~/.config with a plenty of other stuff.
>
> Then I donʼt understand what's going on. What is your value of
> 'user-emacs-directory'?
>
> Robert


user-emacs-directory is a variable defined in ‘subr.el’.
Its value is "~/.emacs.d/"

  Probably introduced at or before Emacs version 22.1.

---

Thanks for your care,

Andreas





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 13:49:02 GMT) Full text and rfc822 format available.

Message #20 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: Wed, 15 Jan 2020 14:47:56 +0100
>>>>> On Wed, 15 Jan 2020 14:18:33 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    Andreas> Am 15.01.20 um 14:06 schrieb Robert Pluim:
    >>>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
    >> >> Does ~/.config/emacs exist?
    >> 
    Andreas> No, doesn't exist. Just ~/.config with a plenty of other stuff.
    >> 
    >> Then I donʼt understand what's going on. What is your value of
    >> 'user-emacs-directory'?
    >> 
    >> Robert


    Andreas> user-emacs-directory is a variable defined in ‘subr.el’.
    Andreas> Its value is "~/.emacs.d/"

Hmm, so emacs should be attempting to load ~/.emacs.d/init.el or
~/.emacs in that case.

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 14:23:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Wed, 15 Jan 2020 15:21:53 +0100
Am 15.01.20 um 14:47 schrieb Robert Pluim:
>>>>>> On Wed, 15 Jan 2020 14:18:33 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      Andreas> Am 15.01.20 um 14:06 schrieb Robert Pluim:
>      >>>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      >> >> Does ~/.config/emacs exist?
>      >>
>      Andreas> No, doesn't exist. Just ~/.config with a plenty of other stuff.
>      >>
>      >> Then I donʼt understand what's going on. What is your value of
>      >> 'user-emacs-directory'?
>      >>
>      >> Robert
>
>
>      Andreas> user-emacs-directory is a variable defined in ‘subr.el’.
>      Andreas> Its value is "~/.emacs.d/"
>
> Hmm, so emacs should be attempting to load ~/.emacs.d/init.el or
> ~/.emacs in that case.
>
> Robert


Don't see an init.el in emacs.d.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 15:15:02 GMT) Full text and rfc822 format available.

Message #26 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: Wed, 15 Jan 2020 16:14:21 +0100
>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

      Andreas> Don't see an init.el in emacs.d.

Then I donʼt know what's going on. Does 'strace emacs' give any clues
as to which file(s) Emacs might be trying to read?

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Wed, 15 Jan 2020 16:03:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Wed, 15 Jan 2020 17:07:58 +0100
On 15.01.20 16:14, Robert Pluim wrote:
>>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>        Andreas> Don't see an init.el in emacs.d.
>
> Then I donʼt know what's going on. Does 'strace emacs' give any clues
> as to which file(s) Emacs might be trying to read?
>
> Robert

My .emacs serves as dispatch. Will send it with privat mail. Maybe you 
can spot the reason there.

Thanks again,

Andreas







Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Thu, 16 Jan 2020 07:38:02 GMT) Full text and rfc822 format available.

Message #32 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: Thu, 16 Jan 2020 08:36:59 +0100
>>>>> On Wed, 15 Jan 2020 17:07:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    Andreas> On 15.01.20 16:14, Robert Pluim wrote:
    >>>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
    Andreas> Don't see an init.el in emacs.d.
    >> 
    >> Then I donʼt know what's going on. Does 'strace emacs' give any clues
    >> as to which file(s) Emacs might be trying to read?
    >> 
    >> Robert

    Andreas> My .emacs serves as dispatch. Will send it with privat mail. Maybe you
    Andreas> can spot the reason there.

Now Iʼm confused. I thought you said Emacs wasn't loading .emacs? What
good would me looking at it do?

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Thu, 16 Jan 2020 08:11:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Thu, 16 Jan 2020 09:15:27 +0100
On 16.01.20 08:36, Robert Pluim wrote:
>>>>>> On Wed, 15 Jan 2020 17:07:58 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      Andreas> On 15.01.20 16:14, Robert Pluim wrote:
>      >>>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      Andreas> Don't see an init.el in emacs.d.
>      >>
>      >> Then I donʼt know what's going on. Does 'strace emacs' give any clues
>      >> as to which file(s) Emacs might be trying to read?
>      >>
>      >> Robert
>
>      Andreas> My .emacs serves as dispatch. Will send it with privat mail. Maybe you
>      Andreas> can spot the reason there.
>
> Now Iʼm confused. I thought you said Emacs wasn't loading .emacs? What
> good would me looking at it do?
>
> Robert


Was afraid my diagnose might be wrong. If something in .emacs prevents 
further loading, how can I be sure it was accessed at all?

Best,

Andreas





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Thu, 16 Jan 2020 09:45:02 GMT) Full text and rfc822 format available.

Message #38 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: Thu, 16 Jan 2020 10:44:43 +0100
>>>>> On Thu, 16 Jan 2020 09:15:27 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    Andreas> Was afraid my diagnose might be wrong. If something in .emacs prevents
    Andreas> further loading, how can I be sure it was accessed at all?

By running 'strace emacs' and looking for calls that access .emacs

Robert




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#39132; Package emacs. (Thu, 16 Jan 2020 10:18:02 GMT) Full text and rfc822 format available.

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

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: Robert Pluim <rpluim <at> gmail.com>
Cc: 39132 <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Thu, 16 Jan 2020 11:22:52 +0100
On 16.01.20 10:44, Robert Pluim wrote:
>>>>>> On Thu, 16 Jan 2020 09:15:27 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
>      Andreas> Was afraid my diagnose might be wrong. If something in .emacs prevents
>      Andreas> further loading, how can I be sure it was accessed at all?
>
> By running 'strace emacs' and looking for calls that access .emacs
>
> Robert


Okay, got it: Turns out being a typo in my bash-alias. There was a "-q" 
where it shouldn't be.

Thanks and sorry for the noise.

Andreas





Reply sent to Robert Pluim <rpluim <at> gmail.com>:
You have taken responsibility. (Thu, 16 Jan 2020 10:26:02 GMT) Full text and rfc822 format available.

Notification sent to Andreas Röhler <andreas.roehler <at> easy-emacs.de>:
bug acknowledged by developer. (Thu, 16 Jan 2020 10:26:02 GMT) Full text and rfc822 format available.

Message #46 received at 39132-done <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-done <at> debbugs.gnu.org
Subject: Re: bug#39132: 28.0.50; dot-emacs init-file not loaded
Date: Thu, 16 Jan 2020 11:25:12 +0100
>>>>> On Thu, 16 Jan 2020 11:22:52 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:

    Andreas> On 16.01.20 10:44, Robert Pluim wrote:
    >>>>>>> On Thu, 16 Jan 2020 09:15:27 +0100, Andreas Röhler <andreas.roehler <at> easy-emacs.de> said:
    Andreas> Was afraid my diagnose might be wrong. If something in .emacs prevents
    Andreas> further loading, how can I be sure it was accessed at all?
    >> 
    >> By running 'strace emacs' and looking for calls that access .emacs
    >> 
    >> Robert


    Andreas> Okay, got it: Turns out being a typo in my bash-alias. There was a
    Andreas> "-q" where it shouldn't be.

    Andreas> Thanks and sorry for the noise.

No worries. Closing the bug.

Robert




Added tag(s) notabug. Request was from Robert Pluim <rpluim <at> gmail.com> to control <at> debbugs.gnu.org. (Thu, 16 Jan 2020 10:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Feb 2020 12:24:06 GMT) Full text and rfc822 format available.

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

Previous Next


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