emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ask etags to stop language auto-detection from falling back to Fortr


From: Eli Zaretskii
Subject: Re: Ask etags to stop language auto-detection from falling back to Fortran and C?
Date: Fri, 12 Jan 2018 12:41:15 +0200

> Cc: address@hidden
> From: Dmitry Gutov <address@hidden>
> Date: Fri, 12 Jan 2018 13:03:44 +0300
> 
> a) That increases the parsing time. Like, makes in 2-3 times longer in 
> one example I had.
> 
> b) It creates very weird entries, like some multiline undisplayable byte 
> sequence in one example (an OTF file, IIRC), and those do show up in the 
> completions list, for xref-find-references. Or C-u xref-find-definitions.
> 
> c) It does create false positives for real names. For instance, I can 
> search for the definition of 'push' (a method in Ruby or JS), and it 
> will show me these as possible destinations:
> 
> /home/dgutov/xxx/yyy/zzz/public/app/less/bs-less/mixins/grid.less
>   33: .make-xs-column-push(
>   57: .make-sm-column-push(
>   85: .make-md-column-push(
> 113: .make-lg-column-push(

Thanks.  I consider these weak reasons, so it doesn't look a very
urgent issue, especially since running etags on all the files in a
tree is not a very wise thing to do anyway (as mentioned in
http://lists.gnu.org/archive/html/emacs-devel/2018-01/msg00383.html).

However, feel free to file a feature request on debbugs, the
implementation shouldn't be hard.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]