unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* dynamic completion-ignored-extensions
@ 2008-07-18  0:51 Kevin Ryde
  2008-07-20 14:53 ` Kevin Rodgers
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Ryde @ 2008-07-18  0:51 UTC (permalink / raw)
  To: help-gnu-emacs

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?




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-07-24  0:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-18  0:51 dynamic completion-ignored-extensions Kevin Ryde
2008-07-20 14:53 ` Kevin Rodgers
2008-07-24  0:43   ` Kevin Ryde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).