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

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

dynamic completion-ignored-extensions


From: Kevin Ryde
Subject: dynamic completion-ignored-extensions
Date: Fri, 18 Jul 2008 10:51:57 +1000
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2 (gnu/linux)

Is there a way to have a kind of dynamic completion-ignored-extensions
so that for instance a .c file is ignored if there's a .xs of the same
name?  Or even a kind of programmatic ignore so Makefile is not offered
if it seems to be in a build directory of some flavour (and therefore a
generated file).

I tried sticking a defadvice on file-name-completion, but in emacs22 it
doesn't seem to be reached.  I guess read-file-name is C code and
bypasses advice, or something.  Is there another filename reader that
could be could be easily pressed into service and customized?




reply via email to

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