GNU bug report logs - #78489
30.1.50; Using etags, Ada and xref-find-definitions doesn't find definitions

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Mon, 19 May 2025 01:39:02 UTC

Severity: normal

Found in version 30.1.50

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Troy Brown <brownts <at> troybrown.dev>
Cc: 78489 <at> debbugs.gnu.org
Subject: bug#78489: 30.1.50; Using etags, Ada and xref-find-definitions doesn't find definitions
Date: Tue, 27 May 2025 05:33:25 +0300
> From: Troy Brown <brownts <at> troybrown.dev>
> Date: Mon, 26 May 2025 16:13:19 -0400
> Cc: 78489 <at> debbugs.gnu.org
> 
> On Thu, May 22, 2025 at 7:31 AM Eli Zaretskii <eliz <at> gnu.org> wrote:
> >
> > I can propose the patch below instead.  Could you please see if it
> > solves your problems with Ada tags?
> 
> In the testing I've done, this patch works correctly and addresses the
> original problem reported.  However, as I explored this a bit further
> I discovered another issue that involves completion.  After typing
> 'Displ' and then `M-x completion-at-point`, the tag including the
> suffix is completed (i.e., "Display_Message/p" is inserted into the
> buffer, instead of just "Display_Message").

That's how completion on Ada tags worked back when we used etags.el
instead of Xref, so I consider this not to be a regression.  If you
think otherwise, please explain why, or show a recipe which behaves
differently in Emacs 24 and before.

Thanks.




This bug report was last modified 55 days ago.

Previous Next


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