[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: completing-read doesn't require exact match when completion-ignore-c
From: |
Richard Stallman |
Subject: |
Re: completing-read doesn't require exact match when completion-ignore-case is set |
Date: |
Tue, 07 Sep 2004 20:21:35 -0400 |
Right -- but surely
M-: (read-buffer "Buffer: " nil t)
shouldn't be able to return the name of a non-existing buffer?
Perhaps read-buffer should bind completion-ignore-case to nil,
since buffer names are known to be case-sensitive.
Stefan proposed:
I think what should happen is that if `completion-ignore-case' is set and
`require-match' is also set, completing-read should automatically fix the
case before returning (which IIRC already happens if you hit TAB before
RET).
That would give correct results for buffer names, but only because
buffer names really are case-sensitive. I don't think it is right to
do this for names that really are case-insensitive.