From: Artur Malabarba <bruce.connor.am@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] master 14bb519: * lisp/emacs-lisp/package.el: New "external" package status
Date: Thu, 7 May 2015 19:47:29 +0100 [thread overview]
Message-ID: <CAAdUY-LAunypMHioXvK-Ua0xCqyuoah4T3dVQj4xuuyYHRrrsw@mail.gmail.com> (raw)
In-Reply-To: <jwv3838tfru.fsf-monnier+emacsdiffs@gnu.org>
2015-05-07 19:17 GMT+01:00 Stefan Monnier <monnier@iro.umontreal.ca>:
>> An external package is any installed package that's not built-in
>> and not from `package-user-dir', which usually means it's from an
>> entry in `package-directory-list'. They are treated much like
>> built-in packages, in that they cannot be through the Package Menu
>> deleted and are not considered for upgrades.
>
> Good, thanks. I'd call them "system packages", tho.
I didn't call them "system" because they might just have been
installed by the user. I can change that if preferred, but that brings
me to another topic.
The docstring of `package-directory-list' says it is intended for
system-wide packages. But it seems to me that it would work perfectly
fine for the user's manually installed packages (in fact, that's what
I'm doing here).
This way, if I want to manually download a package to a directory
that's NOT inside ~/.emacs.d/elpa, I can still have package.el
recognize its presence for the purpose of dependencies and such by
adding the directory to `package-directory-list'.
All the functionality already exists, I'm just wondering if I can
document that on the docstring or if there's a reason why this
variable is specifically meant for system packages.
> And we should allow the user to install another version on top of it.
I think we already do. If a more recent version is available from the
archives it is still shown in the menu. It just won't be automatically
marked for installation with the `U' key.
next prev parent reply other threads:[~2015-05-07 18:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150507151357.4431.95466@vcs.savannah.gnu.org>
[not found] ` <E1YqNUr-0001A9-UH@vcs.savannah.gnu.org>
2015-05-07 18:17 ` [Emacs-diffs] master 14bb519: * lisp/emacs-lisp/package.el: New "external" package status Stefan Monnier
2015-05-07 18:47 ` Artur Malabarba [this message]
2015-05-07 19:12 ` Alan Mackenzie
2015-05-07 19:30 ` Artur Malabarba
2015-05-08 3:32 ` Stefan Monnier
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=CAAdUY-LAunypMHioXvK-Ua0xCqyuoah4T3dVQj4xuuyYHRrrsw@mail.gmail.com \
--to=bruce.connor.am@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.