rumcii / emacs-nav

Automatically exported from code.google.com/p/emacs-nav
GNU General Public License v3.0
0 stars 0 forks source link

Hiding .elc files doesn't seem to work. #63

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open Nav
1.5 Go to a directory containing .elc files, or create a few
2. Press C to customize
3. Add \.elc$ to both boring regex lists.
4. C-x C-s and say yes to save the customizations.
5. Go back to Nav.
6. Press r to refresh.

What is the expected output? What do you see instead?
The elc files should not be visible, but they are.

Original issue reported on code.google.com by issac.tr...@gmail.com on 23 Aug 2009 at 8:09

GoogleCodeExporter commented 8 years ago
It works if you restart emacs, but that isn't good enough.

Original comment by issac.tr...@gmail.com on 24 Aug 2009 at 5:02

GoogleCodeExporter commented 8 years ago
If you toggle hidden files it refreshes this list. 

Type the command .

We could add the (setq nav-filter-regexps nav-no-hidden-boring-file-regexps) to 
the
refresh command. I'm not sure if we need to refresh this after every command 
though. 

What are your thoughts?

Original comment by matthew....@gmail.com on 31 Aug 2009 at 5:56

GoogleCodeExporter commented 8 years ago
That setq does not belong in the refresh command. Instead we should probably 
convert 
nav-filter-regexps to a function (nav-get-filter-regexps).

Original comment by issac.tr...@gmail.com on 2 Sep 2009 at 6:29

GoogleCodeExporter commented 8 years ago
I added .elc files to the list of regexes to filter out.

Soon I want to delegate the filtering to ack, which has a nice, comprehensive 
listing of file patterns to ignore.

Original comment by issac.tr...@gmail.com on 27 Dec 2010 at 6:00