[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 27.1 init file not loading
From: |
Robert Pluim |
Subject: |
Re: Emacs 27.1 init file not loading |
Date: |
Thu, 20 May 2021 15:40:04 +0200 |
>>>>> On Thu, 20 May 2021 08:10:09 -0500, Skip Montanaro
>>>>> <skip.montanaro@gmail.com> said:
Skip> I recently switched from Ubuntu to XUbuntu and in the process lost
Skip> Emacs 27.2. The standard repo only had 26.3, so I went looking for
Skip> alternative locations and landed here:
Skip> https://launchpad.net/~kelleyk/+archive/ubuntu/emacs
Skip> That only had 27.1, but I figured "How different could it be?" As it
Skip> turns out, it's different in one pretty significant way. Running just
Skip> "emacs" from the command line, it fails to find/load
Skip> ~/.config/emacs/init.el. If I run it like so:
Skip> emacs --load ~/.config/emacs/init.el
Skip> it does load. I can tell that it doesn't load in the normal case
Skip> because I added a couple calls to (message "...") to start and end the
Skip> file. They don't show in the minibuffer or the *Messages* buffer
Skip> unless I use the more explicit command.
What's the value of 'user-init-file' when you run emacs normally
(without the symlink below)? Itʼs possible emacs is looking for
'~/.emacs.d/init.el'.
Skip> For the time being I just created a symlink from ~/.emacs to
Skip> ~/.config/emacs/init.el.
Robert
--