GNU bug report logs - #46781
read-buffer-completion-ignore-case: who would still be looking for m when they typed M?

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Thu, 25 Feb 2021 21:10:02 UTC

Severity: wishlist

Full log


View this message in rfc822 format

From: Tomas Nordin <tomasn <at> posteo.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 46781 <at> debbugs.gnu.org
Subject: bug#46781: read-buffer-completion-ignore-case: who would still be looking for m when they typed M?
Date: Sun, 07 Mar 2021 14:21:58 +0100
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> 積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:
>
>> $ emacs -nw -Q --eval '(setq read-buffer-completion-ignore-case t)' Makefile murmurfile BLA
>> C-x b                  ;; switch-to-buffer
>> M                      ;; self-insert-command
>> TAB                    ;; minibuffer-complete
>>
>> I am saying that if I typed "m", then offer me both choices.
>>
>> But I have gone through all the trouble of holding down SHIFT, that
>> means I am serious about only matching uppercase M.
>
> Thanks for the recipe for reproduction.
>
> Yes, I also see this behaviour, and it does indeed behave as documented
> (i.e., case is ignored).
>
> But as you say, that's perhaps not optimal behaviour -- in other cases
> like this in Emacs (like isearch), Emacs stops ignoring case if the user
> enters some upper case characters, and that would make sense here too?
>
> Anybody have opinions here?

I think it make sense too. It makes sense to treat users upper-case
query as a request to temporarily respect case. But I am using
ido-switch-buffer so I don't see this problem really.

--
Tomas




This bug report was last modified 4 years and 102 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.