all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Skip Montanaro <skip.montanaro@gmail.com>
Cc: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Re: Emacs 27.1 init file not loading
Date: Thu, 20 May 2021 15:40:04 +0200	[thread overview]
Message-ID: <874kex5xsb.fsf@gmail.com> (raw)
In-Reply-To: <CANc-5UwsmmayV+ciwGBP3=Wwq6aKAN3G2S-b2Tab8oOv7ibv8Q@mail.gmail.com> (Skip Montanaro's message of "Thu, 20 May 2021 08:10:09 -0500")

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



  reply	other threads:[~2021-05-20 13:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 13:10 Emacs 27.1 init file not loading Skip Montanaro
2021-05-20 13:40 ` Robert Pluim [this message]
2021-05-20 20:27   ` Skip Montanaro
2021-05-21  9:01     ` Robert Pluim
2021-05-20 13:47 ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874kex5xsb.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=skip.montanaro@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.