From: Jim Porter <jporterbugs@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Suggestion: convert dispatchers to use transient
Date: Thu, 3 Feb 2022 17:13:50 -0800 [thread overview]
Message-ID: <719a8a4d-7b88-30ab-e532-d63f6a927ff6@gmail.com> (raw)
In-Reply-To: <87wnibr5hq.fsf@gmail.com>
On 2/3/2022 1:30 PM, Tim Cross wrote:
> Is the transient.el included in Emacs 28 the same as the one on GNU
> ELPA?
Currently, yes. They're both 0.3.7. However, that could obviously change
in the future (e.g. a user on 28.1 would likely have transient 0.3.7,
though GNU ELPA might have transient 0.3.8 if it were released one day).
> I'm assuming it is, but I have to admit I'm still not 100% clear
> on how Emacs handles the situation where you use a library that is both
> built-in and available in ELPA. Does Emacs use the latest version
> available or does it use the built-in version until you explicitly
> select the ELPA versions?
Emacs will use the built-in version of a package provided that package
meets the version requirements. For the version of Org Mode that comes
with Emacs, it would always use the built-in transient (largely because
maintainers wouldn't do it any other way). If you download a newer Org
version from GNU ELPA, I believe it checks the package metadata and then
will fetch transient from GNU ELPA as well if the built-in version is
too old.
(I haven't looked at the code to verify this, but it's how Eglot worked
when I installed it. Eglot wants newer versions of eldoc, xref, project,
etc than Emacs 27.2 provides, so package.el automatically installs them
when installing Eglot.)
- Jim
next prev parent reply other threads:[~2022-02-04 1:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-02-02 11:59 Suggestion: convert dispatchers to use transient Hugo Heagren
2022-02-03 8:54 ` Tom Gillespie
2022-02-03 10:07 ` Tim Cross
2022-02-03 17:51 ` Jim Porter
2022-02-03 21:30 ` Tim Cross
2022-02-04 1:13 ` Jim Porter [this message]
2022-02-04 5:37 ` Christopher M. Miles
2022-02-05 20:18 ` João Pedro de Amorim Paula
2022-02-06 1:49 ` Samuel Wales
2022-02-06 3:28 ` João Pedro de Amorim Paula
2022-02-07 15:37 ` Anders Johansson
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=719a8a4d-7b88-30ab-e532-d63f6a927ff6@gmail.com \
--to=jporterbugs@gmail.com \
--cc=emacs-orgmode@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).