When I am coding I find it really useful to be able to perform operations on the group of files that belong to my current code set. I want to perform operations like:
- When opening a file, let me search just among the files in this set.
- Close all the open buffers that belong to this set.
- Search all the files in this set.
- Compile the files in this set.
I have found two ways to do this:
eproject
This tool works great, as long as you can programatically define what files belong in your project.
TODO: link and notes.
Filesets + icicles
With this method you have to build your project manually, but that also gives you greater flexibility in defining what is in your project.
First edit/build your fileset. Use the :pattern where possible. Unlike :tree it is not recursive, so it is faster.
The easy commands:
- filesets-open
- filesets-close
- diredp-fileset
Use C-{ to access a fileset in icicles:
- To open a file: C-U C-x-f C-{ fileset_name portion_of_file_name
http://www.emacswiki.org/emacs/Icicles_-_Support_for_Projects – When opening files, you need to use an absolute file path based method
http://www.emacswiki.org/emacs/Icicles_-_Persistent_Completions#toc5
Glad you liked it. Yes, it doesn’t beat Emacs’s internal help.Your last coenmmt made me think that it could be used as a data source for showing an Emacs command tip from within Emacs every so often.Thanks again.