[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [h-e-w] Ignoring certain directories in command-completion
From: |
Jason Rumney |
Subject: |
Re: [h-e-w] Ignoring certain directories in command-completion |
Date: |
11 Oct 2001 21:28:29 +0100 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.107 |
"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
- RE: [h-e-w] print-NT.el, (continued)
- RE: [h-e-w] print-NT.el, Jeff Rancier, 2001/10/10
- Re: [h-e-w] print-NT.el, Jason Rumney, 2001/10/10
- RE: [h-e-w] print-NT.el, Jeff Rancier, 2001/10/10
- Re: [h-e-w] print-NT.el, Jason Rumney, 2001/10/10
- RE: [h-e-w] print-NT.el, Jeff Rancier, 2001/10/11
- Re: [h-e-w] print-NT.el, Alexander G. Burchell, 2001/10/11
- RE: [h-e-w] print-NT.el, Jeff Rancier, 2001/10/11
- Re: [h-e-w] print-NT.el, Jason Rumney, 2001/10/11
- [h-e-w] Ignoring certain directories in command-completion, Jeff Finger, 2001/10/11
- Re: [h-e-w] Ignoring certain directories in command-completion,
Jason Rumney <=
- RE: [h-e-w] print-NT.el, Jeff Rancier, 2001/10/11
RE: [h-e-w] print-NT.el, Jeremy Bowen, 2001/10/11
RE: [h-e-w] print-NT.el, Jeremy Bowen, 2001/10/11