all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
Subject: Q on read-file-name and completion-ignored-extensions
Date: Wed, 18 Jan 2006 09:44:16 -0800	[thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBOEIICOAA.drew.adams@oracle.com> (raw)

Function `read-file-name' does not seem to respect
`completion-ignored-extensions'. This is true in Emacs 22 and as far back as
Emacs 20. Some questions:

1. Is this on purpose or an old bug?

2. If on purpose, then shouldn't the doc string of
`completion-ignored-extensions' be changed slightly? It says:

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

(BTW, "do completion" or "complete input" would be better than "do
completions", here.)

The case of `read-file-name' itself is neither - it does not produce a list
of completions and it is not a command that completes input.

But when you hit TAB at the prompt from `read-file-name', shouldn't
`minibuffer-complete' respect that variable, according to its doc string?
(TAB is bound to `minibuffer-complete', a "command that does completion".)

If the current behavior is by design, then perhaps the doc string should say
something about this case. I'm not sure what it should say, because I don't
know if `read-file-name' is the only exception to letting "commands that
actually do completion" respect the variable.

             reply	other threads:[~2006-01-18 17:44 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-18 17:44 Drew Adams [this message]
2006-01-18 20:58 ` Q on read-file-name and completion-ignored-extensions 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
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=MEEKKIABFKKDFJMPIOEBOEIICOAA.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.