unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: RE: proposal - minibuffer completion functions
Date: Sun, 30 Mar 2008 20:12:45 -0700	[thread overview]
Message-ID: <004001c892dd$17b0f580$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <87iqz3rjdt.fsf@jurta.org>

> > 2. Funcall the value of a global variable: `completing-read-fn' or
> >    `read-file-name-fn', if non-nil, to perform the completion. 
> >    Else call a default completing function,
> >    `completing-read-default' or `read-file-name-default'.
> 
> We have already `read-file-name-function', `read-buffer-function',
> but I can't find the same for `completing-read'.

Thank you, Juri. This is great news. I wasn't aware of `read-file-name-function'
(new with Emacs 22, apparently). 

There is apparently no `read-file-name-default', but the same effect can be had
by binding `read-file-name-function' to nil.

So now all we need is `completing-read-function'.





      reply	other threads:[~2008-03-31  3:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-26 17:15 proposal - minibuffer completion functions Drew Adams
2008-03-26 21:04 ` Stefan Monnier
2008-03-26 21:21   ` Drew Adams
2008-03-26 21:38     ` Stefan Monnier
2008-03-26 21:44       ` Drew Adams
2008-03-30 22:35 ` Juri Linkov
2008-03-31  3:12   ` Drew Adams [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='004001c892dd$17b0f580$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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).