all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: Q on read-file-name and completion-ignored-extensions
Date: Thu, 19 Jan 2006 11:29:53 -0800	[thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICOEKBDBAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwvd5iooxkz.fsf-monnier+emacs@gnu.org>

    >        This variable does not affect lists of possible completions,
    >        but does affect the commands that actually do completions.

    > That doc string contradicts the `read-file-name' behavior, at
    > least by my reading of it. You say "it works", but by my
    > reading it doesn't work, as I pointed out: `minibuffer-complete'
    > is a "command that actually does completion", but it does not
    > respect this variable when you use it in
    > the context of `read-file-name'.

    minibuffer-complete doesn't only do completion.  It also lists
    possible completions.  When it does completion it does take
    completion-ignored-extensions into account.  When it lists completions
    it doesn't.  Just like the docstring says.

1. Sorry, but I don't see what you're describing, as I said. Leaving aside
listing of possible completions in *Completions* (but see #3),
`minibuffer-complete' (TAB) merrily __completes__ a filename that has a
supposedly ignored extension - it does _not_ take the variable into account.
See the recipe I provided. I don't know how to be clearer: "ignored"
filenames are being completed, not simply displayed in *Completions*.

2. Kevin Rodgers seemed to be saying that he does not see on Solaris the
same behavior I see on Windows. That in itself should indicate a problem
somewhere.

3. If display in *Completions* is what is meant in the doc string by "lists
of possible completions", then I wonder why we have such a design. Why would
we display "possible completions" for the user that are in reality
IMpossible completions for him/her? I interpreted "does not affect lists of
possible completions" to mean that functions such as `all-completions' that
return lists of possible completions are not affected by the variable - that
behavior would make sense to me. Showing completion candidates in
*Completions* that cannot be obtained by completion makes no sense to me.

4. If you are right about the meaning of "does not affect lists of possible
completions", then this phrase should be clarified. If it means only
*Completions* display, then just say that: "does not affect possible
completions listed in buffer *Completions*". If it means also things like
`all-completions', then that should be made clear. The phrase is, to say the
least, open to (mis)interpretation.

  reply	other threads:[~2006-01-19 19:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 17:44 Q on read-file-name and completion-ignored-extensions Drew Adams
2006-01-18 20:58 ` Stefan Monnier
2006-01-18 21:46   ` Drew Adams
2006-01-19  0:42     ` Kevin Rodgers
2006-01-19  1:52       ` Drew Adams
2006-01-19  1:13     ` Stefan Monnier
2006-01-19  1:45       ` Drew Adams
2006-01-19 18:59         ` Stefan Monnier
2006-01-19 19:29           ` Drew Adams [this message]
2006-01-19 21:32             ` Luc Teirlinck
2006-01-19 22:10               ` Drew Adams
2006-01-20  0:47                 ` Luc Teirlinck
2006-01-20  1:50                   ` Drew Adams
2006-01-20  2:11                     ` Luc Teirlinck
2006-01-20  2:20                     ` Luc Teirlinck
2006-01-20  2:33                     ` Luc Teirlinck
2006-01-20 16:34                       ` Drew Adams
2006-01-22  3:59                   ` Richard M. Stallman
2006-01-19 23:00           ` Lennart Borgman

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=DNEMKBNJBGPAOPIJOOICOEKBDBAA.drew.adams@oracle.com \
    --to=drew.adams@oracle.com \
    /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.