emacs-devel
[Top][All Lists]
Advanced

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

Re: bug with file name completing


From: Andreas Schwab
Subject: Re: bug with file name completing
Date: Fri, 07 Oct 2005 11:37:27 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux)

Werner LEMBERG <address@hidden> writes:

> Create an empty directory `foo' in the current directory, then put two
> empty files `bar.ps' and `bar.pdf' into it.  If using, say,
> `insert-file', completing in the minibuffer doesn't work as expected.
> Pressing `foo/', then <TAB>, Emacs incorrectly completes to
> `foo/bar.ps' while it should be `foo/bar.p' only, and repeated
> pressing of <TAB> should offer a menu with both `bar.ps' and
> `bar.pdf' as possible completions.

completion-ignored-extensions is a variable defined in `C source code'.
Its value is 
(".svn/" "CVS/" ".o" "~" ".bin" ".lbin" ".so" ".a" ".ln" ".blg" ".bbl" ".elc" 
".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf" ".class" ".fas" ".lib" 
".mem" ".x86f" ".sparcf" ".fasl" ".ufsl" ".fsl" ".dxl" ".pfsl" ".dfsl" ".lo" 
".la" ".gmo" ".mo" ".toc" ".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" 
".fns" ".kys" ".pgs" ".tps" ".vrs" ".pyc" ".pyo")


Documentation:
*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.

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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