From: Francesco Potorti` <pot@gnu.org>
Cc: stavros.macrakis@verizon.net, emacs-devel@gnu.org,
monnier+gnu/emacs@RUM.cs.yale.edu
Subject: Re: etags confused with uppercase filenames (on Windows)
Date: Wed, 03 Apr 2002 10:43:19 +0200 [thread overview]
Message-ID: <E16sgMR-0003Dm-00@pot.cnuce.cnr.it> (raw)
In-Reply-To: <E16sfeX-0007YX-00@fencepost.gnu.org> (eliz@fencepost.gnu.org)
Does it really make sense to have etags behavior be different on
different platforms? Especially given the fact that some file you are
working on can well come from a Windows system that exports its
filesystem?
I partly agree with Stefan's observations. I am inclined towards
implementing the following behaviour for etags when determining
languages. Each line is considered only if the previous ones did not
yield any match.
1) use the explicitely given language, if any
2) guess it from the file name (usually from the suffix)
3) guess it from the #! interpreter
4) if file name is all upcased, guess it from the file name without
regard to case (usually from the suffix)
5) try Fortran and give a warning if succeded
6) try C/C++ and give a warning (always succeeds)
The differences from the current behaviour are that 4) does not
currently exists, and 5) and 6) do not currently elicit a warning.
Note that 3) is currently used for Perl only, even if other languages
using #! may be added in the future.
Note also that this behaviour is independent of the platform.
next prev parent reply other threads:[~2002-04-03 8:43 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-02 15:19 etags confused with uppercase filenames (on Windows) Francesco Potorti`
2002-04-02 15:46 ` Stavros Macrakis
2002-04-02 16:02 ` Stefan Monnier
2002-04-03 7:57 ` Eli Zaretskii
2002-04-03 8:43 ` Francesco Potorti` [this message]
2002-04-03 15:42 ` Stefan Monnier
2002-04-03 21:23 ` Francesco Potorti`
2002-04-03 15:22 ` Stefan Monnier
2002-04-04 17:36 ` Richard Stallman
2002-04-03 7:54 ` Eli Zaretskii
2002-04-03 21:40 ` Stavros Macrakis
-- strict thread matches above, loose matches on Subject: below --
2002-04-03 22:01 Stavros Macrakis
2002-03-30 1:56 Stavros Macrakis
2002-03-30 8:37 ` Eli Zaretskii
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=E16sgMR-0003Dm-00@pot.cnuce.cnr.it \
--to=pot@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier+gnu/emacs@RUM.cs.yale.edu \
--cc=stavros.macrakis@verizon.net \
/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.