[Top][All Lists]

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

Re: buffer name completion is case-sensitive now

From: David Kastrup
Subject: Re: buffer name completion is case-sensitive now
Date: Sun, 08 Jun 2008 20:24:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

David Kastrup <address@hidden> writes:

> "Drew Adams" <address@hidden> writes:
>> This changes long-standing standard Emacs behavior. It should be
>> reverted.
> Everything except bug fixes changes long-standing standard Emacs
> behavior.  Actually, even bug fixes do...
>> "Probably"? That has been the behavior for decades. How can it be
>> changed willy-nilly, with no discussion?
> A rant is not a discussion.

More to the point: the behavior that you vociferate about is the
long-standing standard Emacs behavior with the exception of some
proprietary platforms.

So the question is why have an exception for that?  You bring up
basically two different cases:

a) file-name related buffers.  Do we want to have case-insensitive
completion on them?  When there is case insensitivity to get them, it
would seem like a plausible choice to have case insensitivity to get at
their buffers.  What when case sensitivity was involved in getting them?
Do we want to have buffer completion offer "Makefile" for "mak" even
then we are on a basically case sensitive system?

b) non file-name related buffers like *mail* and *Messages*.  Do we want
to have them share "*m" as prefix with regard to completion?

Overall, it seems to me like there might a case be made for having case
insensitivity all around.  However, this begs the question:

If "Makefile" and "makefile" and "Makefile.unix" and "makefile.dos" can
be different buffer names, how does case insensitive completion deal
with them nicely?

If it does, case insensitivity on buffer completion could probably be
picked to be the default independent of operating system.  I don't
really have an opinion whether I would like it or not.  So it is
something I'd not object to as an experimental setting (we are not even
in feature freeze mode, let alone default freeze mode).

But since the buffer system is not really tied into the file system, I
think it a reasonable hypothesis that the completion default should not
depend on the file system completion default.

I guess we already have Drew's vote about buffer name case sensitivity
on Windows in (even though he confuses "Windows" and "standard").  Other
opinions both of the proprietary case insensitive file system users as
well as others might be interesting.

David Kastrup, Kriemhildstr. 15, 44793 Bochum

reply via email to

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