all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <69829b9d-a415-c323-f347-1d187b506012@yandex.ru> (raw)
In-Reply-To: <83efmw4ab2.fsf@gnu.org>

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	other threads:[~2018-01-11 21:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-11  0:07 Ask etags to stop language auto-detection from falling back to Fortran and C? Dmitry Gutov
2018-01-11 16:41 ` Eli Zaretskii
2018-01-11 21:49   ` Dmitry Gutov [this message]
2018-01-12  8:16     ` Eli Zaretskii
2018-01-12  8:23       ` Dmitry Gutov
2018-01-12  9:41         ` Eli Zaretskii
2018-01-12 10:03           ` Dmitry Gutov
2018-01-12 10:41             ` Eli Zaretskii
2018-01-12 12:06               ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69829b9d-a415-c323-f347-1d187b506012@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.