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 ☹. Some of it is more-or-less historical.

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 them 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.
cap-words.el
Word movement in identifiers CapitalizedLikeThis. (Emacs 23 only.) Fixed version of the one from Emacs.
cfengine.el
Major mode for editing GNU Cfengine configuration files. (Included in the Emacs development source.)
cif.el
Major mode for editing CIF-format files. (Of interest to crystallographers.)
CC support for PHP, JavaScript, C#
cc-php-js-cs.el provides preliminary support for PHP, JavaScript, and C# as an add-on to CC mode. Since it's difficult to build, there's also a compiled version built with Emacs 22.2. This probably needs someone to work on it. It doesn't deal with PHP embedded in HTML—look at html-php.el for that.

There is an earlier version as a patch against the Emacs 22.1 CC mode, which 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, and a patch against Emacs 23.1.

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, including these commands/functions:
vc-add-log-entry
Add a VC log entry for the current defun.
vc-update-version-keyword
Increment RCS-style Revision keywords in the buffer.
ediff-diff-buffer-with-saved
Run Ediff between the (modified) current buffer and the buffer's file.
kill-outer-form
Delete a level of nested sexp around the current sexp and reindent.
recode-coding-region
Re-code the region BEG to END using the given CODING-SYSTEM.
cat-fontify
Fontify nroff-style output using `Man-fontify-manpage'.
change-log-choose-log
Set an appropriate `change-log-default-name' for file being edited.
function-arity
Return information on the arity (argument numbers) of FUNCTION.
eval-result
Display value of previous sexp in the style of the Lisp manual.
spook-boundary
Make MIME boundary for COUNT-th call out of `spook'y phrases.
my-indent-for-tab-command
Indent active region in `transient-mark-mode' using `indent-region'.
re-search-in-code
Search for REGEX outside comments and strings.
imenu-all
Jump to a place in the buffer chosen using a buffer menu/completion.
my-flymake-show-help
Help for extracting flymake messages without mouse-hover.
nxml-which-function
Which Function mde support for nXML.
Also modifications/fixes for backward-up-list, delete-indentation, byte-compile-file-form-defmacro, vc-default-next-version, vc-branch-part, vc-previous-version, and a few other things.
haskell-latex.el
Major mode for editing literate Haskell with the LaTeX convention using multi-mode.el and haskell.el or the more elaborate haskell-mode.
haskell.el
Simple major mode for editing Haskell, originally intended for use with haskell-latex.el and possible inclusion in Emacs. You should probably use the canonical mode now.
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.
multi-comment.el
Application of multi-mode.el for editing programming language comments in Text mode.
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/structural biologists.)
phrase.el
Movement by ‘phrases’ delimited by punctuation.
Support for POP3 over TLS in Gnus.
A patch for Gnus 5.10 (since applied to Gnus). 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. Recent changes are listed in NEWS.python.

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.
show-help-tty.el
Show help-echo text on a tty.
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