unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer
@ 2017-11-21 17:40 積丹尼 Dan Jacobson
  2017-11-21 23:33 ` John Mastro
  2017-11-22  2:52 ` 積丹尼 Dan Jacobson
  0 siblings, 2 replies; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-11-21 17:40 UTC (permalink / raw)
  To: 29389

C-x b runs the command switch-to-buffer.

It usually is good guessing names via tab expansion, but today when I
typed

C-x b oc<TAB>

it couldn't find any buffer, so I had to do

C-x b Oc<TAB>

to be able to expand to the "*Occur*" buffer (that I created earlier
using M-x occur.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer
  2017-11-21 17:40 bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer 積丹尼 Dan Jacobson
@ 2017-11-21 23:33 ` John Mastro
  2017-11-22  2:52 ` 積丹尼 Dan Jacobson
  1 sibling, 0 replies; 4+ messages in thread
From: John Mastro @ 2017-11-21 23:33 UTC (permalink / raw)
  To: 29389; +Cc: 積丹尼 Dan Jacobson

積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:
> C-x b runs the command switch-to-buffer.
>
> It usually is good guessing names via tab expansion, but today when I
> typed
>
> C-x b oc<TAB>
>
> it couldn't find any buffer, so I had to do
>
> C-x b Oc<TAB>
>
> to be able to expand to the "*Occur*" buffer (that I created earlier
> using M-x occur.)

You just need to set read-buffer-completion-ignore-case to non-nil.

There are also variables completion-ignore-case and
read-file-name-completion-ignore-case for other completion scenarios.

        John





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer
  2017-11-21 17:40 bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer 積丹尼 Dan Jacobson
  2017-11-21 23:33 ` John Mastro
@ 2017-11-22  2:52 ` 積丹尼 Dan Jacobson
  2017-11-24 14:00   ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2017-11-22  2:52 UTC (permalink / raw)
  To: John Mastro; +Cc: 29389

>>>>> "JM" == John Mastro <john.b.mastro@gmail.com> writes:
JM> 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:
>> C-x b runs the command switch-to-buffer.
JM> You just need to set read-buffer-completion-ignore-case to non-nil.

Thanks! One would hope the switch-to-buffer document string would
mention it...





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer
  2017-11-22  2:52 ` 積丹尼 Dan Jacobson
@ 2017-11-24 14:00   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2017-11-24 14:00 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 29389-done, john.b.mastro

> From: 積丹尼 Dan Jacobson
> 	<jidanni@jidanni.org>
> Date: Wed, 22 Nov 2017 10:52:34 +0800
> Cc: 29389@debbugs.gnu.org
> 
> >>>>> "JM" == John Mastro <john.b.mastro@gmail.com> writes:
> JM> 積丹尼 Dan Jacobson <jidanni@jidanni.org> wrote:
> >> C-x b runs the command switch-to-buffer.
> JM> You just need to set read-buffer-completion-ignore-case to non-nil.
> 
> Thanks! One would hope the switch-to-buffer document string would
> mention it...

It's mentioned in the doc string of read-buffer, which is used to read
and complete on buffer names.  I've now added to the doc string of
switch-to-buffer a reference to read-buffer.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-11-24 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-21 17:40 bug#29389: C-x b oc<TAB> couldn't find "*Occur*" buffer 積丹尼 Dan Jacobson
2017-11-21 23:33 ` John Mastro
2017-11-22  2:52 ` 積丹尼 Dan Jacobson
2017-11-24 14:00   ` Eli Zaretskii

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).