all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Stavros Macrakis" <stavros.macrakis@verizon.net>
Cc: <emacs-devel@gnu.org>
Subject: RE: etags confused with uppercase filenames (on Windows)
Date: Wed, 3 Apr 2002 16:40:51 -0500	[thread overview]
Message-ID: <000501c1db58$3a0055b0$34f3fea9@gazi> (raw)
In-Reply-To: <E16sfb4-0006lH-00@fencepost.gnu.org>

> > 2bis) else, if the file name is all upcase, upcase the builtin file name
suffixes and retry
>
> It would probably be better to apply a bit more fine checks to the
> file name.  For example, I suspect that only file names that fit into
> the DOS 8+3 limitations are upcased like that.  Stavros, can you
> confirm that in your case?

That's probably true, although I've renamed them now.  The main reason I
suggested that a warning would be appropriate is that it took me a few
*years* since I copied over these files to notice that they weren't being
indexed by etags!

On Windows, Emacs seems to accept *.EL as equivalent to *.el, so etags
should, too (although a warning might be a good idea).  In glancing at the
code, I'm not 100% sure that Emacs is completely consistent about this
(depending on the setting of case-fold-search) though....  I have not taken
the time to check thoroughly.

But without investigating this further (I don't think it deserves it!), I
agree with Francesco's suggestions, except for (4), which I would make:

4) if suffix is all upcased, try downcasing, and give a warning if that
succeeds

This is a good idea because .EL is not the standard suffix, and may not work
in all cases (e.g. when the files get moved to another system).  On systems
which only support uppercase filenames (does etags support any such), of
course there should be no warning.

      -s

  reply	other threads:[~2002-04-03 21:40 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`
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 [this message]
  -- 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='000501c1db58$3a0055b0$34f3fea9@gazi' \
    --to=stavros.macrakis@verizon.net \
    --cc=emacs-devel@gnu.org \
    --cc=macrakis@alum.mit.edu \
    /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.