Path: utzoo!utgpu!water!watmath!uunet!bu-cs!bloom-beacon!tut.cis.ohio-state.edu!mailrus!rutgers!labrea!agate!ucbvax!ucdavis!ucdavis.ucdavis.edu!austin From: austin@iris.ucdavis.edu (Darren Austin) Newsgroups: gnu.emacs Subject: File name completion problem Message-ID: Date: 10 Oct 88 08:08:37 GMT Sender: uucp@ucdavis.ucdavis.edu Distribution: gnu Organization: UC Davis Division of Computer Science Lines: 31 Hi there, I am having a problem doing something in GNU Emacs 18.52 that I think should be very easy. When doing filename completion it would be really nice if I could filter out what is considered a completion. It would be really nice if I didn't have to see *.o, and *.elc files (files which I would never want to edit directly) in the completion. I found the variable "completion-ignored-extensions" which is supposed to be a list of string endings that I do not want to see in my completions. I tried the following from my *scratch* buffer: (setq completion-ignored-extensions '(".elc .o")) But it still showed *.elc files in the completion. Am I doing something wrong here? Also, it would be real nice to be able to ignore dot files and directories as well. Is there an easy way to do this? If not, I am willing to write the elisp code necessary to filter the completions, but I would rather not re-invent the wheel. Thanks for your time, --Darren -- ______________________________________________________________________ Darren Austin | "Memo to myself: UC Davis Division of Computer Science | Do the dumb things I gotta do; austin@clover.ucdavis.edu | Touch the puppet head" | --They Might Be Giants ______________________________________________________________________