GNU bug report logs -
#20629
25.0.50; Regression: TAGS broken, can't find anything in C++ files.
Previous Next
Reported by: "Jan D." <jan.h.d <at> swipnet.se>
Date: Fri, 22 May 2015 05:59:02 UTC
Severity: normal
Found in version 25.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #170 received at 20629 <at> debbugs.gnu.org (full text, mbox):
On 05/29/2015 09:28 PM, Eli Zaretskii wrote:
> Compatibility aside, I think what most users will want should be the
> default. What Exuberant ctags does now might not yet reflect the
> changes in Emacs, from etags.el's UI to xfer. Once they learn about
> that, they might turn that flag on by default as well.
There's nothing particularly xref-specific in using the one or the other
approach. xref output buffer doesn't display the tag names, only
patterns (although printing the tag names as well can be added).
> For moderate-size projects, the obarray-based completion is
> instantaneous,
Yes. I explicitly didn't mention it. Only the time to build the obarray
the first time, as well as non-obarray based completion. You might be
better positioned to judge whether these are serious.
> I don't think we can safely do that, since different characters can
> appear in identifiers of different languages. By using the qualifier
> string that is natural for the language, we make sure we never get
> conflicts with the identifiers themselves.
The name segments could be escaped WRT those two characters.
> Also, these qualified tags are for human consumption, which is another
> argument on favor of language-specific syntax.
Sure, it's a good argument.
> Which means C++ programmers will probably be confused by them.
They are not hard to learn. IMO, "::" is a bad separator for method
qualifier, since the same operator is used for namespace resolution.
This bug report was last modified 9 years and 69 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.