Emacs bits

This is a collection of various Emacs hacks, mostly useful enhancements for the released Emacs or stuff that's been rejected for the development version ☹.

NB. Some of these files have non-ASCII encodings (see their coding cookies), I think either iso-2022-7bit or utf-8. You probably want to download these directly, since the charset won't/can't be reported correctly by the server.

auto-crypt.tgz
Patches to provide automatic handling of GNU GPG-encrypted files, as mentioned in Emacs' TODO.
autocap.el
Autocapitalization of sentence beginnings.
bikeemacs.py.diff
Patch for Emacs integration of the Bicycle Repair Man tool for Python (version 0.9) to work correctly with tabs in the source.
cfengine.el
Major mode for editing GNU Cfengine configuration files. (Included in the Emacs development source.)
cif.el
Major mode for editing CIF files. (Of interest to crystallographers.)
CC mode changes for PHP, JavaScript, C#
Preliminary patch to add PHP, JavaScript and C# support to CC mode. The patch is against the version from Emacs 22.1, and includes some fixes to make it work in Emacs 21. There's also an archive of the patched CC mode, byte-compiled for Emacs 21. This Probably needs someone to work on it. NB. It doesn't deal with PHP embedded in HTML—look at html-php.el for that.
diary-outlook.el
For snarfing mailed MS Outlook appointments into Emacs diary. (Included in the Emacs development source.)
dir-locals.el
Implements setting local variables for all files found in a directory tree.
dynamic-loading
Original patch against Emacs 21 for dynamic loading of Emacs features implemented in C, and another patch for Emacs 22. See the README.
eldoc.el
Emacs 22's eldoc.el hacked to work in Emacs 21.
emacs.py
Auxiliary file for use with python.el.
Abstraction of the tags mechanism
Patch for Emacs 22 Etags that provides hooks for language modes to use their own mechanisms for navigating to definitions with M-.
fx-misc.el
Miscellaneous small functions/settings that might be useful to others.
haskell-latex.el
Major mode for editing literate Haskell with the LaTeX convention using multi-mode.el and haskell-latex.el.
haskell.el
Major mode for editing Haskell, intended for use with haskell-latex.el.
html-php.el
Multi-mode editing of PHP embedded in HTML.
Flattened Imenu
Patch for Emacs 22 Imenu that avoids finding positions in strings and comments and provides command imenu-all that works with a flattened version of the Imenu structures, so that you can do completion interactively, regardless of whether the name is a function/variable/whatever.
indent-tabs-maybe.el
Guess whether to use indent-tabs-mode when finding files.
ldap-mode.el
Major modes for editing LDAP schema and LDIF files.
ldif-ns.el
Some code for mangling name service database entries to LDIF format. Requires ldap-mode.el.
Mailcap tidy-up
Patch against Emacs 22 to tidy up mailcap.el and provide a new command for viewing (used by Dired).
malloc-changes.tgz
Replacing the old gmalloc.c with (Doug Lea-based) ptmalloc so that most systems get the same memory allocation as glibc-based ones.
maths-menu.el
For inserting maths characters from a menu. Probably requires Emacs 22 built with the Gtk toolkit.
multi-mode.el
Support for multiple major modes in ‘a’ buffer.
noweb-mode.el.diff
A patch for the noweb-mode.el distributed with noweb.
noweb.el
For editing noweb (the literate programming tool) source files using multi-mode.el.
pair-mode.el
Minor mode for insertion of paired characters. Just a shim for skeleton-pair-insert-maybe.
pdb.el
Major mode for editing PDB files. (Of interest to crystallographers.)
phrase.el
Movement by ‘phrases’ delimited by punctuation.
Support for POP3 over TLS in Gnus.
A patch for Gnus 5.10. This method of retrieval is required for gmail, for instance.
protect-files.el
Preventing accidental editing of specific files, e.g. darcs repository files.
psgml-1.3.1-debian.diff
Changes for PSGML to speed up parsing under Emacs when setting faces. They're against the Debian version of psgml-1.3.1, but probably apply generally. Also avoid warnings. I don't think this got accepted for PSGML.
python-mode.el.diff
Patch for the python-mode.el shipped with Python, which fixes a number of bugs, particularly Emacs-specific ones, since the maintainers only seem to be interested in XEmacs—they didn't want these changes. See also python.el.
python.el
Major mode for editing Python code. (A version of this is included in Emacs 22, but has assorted problems this one doesn't. It assumes sym-comp.el is loaded and requires emacs.py in Emacs' etc directory, i.e. data-directory.) This works better than the mode distributed with Python, but requires Emacs 22. See python-21.el for use with Emacs 21.

See also python-mode.el.diff, and bikeemacs.py.diff if you use the Bicycle Repair Man integration.

python-21.el
A version of python.el that works (with some deficiencies) in Emacs 21, but additionally requires the library syntax.el from Emacs 22. See also the version of eldoc.el to enable you to use Eldoc with Python.
rfcview.el
A version of Van Dyke's RFC-viewing mode modified to provide hyperlinking. Kept here as I didn't hear back after submitting the changes.
sym-comp.el
Abstraction of mode-dependent symbol completion.
uniesc.el
Support for encoding/decoding C or Java-style Unicode escape sequences.
vc-bzr.el
VC support for bzr. This is at least faster than Murri's implementation.
vc-darcs.el
VC support for darcs. There's another implementation of this, but that doesn't have copyright assignment for possible inclusion in Emacs.
UCS keysyms
Patch to support U... UCS keysyms under X in Emacs 22.
Mule stuff