GNU bug report logs - #23164
25.1.50; xref-find-definitions with local tags-file-name fails

Previous Next

Package: emacs;

Reported by: Johan Claesson <johanclaesson <at> bredband.net>

Date: Wed, 30 Mar 2016 20:54:02 UTC

Severity: normal

Found in version 25.1.50

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: Josiah Schwab <jschwab <at> gmail.com>
To: 23164 <at> debbugs.gnu.org
Cc: ofv <at> wanadoo.es, dgutov <at> yandex.ru
Subject: bug#23164: 25.1.50; xref-find-definitions with local tags-file-name fails
Date: Tue, 22 Nov 2016 10:49:19 -0800
Hello,

I receive an error from commands like the original bug

> (setq-local tags-file-name "fruits/TAGS")
> (xref-find-definitions "apple")

and the proposed workaround

> (visit-tags-table "fruits/TAGS" t)
> (xref-find-definitions "apple")

under emacs 25.1 and git master (at c542fab).

I used a trivial TAGS file, available from

  https://github.com/jschwab/emacs-tags-issues/blob/master/fruits/TAGS

but any simple tags file (that doesn't include other TAGS files; see
earlier in this thread) ought to work.

Josiah




This bug report was last modified 8 years and 230 days ago.

Previous Next


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