From: Tomas Nordin <tomasn@posteo.net>
To: "Lars Ingebrigtsen" <larsi@gnus.org>,
"積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 46781@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 [thread overview]
Message-ID: <87eegr3xqh.fsf@posteo.net> (raw)
In-Reply-To: <87tupv82np.fsf@gnus.org>
Lars Ingebrigtsen <larsi@gnus.org> writes:
> 積丹尼 Dan Jacobson <jidanni@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
prev parent reply other threads:[~2021-03-07 13:21 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-25 17:32 bug#46781: read-file-name-completion-ignore-case: who would still be looking for m when they typed M? 積丹尼 Dan Jacobson
2021-02-26 6:46 ` Eli Zaretskii
2021-02-26 8:55 ` Lars Ingebrigtsen
2021-02-27 23:38 ` bug#46781: read-buffer-completion-ignore-case: " 積丹尼 Dan Jacobson
2021-02-28 13:44 ` Lars Ingebrigtsen
2021-02-28 17:18 ` Eli Zaretskii
2021-03-01 4:08 ` 積丹尼 Dan Jacobson
2021-03-01 12:43 ` Lars Ingebrigtsen
2021-03-07 13:21 ` Tomas Nordin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eegr3xqh.fsf@posteo.net \
--to=tomasn@posteo.net \
--cc=46781@debbugs.gnu.org \
--cc=jidanni@jidanni.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).