help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Ignoring certain directories in command-completion


From: Raymond Zeitler
Subject: Re: [h-e-w] Ignoring certain directories in command-completion
Date: Fri, 12 Oct 2001 14:50:11 -0400

On the WinTel platform, it seems odd that .log files are ignored and that
.exe, .com, .pif, and .lnk are not.

Raymond Zeitler - Senior Design Engineer
http://www.phonon.com
address@hidden

 -----Original Message-----
To: "Jeff Finger" <address@hidden>
Cc: "Emacs Help \(Windows\)" <address@hidden>
Subject: Re: [h-e-w] Ignoring certain directories in command-completion
From: Jason Rumney <address@hidden>
Date: 11 Oct 2001 21:28:29 +0100

"Jeff Finger" <address@hidden> writes:

> I would like for minibuffer completion of file names to ignore all my CVS
> directories. Is there an easy way to make this happen? I tried the obvious
> 
>    (setq completion-ignored-extensions
>         (append (list "CVS" ...) completion-ignored-extensions))

Try:

(add-to-list 'completion-ignored-extensions "CVS/")

Since the match is applied to the end of the filename (I assume, given
the name of the variable) the trailing slash will be important.


I have:

completion-ignored-extensions's value is 

("CVS/" ".o" "~" ".bin" ".bak" ".obj" ".map" ".a" ".ln" ".blg" ".bbl"
".elc" ".lof" ".glo" ".idx" ".lot" ".dvi" ".fmt" ".tfm" ".pdf"
".class" ".fas" ".lib" ".x86f" ".sparcf" ".lo" ".la" ".toc" ".log"
".aux" ".cp" ".fn" ".ky" ".pg" ".tp" ".vr" ".cps" ".fns" ".kys" ".pgs"
".tps" ".vrs")


This is the default value for Emacs 21 BTW.

-- 
Jason Rumney




reply via email to

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