Werner LEMBERG <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
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."


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to