Homepage Project

Filesets

Description
Download
Change Log up to 2.0

Description

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:

Download

Documentation: Draft

You need at least 2 files:

filesets2.el.gz 2.2
The core file. (Change Log)
filesets-emacs.el.gz
If you don't have tellib.el installed.
filesets-tellib.el.gz
If you have tellib.el installed, use this one instead of filesets-emacs.el.
tellib.el.gz
A library of Elisp functions (see tellib).
filesets-suppl.el.gz
For use with older versions of Emacs (<= 21.2).

Change Log up to 2.0

v2.0
Integration with tellib.el; pattern and tree filesets now have a "New subdir" and "New file" entry.
v1.9
filesets-use-file-name-history-flag
v1.8
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."
v1.7
use 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;
v1.6
some incompatible changes have been made that require manual editing of user data (see CompEmacsFilesetsUpdOneSix); minibuffer support for filesets-open and filesets-close; filesets-cache-save-often-flag; run commands on filesets (see filesets-run-cmd and filesets-commands); dormant filesets
v1.5
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
v1.4
improved/changed :tree submenus (e.g. per fileset scanning depth parameter); saving of menu between sessions (see 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)
v1.3
Some optimizations, splitting of long menus, fixed some typos, introduced new ones, improved documentation; new: :filter-dirs-flag (see filesets-data), :file (single files (wow!), see filesets-data)


(c) 2003 Thomas Link (last updated Mar 20 2003) home top