Jerry Chen's XEmacs Lisp Hacks
Read comp.emacs.xemacs on Google.
- mmm:
- An extension to support multiple-major-modes
in a single buffer. Using this extension, you can basically attach any number
of secondary major modes to different regions of a buffer that is in
any other primary major mode. The regions in a secondary major mode
will have their respective key-bindings and font-lock. A practical use
is to allow editing Javascript, VBscript, and/or CSS codes with their
own syntax highlighting in a HTML file.
- Current version: 0.12 - Nov. 1, 1999
- See screen snapshot
- Download source file, and an
example of usage.
- line-numbers-mode:
- A minor-mode to display line numbers for the text lines in a buffer.
The code is optimized in that it uses least amount resources to display
the line numbers. Line numbers can be displayed in any fore/background colors.
- Current version: 0.20 - Feb. 2, 1999
- See screen snapshot
- Download source file
- vvb-mode:
- A minor-mode to display one or more vertical bars in a buffer
so that you know how things are aligning up in the file, or if
you are over a column limit. There are multiple ways to show the
bars and a context menu can be popped up on a visible bar.
- Current version: 0.41 - May 9, 2002
- See screen snapshot
- Download source file
- Info customization:
If you are tired of reading the XEmacs online documentation, Info, like
that, you may try to use
this piece of elisp code
to beef up Info's display like this
(Notice that you don't see the distracting *note notation anymore).
- Info File for Tcl/Tk:
One day, I made those info files for Tcl/Tk manuals, just for the hell of it. My favorite languages are still elisp and perl, though.
Jerry G. Chen -- last updated: 4/26/2002