emacs
www.davep.org

I've been using emacs (and, on occasion, xemacs) as one of my editing tools of choice for a few years now. In that time I've written a small number of elisp (emacs' own lisp) packages. Below are ones that I'm not (too) ashamed to show to the world.

If you're looking for pointers for other emacs lisp packages you might want to take a look at melpa and the EmacsWiki.

2bit.el

2bit.el provides a package for Emacs that allows for reading data from 2bit files (files used to hold genome data). The package includes functions that can be used from Emacs Lisp, and also includes a couple of commands for importing a sequence from a 2bit file into the current buffer.

MELPA Stable MELPA

5x5.el

5x5.el is a simple but annoying puzzle for emacs. Please note that this package is part of GNU emacs as of version 21.1.

avmmf.el

avmmf.el provides a set of functions, and an interactive function, for dealing with the proposed AVM microformat.

become.el

become.el provides a set of interactive functions that allow for easy transformation of the current buffer.

binclock.el

I once saw a "binary clock" running on a friend's Windows machine and thought to myself "emacs could do that too". binclock.el was the result.

MELPA Stable MELPA

boxquote.el

boxquote.el provides a set of functions for using a text quoting style that partially boxes in the left hand side of an area of text, such a marking style might be used to show externally included text or example code.

,----
| The default style looks like this.
`----

A number of functions are provided for quoting a region, a buffer, a paragraph and a defun. There are also functions for quoting text while pulling it in, either by inserting the contents of another file or by yanking text into the current buffer.

MELPA Stable MELPA

cheat-sh.el

cheat-sh.el provides a simple Emacs interface for looking things up on cheat.sh.

MELPA Stable MELPA

commoji.el

commoji.el provides a command for quickly and easily finding and inserting a commit emoji into a git commit message. This code was inspired by GitCommitEmoji and similar ideas.

constellations.el

constellations.el provides a constellation abbreviation lookup tool. I can never remember the abbreviations for most constellations so, when I'm writing my observing logs I find this little tool handy — saves me from having to remember.

csrclr.el

csrclr.el provides a command that sets the cursor to a different colour depending on the environment. I find this especially handy if I open a read-only buffer.

dad-joke.el

dad-joke.el is a terrible bit of elisp code inspired by seeing https://goo.gl/NXTJXk and also with https://goo.gl/ji4Viv in mind.

MELPA Stable MELPA

discord.el

An emacs implementation of ddate(1). All hail discordia.

eg.el

eg.el provides code for reading the content of help databases built with Norton Guide and Expert Help. It also provides commands for viewing and navigating the content of Norton Guide files.

MELPA Stable MELPA

end-it.el

end-it.el is a simple tool that provides a command for quickly adding a "foo.xxx ends here" marker to the end of the current buffer. The format used to add it takes into account the language in use and attempts to use the correct comment character.

equinox.el

equinox.el provides two support functions and one interactive command for displaying the date and the number of days to the next equinox or solstice.

expando.el

expando.el provides a simple tool for expanding macros into a different window so they can be quickly and easily checked and read.

fasta.el

fasta.el is an Emacs major mode for viewing and editing fasta files. It's not designed to be anything too clever, I just wrote it to make fasta files look nicer in Emacs.

festival.el

festival.el provides a simple interface into the festival speech synthesis program from emacs lisp.

It was only once I'd more or less finished writing the first version of this that I noticed that a festival.el comes with festival itself (yeah, I know, I should spend more time examining the contents of software packages). As it is, I decided to press on with this anyway because I'd done a couple of different things and, more importantly, I was having far too much fun.

fscroll.el

fscroll.el extends `scroll-up' and `scroll-down' so that the cursor is positioned at the very end/start of the buffer once you've scrolled as far as you can.

funhead.el

funhead.el is a simple tool that inserts my style of function header, to help break up code. This likely won't be to anyone else's taste. This is just for my own use.

garble.el

garble.el is an emacs interface for garble, a command line utility for interfacing with a Garmin GPS unit.

handyurl.el

handyurl.el is a package that provides a simple method of popping up a list of URLs and allowing the selection and insertion of an URL into the previous buffer.

Note that this code then went on to inspire quickurl.el, which then went on to be part of GNU emacs itself.

icmp-info.el

icmp-info.el provides a function for looking up the meaning of ICMP type/code combinations.

insert.el

insert.el contains commands for quickly and easily inserting useful things into the current buffer.

itch.el

itch.el provides a tool for quickly and easily getting back to your *scratch* buffer (with optional erase).

lbdb.el

lbdb.el is an emacs interface into the Little Brother's Database

macdob.el

macdob.el provides a simple command that reports on a Mac's "date of birth". That is, it tries to report when the OS on the machine was first set up.

make-phony.el

make-phony.el provides a simple command that can be used to make a target a Makefile into a PHONY target.

moving.el

moving.el provides some extra commands for moving around a buffer.

mutt-alias.el

mutt-alias.el provides a couple of functions for looking up and inserting the expansion of mutt mail aliases.

ngn.el

I often mention the names of newsgroups in mail or news postings and it's pretty tedious typing out their names again and again. I've tried using things like abbrev to speed this up but have found that that isn't the right solution.

Given that almost all the groups I mention are groups I subscribe to it seemed that ngn.el was a reasonable solution. It provides a couple of functions for inserting a group name into a buffer using a completing read, the lookup list for that completing read is taken from ~/.newsrc.

nuke-buffers.el

nuke-buffers.el provides a command that aims to kill as many buffers as possible without causing any work to be lost or any important buffers to be lost.

CAUTION: This works based on my own idea of what is "safe"!

nukneval.el

nukneval.el is a little utility function I wrote to help out when writing elisp code. I use it to unbind function and variable definitions in an elisp buffer and to then reevaluate the buffer.

numbers.el

numbers.el is a little wrapper around numbersapi.com that can be used to display maths information and trivia about numbers.

MELPA Stable MELPA

obfusurl.el

obfusurl.el provides a command for obfuscating an URL in written text such that the URL itself won't give the reader a clue to what it's pointing at but it can still be used as an URL.

This is useful if the URL itself could be a spoiler when you want it to be a surprise.

MELPA Stable MELPA

parenface.el

I wrote parenface.el as an experiment in "hiding" parenthesis in lisp code. It is often said that lisp programmers simply don't notice the parenthesis (it's my experience that this is true) and it was once suggested in comp.lang.lisp that you could use an editor to colour the parens so that they are almost invisible and a lisp programmer wouldn't notice.

Boris Schaefer provided the main part of the code in a post to comp.lang.scheme and I tidied it up and "packaged" it.

PLEASE NOTE: I'm deprecating this code in favour of the much nicer paren-face.el by @tarsius.

pinboard.el

pinboard.el provides an Emacs client for Pinboard.

MELPA Stable MELPA

post.el

post.el is an emacs mode directed at people who use emacs as their mail editor when using mutt. I'm not the main author of post.el but I did contribute a whole bunch of code from a similar mode I use myself.

protocols.el

protocols.el provides code for reading the content of /etc/protocols. It also provides a command for doing protocol lookups (something that might be useful when you're having a read of log files).

MELPA Stable MELPA

qrencode.el

qrencode.el provides a simple Emacs interface for turning text into text-based QR codes, via qrenco.de. Originally written as a bit of a lunchtime hack after this tweet.

quickurl.el

quickurl.el provides a method of quickly getting at URLs you often quote. It allows you to do it by word expansion (a little like abbrev) or by selecting from a menu.

Please note that this package will be part of GNU emacs from version 21.1 onwards.

quiz.el

quiz.el implements a simple multiple-choice trivia quiz, using The Open Trivia Database as the back end.

MELPA Stable MELPA

rate-sx.el

rate-sx.el provides a simple command that displays the content of rate.sx in a buffer.

requote.el

requote.el provides a simple command for toggling the quote style around a string in a buffer. It's designed to quickly and easily help turn a "string" into a 'string', or a 'string' into a "string", depending on what it finds.

sawfish.el

sawfish.el is a package for working with sawfish. As well as providing a programming mode for editing sawfish config files (nothing clever, it simply derives from emacs-lisp-mode) it also allows direct interaction with the window manager from the buffer.

services.el

services.el provides code for reading the content of /etc/services. It also provides a command for doing service lookups (something that might be useful when you're having a read of log files).

MELPA Stable MELPA

setup-compile.el

setup-compile.el provides a command that makes it easy to quickly set a sensible compile command for the given buffer. Essentially it checks to see if there's a Makefile in the directory and, if there isn't, it builds a command that should do the job.

slashdot.el

slashdot.el is some code I wrote so that I can view the slashdot headline database I build with slashcache.lisp.

slstats.el

slstats.el provides commands that make it easy to load and view the basic stats about the Second Life grid and its economy.

MELPA Stable MELPA

smartsig.el

smartsig.el is a package that provides an adaptive signature facility to a news/email editing mode in emacs. Unlike many adpative signature tools which work on who you are sending the text to, smartsig works on the content of your text.

spamprobe.el

spamprobe.el contains some utility functions that used to help me keep track of how well spamprobe was doing at detecting spam.

thinks.el

thinks.el is a little bit of silliness inspired by the think bubbles you see in cartoons. It allows you to

. o O ( insert text that looks like this )

into a buffer. This could possibly be handy for use in email and usenet postings.

Note that the code can handle multiple lines

. o O ( like this. That is, a body of text where the number of characters )
      ( exceeds the bounds of what you might consider to be a acceptable  )
      ( line length (he says, waffling on to fill a couple of lines).     )

You also have some control over the look of the bubble.

MELPA Stable MELPA

tld.el

tld.el is a package that allows you to lookup TLDs and country names.

unbind.el

unbind.el contains a handful of utility functions I use for unbinding symbols when mucking about in emacs.

uptimes.el

uptimes.el provides a simple system for tracking and displaying the uptimes of your emacs sessions. Simply loading uptimes.el from your ~/.emacs file will start the tracking of any session.

MELPA Stable MELPA

webinfo.el

webinfo.el provides a simple command that displays information about a given web server.

wordcloud.el

wordcloud.el provides a simple command that displays a wordcloud for the current buffer.

xbase.el

At one time I was helping to develop an Xbase mode for emacs. You can find out more about xbase.el at its home page and you can download the latest version of the file from CVS.

Page last modified: 2020-09-26 08:20:40 UT
Dave Pearson <davep@davep.org>
Valid XHTML 1.1 Valid CSS