Posts about 'Emacs Lisp'
-
Nov 19, 2018
Eredis - An updated Emacs Redis API
In July 2011 I released an emacs lisp client for the Redis in-memory data structure store. You can install either from the Melpa package or just clone from Github. The...
-
Feb 6, 2013
Configuring emacs to send iCloud mail on Mac OS X
Pic from ajc1 on FlikrIt's handy to be able to send emails from emacs, and this guide will show how to set up SMTP via an iCloud email account.Step 1. Install...
-
Dec 26, 2011
Making a emacs lisp expression expand itself to XML
My response to the blog article An Emacs Programming ChallengeThe goal is to make the emacs lisp record below execute itself and produce XML. My lisp has gotten rusty so...
-
Jul 30, 2011
eredis update
I've been busy on my emacs redis client eredis and it now supports the entire API. It still needs a bit more polish but it should be a workable Redis...
-
Jun 14, 2011
Emacs progress indication
When programming in emacs lisp, there is an easy way to show progress feedback to the user when a task will take some time. Here's a block of code from...
-
Jun 2, 2011
Finding duplicate files in a dired buffer
picture by Donald MacLeodThis is a an example of programming emacs in emacs-lisp just to give an idea of what you can put together in an hour or two. I...
-
Aug 27, 2009
Simple budget forecasts in emacs
When I first moved from England to North America one of the things I found hard to get used to was getting paid every two weeks instead of monthly. This...
-
Apr 15, 2009
Running an elisp function on each marked file in a dired buffer
Chain Tool by FlorianĀ If you have some function, say some custom refactoring operation, you can call it from a dired buffer, and have it run on each marked file, using...
-
Feb 8, 2009
Fun with RSS
Today I've been playing around with emacs, and one of the things I've wanted to write is something to grab a web page, do some manipluations to it and dump...
-
Jan 23, 2009
Simple perforce checkout in emacs using elisp
I know there are all kinds of clever perforce modes, but I prefer to have a few common perforce actions that I write myself and can easily extend and customise...
-
Jan 8, 2009
Who changed the line your working on last?
My team use Perforce for version control, and I recently wrote an implementation of 'blame', also known as 'praise'. When editing a file that is in Perforce, I can run...
-
May 1, 2008
Copying characters from the line above in emacs
The BBC microcomputer had a button called COPY, which when you pressed it would copy the character on the line above the cursor. This was quite handy, and I recently...
-
Mar 1, 2008
Is it a leap year
Here's a bit of elisp code to find out...(defun is-century-year(year) (if (= (mod year 100) 0) t nil))(defun is-leap-year(year) "leap year is century years divisible by 400, not other century...