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: Dmitry Gutov
Subject: Re: Ask etags to stop language auto-detection from falling back to Fortran and C?
Date: Fri, 12 Jan 2018 00:49:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0

On 1/11/18 7:41 PM, Eli Zaretskii wrote:

There is already such an option: --language=none.  If you have both
files that you do want etags to parse for some language and files that
you don't,

I want etags to detect the language, but without the ridiculous fallback. Like described in its help output:

    ... If no such sequence is found,
    Fortran is tried first; if no tags are found, C is tried next.

then either put all the latter at the end of the list and
precede them with --language=none, or wrap each such file name with
"--language=none FILE --language=auto".  This works because --language
takes effect on files specified after it.

Won't "--language=none" stop it detecting the language based on file extension and the sharp-bang declaration?




reply via email to

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