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.

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.

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.

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.

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.

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.

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.