From: raman <raman@google.com>
To: emacs-devel@gnu.org
Subject: package.el, package updates and load-path in long-running emacs
Date: Wed, 24 May 2017 17:15:38 -0700 [thread overview]
Message-ID: <p9137btu6z9.fsf@raman-glaptop2> (raw)
User Scenario
1. You dont restart/kill emacs very often.
2. You use package.el and update packages.
3. This deletes older versions of the updated package.
Now, load-path is full of dirs that dont exist --- worse -- unless you
run package-initialize, the newly updated packages are not found by
commands like find-function.
Suggestion:
At the end of updating packages, we should perhaps run
(progn
(package-initialize)
(setq load-path (remove-if-not #'file-exists-p load-path))
--
--
next reply other threads:[~2017-05-25 0:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-25 0:15 raman [this message]
2017-05-25 5:33 ` package.el, package updates and load-path in long-running emacs John Wiegley
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=p9137btu6z9.fsf@raman-glaptop2 \
--to=raman@google.com \
--cc=emacs-devel@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.