Mic's Emacs Hacks
On this page I offer some of my Emacs programs. These are some
of my favourite hacks which make my days a lot easier. My hope is that they
can help you to!
I also wrote an Emacs Tutorial which are
suitable for beginners and intermediate Emacs users.
I'm currently not maintaining this page. Fee free to use to programs here,
they have served me well for many years and expect them to be forward
compatible with most Emacs versions. However, I will most probably not
perform any updates or bug fixes.
mic-paren.el
Latest version: 3.2 (gziped)
I'm no longer maintaining mic-paren. The latest version is still
distributed via this page, however, all question and suggestions should be
directed to the new maintainer: Klaus Berndl (klaus.berndl@sdm.de).
Mic-paren is an extension to the packages paren.el and stig-paren.el for Emacs
(and from v 1.2 also XEmacs). When mic-paren is active (it is activated when
loaded) Emacs normal parenthesis matching is deactivated. Instead parenthesis
matching will be performed as soon as the cursor is positioned at a
parenthesis. The matching parenthesis (or the entire expression between the
parenthesises) is highlighted until the
cursor is moved away from the parenthesis.
Features include:
- Both forward and backward parenthesis matching (simultaneously
if cursor is between two expressions).
- Indication of mismatched parenthesises.
- Recognition of "escaped" parenthesises.
- Option to select if only the matching parenthesis or the entire
expression should be highlighted.
- Message describing the match when the matching parenthesis is
off-screen.
- Optional delayed highlighting (useful on slow systems),
- Functions to activate/deactivate mic-paren.el is provided.
- Numerous options to control the behaviour and appearance of
mic-paren.el.
mic-paren.el is developed and tested under Emacs 19.28 - 20.5. It should work
on earlier and forthcoming Emacs versions. XEmacs compatibility has been
provided by Steven L Baur <steve@altair.xemacs.org>. Jan
Dubois <jaduboi@ibm.net> provided
help to get mic-paren to work in OS/2. Thanks guys!!
Old versions: v 1.0
v 1.2
v 1.3
v 1.3.1
v 2.0
v 2.1
v 2.2
v 2.3
(gziped
v 1.3.1
v 2.0
v 2.1
v 2.2
v 2.3
)
shell-toggle.el
Latest version: 1.2
(gziped)
Shell-toggle provides the command shell-toggle which toggles between
the *shell* buffer and whatever buffer you are editing.
The toggle done in an "intelligent" way. Features are:
- Starts a shell if non is existing.
- Minimum distortion of your window configuration.
- When done in the shell buffer you are returned to the same window
configuration you had before you toggled to the shell.
- If you desire, you automagically get a "cd" command in the shell to the
directory where your current buffers file exists; just call
shell-toggle-cd instead of shell-toggle.
- You can convinently choose if you want to have the shell in another
window or in the whole frame. Just invoke shell-toggle again to get the
shell in the whole frame.
This file has been tested under Emacs 20.2.
Old versions: v 1.0 (gziped v 1.0)
pager.el
Latest version: 2.0 (gziped)
Pager provides new scroll-commands. Emacs builtins (scroll-down and scroll-up)
sucks!! With my commands a page-up followed by a page-down command will return
the point to
same place where it was before the page-up command.
Also commands for scrolling one row at the time are provided. Very useful!
V 2.0 is a complete reimplementation to work better in Emacs 20. I've used
V1.0 for years now and have never had any problems neither under Emacs 18, 19
or Lucid Emacs.
Old Versions: v1.0
Mikael Sjödin
Email: SQYARRZBHXNF@spammotel.com (suject to change if abused)
|
URL: http://www.docs.uu.se/~mic/emacs.shtml |
Last modified: Thursday, 01-Nov-2001 13:40:54 MET