all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#39132: 28.0.50; dot-emacs init-file not loaded
@ 2020-01-14 13:04 Andreas Röhler
  2020-01-14 14:20 ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-14 13:04 UTC (permalink / raw)
  To: 39132

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))







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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-14 13:04 bug#39132: 28.0.50; dot-emacs init-file not loaded Andreas Röhler
@ 2020-01-14 14:20 ` Robert Pluim
  2020-01-15 11:36   ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-14 14:20 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Tue, 14 Jan 2020 14:04:38 +0100, Andreas Röhler <andreas.roehler@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-14 14:20 ` Robert Pluim
@ 2020-01-15 11:36   ` Andreas Röhler
  2020-01-15 13:06     ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-15 11:36 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


Am 14.01.20 um 15:20 schrieb Robert Pluim:
>>>>>> On Tue, 14 Jan 2020 14:04:38 +0100, Andreas Röhler <andreas.roehler@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.






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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 11:36   ` Andreas Röhler
@ 2020-01-15 13:06     ` Robert Pluim
  2020-01-15 13:18       ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-15 13:06 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 13:06     ` Robert Pluim
@ 2020-01-15 13:18       ` Andreas Röhler
  2020-01-15 13:47         ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-15 13:18 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


Am 15.01.20 um 14:06 schrieb Robert Pluim:
>>>>>> On Wed, 15 Jan 2020 12:36:58 +0100, Andreas Röhler <andreas.roehler@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






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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 13:18       ` Andreas Röhler
@ 2020-01-15 13:47         ` Robert Pluim
  2020-01-15 14:21           ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-15 13:47 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Wed, 15 Jan 2020 14:18:33 +0100, Andreas Röhler <andreas.roehler@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@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 13:47         ` Robert Pluim
@ 2020-01-15 14:21           ` Andreas Röhler
  2020-01-15 15:14             ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-15 14:21 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


Am 15.01.20 um 14:47 schrieb Robert Pluim:
>>>>>> On Wed, 15 Jan 2020 14:18:33 +0100, Andreas Röhler <andreas.roehler@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@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.






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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 14:21           ` Andreas Röhler
@ 2020-01-15 15:14             ` Robert Pluim
  2020-01-15 16:07               ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-15 15:14 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 15:14             ` Robert Pluim
@ 2020-01-15 16:07               ` Andreas Röhler
  2020-01-16  7:36                 ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-15 16:07 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


On 15.01.20 16:14, Robert Pluim wrote:
>>>>>> On Wed, 15 Jan 2020 15:21:53 +0100, Andreas Röhler <andreas.roehler@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








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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-15 16:07               ` Andreas Röhler
@ 2020-01-16  7:36                 ` Robert Pluim
  2020-01-16  8:15                   ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-16  7:36 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Wed, 15 Jan 2020 17:07:58 +0100, Andreas Röhler <andreas.roehler@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@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-16  7:36                 ` Robert Pluim
@ 2020-01-16  8:15                   ` Andreas Röhler
  2020-01-16  9:44                     ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-16  8:15 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


On 16.01.20 08:36, Robert Pluim wrote:
>>>>>> On Wed, 15 Jan 2020 17:07:58 +0100, Andreas Röhler <andreas.roehler@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@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






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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-16  8:15                   ` Andreas Röhler
@ 2020-01-16  9:44                     ` Robert Pluim
  2020-01-16 10:22                       ` Andreas Röhler
  0 siblings, 1 reply; 14+ messages in thread
From: Robert Pluim @ 2020-01-16  9:44 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132

>>>>> On Thu, 16 Jan 2020 09:15:27 +0100, Andreas Röhler <andreas.roehler@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





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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-16  9:44                     ` Robert Pluim
@ 2020-01-16 10:22                       ` Andreas Röhler
  2020-01-16 10:25                         ` Robert Pluim
  0 siblings, 1 reply; 14+ messages in thread
From: Andreas Röhler @ 2020-01-16 10:22 UTC (permalink / raw)
  To: Robert Pluim; +Cc: 39132


On 16.01.20 10:44, Robert Pluim wrote:
>>>>>> On Thu, 16 Jan 2020 09:15:27 +0100, Andreas Röhler <andreas.roehler@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






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

* bug#39132: 28.0.50; dot-emacs init-file not loaded
  2020-01-16 10:22                       ` Andreas Röhler
@ 2020-01-16 10:25                         ` Robert Pluim
  0 siblings, 0 replies; 14+ messages in thread
From: Robert Pluim @ 2020-01-16 10:25 UTC (permalink / raw)
  To: Andreas Röhler; +Cc: 39132-done

>>>>> On Thu, 16 Jan 2020 11:22:52 +0100, Andreas Röhler <andreas.roehler@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@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





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

end of thread, other threads:[~2020-01-16 10:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-14 13:04 bug#39132: 28.0.50; dot-emacs init-file not loaded Andreas Röhler
2020-01-14 14:20 ` Robert Pluim
2020-01-15 11:36   ` Andreas Röhler
2020-01-15 13:06     ` Robert Pluim
2020-01-15 13:18       ` Andreas Röhler
2020-01-15 13:47         ` Robert Pluim
2020-01-15 14:21           ` Andreas Röhler
2020-01-15 15:14             ` Robert Pluim
2020-01-15 16:07               ` Andreas Röhler
2020-01-16  7:36                 ` Robert Pluim
2020-01-16  8:15                   ` Andreas Röhler
2020-01-16  9:44                     ` Robert Pluim
2020-01-16 10:22                       ` Andreas Röhler
2020-01-16 10:25                         ` Robert Pluim

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.