emacs-devel
[Top][All Lists]
Advanced

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

Re: completing-read case problem


From: Richard Stallman
Subject: Re: completing-read case problem
Date: Mon, 15 Nov 2004 09:00:20 -0500

    > 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?




reply via email to

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