File: filesets.el.html
Define filesets, which can be opened or saved with the power of one or two mouse clicks only. A fileset is either a list of files, a file pattern, a base directory and a search pattern (for files), or an inclusion group (i.e. a base file including other files).
Usage:
1. Put (filesets-init) in your init file.
2. Type ;; M-x filesets-edit or choose "Edit Filesets" from the menu.
3. Save your customizations.
Caveat: Fileset names have to be unique.
Filesets.el adds a nifty filesets menu to your menubar. If you change your filesets on the fly, don't forget to select "Save Filesets" from the menu.
Pressing on the first item in the submenu will open all files at once.
Define your own function, e.g. browse-url, for opening a fileset's
files. Or define external viewers for opening files with other
programs. See filesets-external-viewers.
BTW, if you close a fileset, files, which have been changed, will
be silently saved. Change this behavior by setting
filesets-save-buffer-function.
Defined variables (40)
filesets-be-docile-flag | Non-nil means don’t complain if a file or a directory doesn’t exist. |
filesets-browse-dir-function | A function or command used for browsing directories. |
filesets-cache-fill-content-hook | Hook run when writing the contents of filesets’ cache file. |
filesets-cache-hostname | Filesets’ cached system name. |
filesets-cache-hostname-flag | Non-nil means cache the hostname. |
filesets-cache-save-often-flag | Non-nil means save buffer on every change of the filesets menu. |
filesets-cache-version | Filesets’ cached version number. |
filesets-commands | Commands to run on filesets. |
filesets-data | Fileset definitions. |
filesets-external-viewers | Alist of file patterns and external viewers. |
filesets-find-file-delay | Delay before calling ‘find-file’. |
filesets-has-changed-flag | Non-nil means some fileset definition has changed. |
filesets-ignore-next-set-default | List of custom variables for which the next ‘set-default’ will be ignored. |
filesets-ingroup-cache | A plist containing files and their ingroup data. |
filesets-ingroup-files | List of files already processed when searching for included files. |
filesets-ingroup-patterns | Inclusion group definitions. |
filesets-max-entry-length | Truncate names of split submenus to this length. |
filesets-max-submenu-length | Maximum length of submenus. |
filesets-menu-before | The name of a menu before which this menu should be added. |
filesets-menu-cache | The whole filesets menu. |
filesets-menu-cache-contents | Stuff we want to save in ‘filesets-menu-cache-file’. |
filesets-menu-cache-file | File to be used for saving the filesets menu between sessions. |
filesets-menu-ensure-use-cached | Make sure (X)Emacs uses filesets’ cache. |
filesets-menu-in-menu | Use that instead of ‘current-menubar’ as the menu to change. |
filesets-menu-name | Filesets’ menu name. |
filesets-menu-path | The menu under which the filesets menu should be inserted. |
filesets-menu-shortcuts-flag | Non-nil means to prepend menus with hopefully unique shortcuts. |
filesets-menu-shortcuts-marker | String for marking menu shortcuts. |
filesets-menu-use-cached-flag | Non-nil means use cached data. |
filesets-open-file-function | The function used for opening files. |
filesets-output-buffer-flag | Non-nil means the current buffer is an output buffer created by filesets. |
filesets-query-user-limit | Query the user before opening a fileset with that many files. |
filesets-save-buffer-function | The function used to save a buffer. |
filesets-sort-case-sensitive-flag | Non-nil means sorting of the filesets menu is case sensitive. |
filesets-sort-menu-flag | Non-nil means sort the filesets menu alphabetically. |
filesets-submenus | An association list with filesets menu data. |
filesets-tree-max-level | Maximum scan depth for directory trees. |
filesets-update-cache-file-flag | Non-nil means the cache needs updating. |
filesets-updated-buffers | A list of buffers with updated menu bars. |
filesets-verbosity | An integer defining the level of verbosity. |