> I don't see in which sense this is an example. After all, what harm would
> there be to use sh-mode for files named .BASH_PROFILE or .ZLOGIN ?
> Or even .bAsH_PROfilE ?
> It wouldn't be correct. These file names are case sensitive.
In what sense would it not be correct?
In what sense is any other choice correct?
And more importantly, in what sense would it be less incorrect to use
fundamental-mode for those files?
I agree that it wouldn't be correct for bash to use a file named
".BASH_PROFILE" rather than ".bash_profile", but w.r.t Emacs choosing
a particular mode when reading such a file and in the absence of any other
information about which mode to use, I think that using sh-mode is at least
no worse than fundamental-mode for such a file.
I have seen such wrongly capitalized files occasionally because they went
through some msdosish tool like `winzip' or something. But I've never seen
someone accidentally naming his Perl file ".BASH_PROFILE".
Stefan
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug