Homepage | Project |
This package is inspired by the Alpha editor's filesets. filesets.el
adds a new menu to the menubar, each submenu of which holds the files of
a fileset. A fileset is either a list of files, all files matching some
regular expression, a directory tree, or an inclusion group--i.e. files
included by means of a syntactic construct in one master file.
filesets.el
makes it easy to open frequently accessed files. In
conjunction with external viewers for formats like PDF or HTML,
filesets.el
can be used to browse all your documentation.
There are several ways of working on whole filesets. Files can be opened or closed at once; and you can run arbitrary programs or functions on them.
Press on the first item in the submenu to open all files at once. Select "Customize" from the filesets menu to adapt this program to your needs. Select "Edit Filesets" to list the files you're frequently working on.
Usage: 1. Put
(require 'filesets2) (filesets-install t)
into your start-up file. 2. Type M-x filesets-edit or choose "Edit Filesets" from the menu. 3. Save your customizations (or set `filesets-cache-save-often-flag').
You can also install some additional support for `dired' and `ibuffer' using `filesets-support-ibuffer' and `filesets-support-dired' respectively. (`dired' and `ibuffer' have to be loaded at that time.)
New key bindings for `dired' and `ibuffer':
'C-x f A' | add marked buffers to a fileset |
'C-x f a' | add buffer at line to a fileset |
In dired only:
'C-x f v' | display the file at line possibly using an external viewer |
Caveat: Fileset names have to be unique.
Currently supported modes for inclusion groups:
Elisp
Emacs-Wiki
(simple names only)
LaTeX
Documentation: Draft
You need at least 2 files:
pattern
and tree
filesets now
have a "New subdir" and "New file" entry.
filesets-use-file-name-history-flag
fsfind-file-using
; rewrote filesets-ingroup-collect
in order
to get a saner menu hierarchy; renamed filesets-ingroup-path
to
filesets-ingroup-files
; "This file is part of GNU Emacs."
antiword
as external MS Word viewer; "file type
properties" (see filesets-external-viewers
): :ignore-on-open-all
,
:capture-output
, :constraintp
, :constraint-flag
; use fsfind-file
as alias for `filesets-find-or-display-file'; include stubs in inclusion
groups (see filesets-ingroup-patterns
); use
file-name-all-completions
instead of directory-files
; per fileset
verbosity level (rudimentary support);
filesets-sort-case-sensitive-flag
; filesets-external-viewers
:
:open-hook, modifed usage of :args;
filesets-open
and
filesets-close
; filesets-cache-save-often-flag
; run commands on
filesets (see filesets-run-cmd
and filesets-commands
); dormant
filesets
filesets-cache-fill-content-hooks
,
filesets-menu-cache-contents
; changed pdf default viewer from
acroread
to xpdf
; filesets-be-docile-flag; rebuild menu when
updating filesets.el; filesets-be-docile-flag
filesets-menu-cache-file
and filesets-menu-ensure-use-cached
);
filesets-browse-dir-fn
can be a command name; query user if a fileset
with many files should really be opened (see
filesets-query-user-limit
)
:filter-dirs-flag
(see filesets-data
), :file
(single files (wow!), see filesets-data
)
(c) 2003 Thomas Link (last updated Mar 20 2003) | home | top |