Emacs Lisp is the extension language for the GNU Emacs text editor, and in fact, most of the functionality of Emacs is implemented using Emacs Lisp. Users generally customize Emacs' behavior by adding Emacs Lisp statements to their .emacs, or writing separate packages.

learn more… | top users | synonyms

4
votes
1answer
40 views

Accessor functions in elisp

I'm writing some simple emacs tools for visual studio solutions. I've got a function sln-process-csproj-file. This function takes the path to a project, and ...
4
votes
1answer
44 views

Refactoring elisp code that generates files

I wrote a simple emacs module that generates standard templates that I use for my blog's static site generator. ...
1
vote
1answer
135 views

How do I avoid eval in elisp?

I have wrote a simple util to submit my code to a online judge site, how to avoid the evil function? ...
1
vote
1answer
56 views

A small emacs-lisp snippet for opening a register in another window

I'd like to get some feedback on whether this is idiomatic elisp, whether it's any good, and any small modifications that would be useful. Thanks ...
0
votes
0answers
70 views

Proportional Alignment Minor Mode for Emacs

I stumbled across this concept: http://en.wikipedia.org/wiki/Elastic_tabstops … which is an interesting take on how to align source code with a proportional font, but I'd “cribbed together” something ...
4
votes
2answers
241 views

Emacs column alignment command

I'm making my first steps in ELisp programming and I want to know is there a better solution for this problem: I have a file with two columns, that are separated by one or more spaces, ex.: ...
4
votes
2answers
270 views

Combinations of list elements

It was written in Emacs Lisp and requires Common Lisp loop facility. Can this code be improved? Did I hit any anti-patterns along the way? ...
8
votes
1answer
247 views

ELisp function to allow file renaming in Emacs

As a disclaimer, this is the first function I have EVER written in Lisp or ELisp. Please, bash it as much as you would any other piece, but don't judge me for it please! :) So, I realized I wanted a ...
3
votes
2answers
96 views

Keys in mode maps

I noticed a pattern in some elisp modes I was putting together: (let ((map (make-sparse-keymap))) (define-key map KEY 'FN) ... (setq FOO map)) so I wrote ...
10
votes
1answer
347 views

Minor mode for blog writing in HTML

This is a collection of reasonably useful functions I put together for writing my blog. ...
14
votes
1answer
818 views

Emacs Etags Shortcut Functions

A few functions to let me manage TAGS files more easily. Typically, my projects contain at least one sub-folder. I got sick of manually updating, so I wrote this to help me update a single TAGS file ...