all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: read-buffer-completion-ignore-case
Date: Wed, 06 May 2009 12:00:43 +0900	[thread overview]
Message-ID: <87zldrgckk.fsf@catnip.gol.com> (raw)
In-Reply-To: 000e01c9cdf3$b810b720$0200a8c0@us.oracle.com

"Drew Adams" <drew.adams@oracle.com> writes:
>> Do you really need to know explicitly?  Could you instead just test
>> `completion-ignore-case', which is let-bound to the value of
>> read-buffer-completion-ignore-case inside of read-buffer?
>
> Not sure I follow you. Do you mean compare the values of
> `completion-ignore-case' and `read-buffer-completion-ignore-case', and
> assume that a buffer name is being read if (and only if) they are
> different?

No, I mean, make your code generic, and only pay attention to
`completion-ignore-case', as it will have the correct value in the
various different circumstances.

> For what I have in mind that test wouldn't be sufficient. I really
> want to know whether buffer-name completion is happening.

Why?  Maybe the fact that you want to know indicates the completion
interface is missing something...

-Miles

-- 
Selfish, adj. Devoid of consideration for the selfishness of others.





  reply	other threads:[~2009-05-06  3:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-05 17:46 read-buffer-completion-ignore-case Drew Adams
2009-05-06  2:29 ` read-buffer-completion-ignore-case Miles Bader
2009-05-06  2:38   ` read-buffer-completion-ignore-case Drew Adams
2009-05-06  3:00     ` Miles Bader [this message]
2009-05-06  5:42       ` read-buffer-completion-ignore-case Drew Adams
2009-05-06  7:27         ` read-buffer-completion-ignore-case Miles Bader
2009-05-06  8:29           ` read-buffer-completion-ignore-case Drew Adams
2009-05-06  3:20 ` read-buffer-completion-ignore-case Stefan Monnier

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zldrgckk.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=emacs-devel@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.