emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Q on read-file-name and completion-ignored-extensions


From: Drew Adams
Subject: RE: Q on read-file-name and completion-ignored-extensions
Date: Wed, 18 Jan 2006 13:46:51 -0800

    > Function `read-file-name' does not seem to respect
    > `completion-ignored-extensions'.

    Works for me and worked in Emacs-20 and Emacs-21 as well.
    Please give a recipe.

emacs -q

(setq completion-ignored-extensions (cons ".el"
completion-ignored-extensions))

cd to a directory with .el files

M-: (read-file-name "foo: ")

Type the beginning of the name of one of the .el files - e.g. app, then TAB.

I see all files starting with "app" in *Completions*, including .el files.
If there is only one matching file, then its name is inserted in the
minibuffer.

In Emacs 20.7 and also in GNU Emacs 22.0.50.1 (i386-mingw-nt5.1.2600)
 of 2005-06-26 on NONIQPC
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc
(3.3) --cflags -I../../jpeg-6b-3/include -I../../libpng-1.2.8/include -I../.
./tiff-3.6.1-2/include -I../../xpm-nox-4.2.0/include -I../../zlib-1.2.2/incl
ude'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]