File-handling elisp

buffer-file-sync.el
Make sure that buffers match the file contents. Useful for catching up with changes made outside emacs (or by another emacs).
copy-directory.el
Copy the files in a directory, copying only those that were not there already.
filename-cases.el
Try to fix up filename cases (when spoilt by case-insensitive OSes)
filenames-in-buffers.el
Find the file whose name point is on, and other things like that.
filenames-in-env.el
Put environment variables into filenames where possible. For a given set of environment variable names, this puts $VARIABLE into the filename string -- the converse of substitute-in-file-name.
common-directory.el
Special handling of files in a directory named by the environment variable COMMON. This is the directory that I shuttle between my machines, using a USB key. I put some advice on the functions for renaming and deleting files, so the other machines don't re-instate them. Also contains code for spotting and deleting the "Copy of" files that Windows' copy programs sometimes make (at least, I think that's what makes them).
filenames-under-tags.el
Find a file of a given short name (last part of name) amongst directories for which you have tag files. (Can be useful in picking through compiler output when not enough of the pathname is given.)
file-name-insertions.el
Insert the name of the file in the other window, etc (often useful in shell buffers)
multi-find-file.el
Find multiple files in one command.
pseudo-grep.el
Does something a bit like grep, but entirely within emacs.
removable-media.el
Intended for use with USB storage devices with WinEmacs, where a file may appear on different drives on different occasions.
with-file.el
Perform an operation on a file, killing the buffer afterwards if it was not being visited before, and doing other similar tidying-up.

[My elisp index] [My emacs index] [My computing index] [My home page]

Contact me
Last modified: Thu Sep 6 16:01:21 IST 2007