unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-pretest-bug@gnu.org, drew.adams@oracle.com
Subject: Re: 23.0.60; doc string of minibuffer-completing-file-name
Date: Sun, 20 Apr 2008 10:32:32 +0300	[thread overview]
Message-ID: <uej912d7z.fsf@gnu.org> (raw)
In-Reply-To: <jwv4p9x5xk6.fsf-monnier+emacsbugreports@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Sat, 19 Apr 2008 17:46:04 -0400
> Cc: emacs-pretest-bug@gnu.org
> 
> > "Non-nil and non-`lambda' means completing file names."
>  
> > Is that correct? It doesn't seem so, by looking at the C code (but I'm
> > no expert on that).
>  
> Indeed, thank you.  Fixed.

Are you sure?  I see this fragment in minibuf.c:

  /* If this minibuffer is reading a file name, that doesn't mean
     recursive ones are.  But we cannot set it to nil, because
     completion code still need to know the minibuffer is completing a
     file name.  So use `lambda' as intermediate value meaning
     "t" in this minibuffer, but "nil" in next minibuffer.  */
  if (!NILP (Vminibuffer_completing_file_name))
    Vminibuffer_completing_file_name = Qlambda;

So it sounds like `lambda' is used in recursive minibuffers.  Am I
missing something?




  parent reply	other threads:[~2008-04-20  7:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 14:40 23.0.60; doc string of minibuffer-completing-file-name Drew Adams
2008-04-19 21:46 ` Stefan Monnier
2008-04-19 22:02   ` Drew Adams
2008-04-20  2:32     ` Stefan Monnier
2008-04-20  7:32   ` Eli Zaretskii [this message]
2008-04-20  8:38     ` Drew Adams
2008-04-20 19:00     ` 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

  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=uej912d7z.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).