GNU bug report logs - #32510
xref-find-definitions should return file names, too

Previous Next

Package: emacs;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Thu, 23 Aug 2018 15:33:02 UTC

Severity: wishlist

Tags: patch

Found in version 26.1

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#32510: closed (xref-find-definitions should return file
 names, too)
Date: Sat, 03 Aug 2019 10:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 03 Aug 2019 13:00:36 +0300
with message-id <83o916efgb.fsf <at> gnu.org>
and subject line Re: bug#32510: acknowledged by developer (control message for bug #32510)
has caused the debbugs.gnu.org bug report #32510,
regarding xref-find-definitions should return file names, too
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
32510: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32510
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: <bug-gnu-emacs <at> gnu.org>
Subject: xref-find-definitions should return file names, too
Date: Thu, 23 Aug 2018 16:32:21 +0100
Package: emacs
Version: 26.1
Severity: wishlist

Hello,

It would be nice if xref-find-definitions returned files in
addition to language-specific "definitions".  For example:

M-. foo-bar.adb RET

should open the file foo-bar.adb (wherever it is in the
potentially complex directory structure of the project) and
leave point at the beginning of the file.

This is a feature of find-tag but find-tag is now deprecated
in favor of xref-find-definitions; so this feature is missing
and xref-find-definitions is not yet a complete replacement for
find-tag.

Thanks for consideration.

-- 
Ludovic Brenta.



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 32510-done <at> debbugs.gnu.org, ludovic <at> ludovic-brenta.org
Subject: Re: bug#32510: acknowledged by developer (control message for bug
 #32510)
Date: Sat, 03 Aug 2019 13:00:36 +0300
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Cc: 32510 <at> debbugs.gnu.org
> Date: Tue, 30 Jul 2019 17:00:28 +0300
> 
> On 30.07.2019 3:06, Dmitry Gutov wrote:
> > The full proposed patch is below.
> 
> I've pushed that change now to master. Please try it out.

Thanks, it LGTM, so I'm closing the bug.


This bug report was last modified 5 years and 351 days ago.

Previous Next


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