emacs-devel
[Top][All Lists]
Advanced

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

Re: Foreign file names on MS-Windows


From: Stefan Monnier
Subject: Re: Foreign file names on MS-Windows
Date: Sun, 23 Mar 2008 21:15:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> >> I.e. why fiddle with Vw32_downcase_file_names?
>> 
>> > Because 8+3 aliases are reported in all caps, as the comment says, so
>> > instead of "some foreign file name.mp3" you get something like
>> > "ABCDE~45.MP3", and I fear that not every alist in Emacs that supports
>> > file recognition by extension includes both lower- and upper-case
>> > variants.  Also, lower-casing the 8+3 aliases makes them slightly less
>> > ugly, IMO.
>> 
>> The ugliness factor is irrelevant: those files are ugly anyway, and
>> having them in all-caps makes it arguably (to me) more clear what's
>> going on.
>> 
>> But the issue of recognition of all-caps extension is a good argument,
>> that's the one that should be in the comment.

> Is it worth the trouble to downcase only the extension?

I never suggested such a thing.  I just meant to say that downcasing is
worthwhile because of the extension-matching done in the likes of
auto-mode-alist, but these don't only work on the extension anyway.
I.e. your code is fine, it's just the comment that doesn't give the good
reason for it.


        Stefan




reply via email to

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