unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Upgrading built-in packages with newer versions in ELPA
       [not found] <3a846ff5-8dc5-acf2-e9f8-1c8a6cd31e40.ref@yahoo.de>
@ 2022-05-15 15:06 ` R. Diez
  0 siblings, 0 replies; only message in thread
From: R. Diez @ 2022-05-15 15:06 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all:

I am trying to get xref-find-definitions to use several back-ends at the same time, because I want to be able to jump to any definition listed in a TAGS file (etags--xref-backend) and defined in Lisp code (elisp--xref-backend). Sometimes, I make a note of function or variable names in some text file, or in comments, so it is not as easy as automatically choosing the back-end based on the current kind of source file. Including all Emacs Lisp files in the TAGS file with ctags-exuberant is not straightforward, because Emacs installs all its built-in Lisp sources in a compressed form (.el.gz files). Besides, Emacs will probably index its own Lisp files better than any external indexer.

But anyway, during my investigation, I realised that my Emacs 28.1 comes with built-in package xref.el version 1.3.0, and ELPA has already version 1.4.1:

https://elpa.gnu.org/packages/xref.html

list-packages knows that, but it does not offer me an upgrade, probably because the version I have is 'built-in', and the other would come from the 'gnu' (ELPA) repository:

xref  1.4.1 available  gnu  Cross-referencing commands
xref  1.3.0 built-in        Cross-referencing commands

Is there any way to tell Emacs to upgrade all such built-in packages which have a newer version in ELPA?

Or at least, is there a way to let me know? Otherwise, I will probably miss such package upgrades.

Thanks in advance,
   rdiez



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-05-15 15:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <3a846ff5-8dc5-acf2-e9f8-1c8a6cd31e40.ref@yahoo.de>
2022-05-15 15:06 ` Upgrading built-in packages with newer versions in ELPA R. Diez

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