all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Skip Montanaro <skip.montanaro@gmail.com>
To: Help GNU Emacs <help-gnu-emacs@gnu.org>
Subject: Emacs 27.1 init file not loading
Date: Thu, 20 May 2021 08:10:09 -0500	[thread overview]
Message-ID: <CANc-5UwsmmayV+ciwGBP3=Wwq6aKAN3G2S-b2Tab8oOv7ibv8Q@mail.gmail.com> (raw)

I recently switched from Ubuntu to XUbuntu and in the process lost
Emacs 27.2. The standard repo only had 26.3, so I went looking for
alternative locations and landed here:

https://launchpad.net/~kelleyk/+archive/ubuntu/emacs

That only had 27.1, but I figured "How different could it be?" As it
turns out, it's different in one pretty significant way. Running just
"emacs" from the command line, it fails to find/load
~/.config/emacs/init.el. If I run it like so:

emacs --load ~/.config/emacs/init.el

it does load. I can tell that it doesn't load in the normal case
because I added a couple calls to (message "...") to start and end the
file. They don't show in the minibuffer or the *Messages* buffer
unless I use the more explicit command.

For the time being I just created a symlink from ~/.emacs to
~/.config/emacs/init.el.

Is there a more-or-less standard place to find 27.2 for Debian-like
systems? I know I could download and build Emacs myself, but I'm
getting old and prefer to let the system take care of managing
dependencies and updates. For me the days of compiling and installing
Emacs (or the Linux kernel) on a daily or weekly basis are way in the
past.

Thanks,

Skip



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-20 13:10 Skip Montanaro [this message]
2021-05-20 13:40 ` Emacs 27.1 init file not loading Robert Pluim
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='CANc-5UwsmmayV+ciwGBP3=Wwq6aKAN3G2S-b2Tab8oOv7ibv8Q@mail.gmail.com' \
    --to=skip.montanaro@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.