GNU bug report logs - #42765
26.3; project-find-regexp broken in Emacs 26.3

Previous Next

Package: emacs;

Reported by: philipk <at> posteo.net (Philip K.)

Date: Sat, 8 Aug 2020 16:43:02 UTC

Severity: normal

Found in version 26.3

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: "Philip K." <philipk <at> posteo.net>, 42765 <at> debbugs.gnu.org
Cc: João Távora <joaotavora <at> gmail.com>, Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Subject: bug#42765: 26.3; project-find-regexp broken in Emacs 26.3
Date: Mon, 10 Aug 2020 04:17:21 +0300
Hi Philip!

On 08.08.2020 19:42, Philip K. wrote:

> after loading project.el into Emacs 26.3, I noticed that
> project-find-regexp doesn't work, because the xref--show-xrefs function
> has changed it's parameter interpretation. While project.el assumes it
> accepts a function, 26.3's Xref assumes it will recieve a list
> ("xrefs"). There command then fails with a somewhat cryptic error
> message, that probably doesn't make sense for Elisp programmers.

Thank you very much for testing this.

> I managed to fix this by installing a newer Xref version from ELPA, but
> I think this situation should be handled more gracefully. Is there a
> reason that project.el doesn't depend on the newer Xref version?

Unfortunately, that would make project.el and xref recursively depend on 
each other. And apparently that would be a problem: 
https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01615.html

I'm not sure what's the best way to fix this.




This bug report was last modified 4 years and 233 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.