emacs-devel
[Top][All Lists]
Advanced

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

Re: completing-read case problem


From: Lennart Borgman
Subject: Re: completing-read case problem
Date: Mon, 15 Nov 2004 16:35:48 +0100

Case insensitive please! (I am using ms windows so I am biased by my habits
in this case, but I would believe that a lot of users like case insensitive
handling. Compare with mail-addresses for example, they are since long not
case sensitive.)

- Lennart


----- Original Message ----- 
From: "Richard Stallman" <address@hidden>
To: "Markus Rost" <address@hidden>
Cc: <address@hidden>
Sent: Monday, November 15, 2004 3:00 PM
Subject: Re: completing-read case problem


>     > It is unreasonable to use a case-sensitive predicate with
>     > completion-ignore-case non-nil.
>
>     But it can be inconvenient if one has to avoid using a case-sensitive
>     predicate.
>
> Not very much.  You just have to downcase the string first.
>
> It would be inconvenient to change Emacs to remove this requirement,
> and I don't have time to even think about it.
>
>     You get a buffer "*Customize Group: Mouse*" showing no members of the
>     (non-empty) group 'mouse -- which is not what is intended.  This
>     problem appears because of completing-read with non-nil
>     completion-ignore-case in customize-group.  completing-read returns
>     "Mouse", which is not the symbol-name of group 'mouse.
>
> There are two ways to fix this:
>
> 1. Decide that case is significant in custom group names,
> and read them case-sensitively.
>
> 2. Decide that case is not significant in custom group names,
> and that they should all be lower case.
>
> Either one seems ok to me.
> What do others think?
>
>
> _______________________________________________
> Emacs-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-devel
>





reply via email to

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