From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: emacs-devel@gnu.org
Subject: Re: Q on read-file-name and completion-ignored-extensions
Date: Thu, 19 Jan 2006 18:47:16 -0600 (CST) [thread overview]
Message-ID: <200601200047.k0K0lG025176@raven.dms.auburn.edu> (raw)
In-Reply-To: <DNEMKBNJBGPAOPIJOOICKEKEDBAA.drew.adams@oracle.com>
Drew Adams wrote:
That seems to corroborate my feeling that either there is a bug (on Windows)
or the doc string for `completion-ignored-extensions' is incorrect.
What about the alternative docstring in the patch below? That one
should describe the actual behavior or there _is_ a bug (on Windows).
I can install if desired.
To explain what _should_ happen and _does_ happen on GNU/Linux: I have
four files starting with cin: cinv.tex, cinv.tex~, cinv.aux and cinv.dvi.
All but one end in a string in completion-ignored-extensions. If I do
`C-x C-f cin TAB', it completes to cinv.tex, ignoring the three other
ones. But if I do `C-x C-f cin ?', I get a list of all four. This
feature is meant to allow you to complete to what you _probably_ want
with less typing. It is _not_ meant to prevent you from visiting
files that end in one of these suffixes.
===File ~/dired.c-diff======================================
*** dired.c 01 Oct 2005 08:42:10 -0500 1.119
--- dired.c 19 Jan 2006 18:37:07 -0600
***************
*** 1036,1046 ****
#endif /* VMS */
DEFVAR_LISP ("completion-ignored-extensions", &Vcompletion_ignored_extensions,
! doc: /* *Completion ignores filenames ending in any string in this list.
! Directories are ignored if they match any string in this list which
! ends in a slash.
! This variable does not affect lists of possible completions,
! but does affect the commands that actually do completions. */);
Vcompletion_ignored_extensions = Qnil;
}
--- 1036,1046 ----
#endif /* VMS */
DEFVAR_LISP ("completion-ignored-extensions", &Vcompletion_ignored_extensions,
! doc: /* Completion ignores file names ending in any string in this list.
! It does not ignore them if all possible completions end in one of
! these strings or when displaying a list of completions.
! It ignores directory names if they match any string in this list which
! ends in a slash. */);
Vcompletion_ignored_extensions = Qnil;
}
============================================================
next prev parent reply other threads:[~2006-01-20 0:47 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
2006-01-19 21:32 ` Luc Teirlinck
2006-01-19 22:10 ` Drew Adams
2006-01-20 0:47 ` Luc Teirlinck [this message]
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=200601200047.k0K0lG025176@raven.dms.auburn.edu \
--to=teirllm@dms.auburn.edu \
--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.