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 (1)

1
vote
0answers
7 views

Start a process in Elisp

How can the following code be made idiomatic in ELisp? Can the temporary f variable be removed? ...
3
votes
0answers
22 views

Replace text in emacs buffer with processed one

I have function that processes text and returns it in altered state. Result of the processing is a property list with following properties of interest: :success - ...
3
votes
1answer
42 views

X-up utility for EVE Online

I am learning Rust. I also play EVE Online – a video game about internet spaceships. I decided that it would be fun to practice Rust by writing a simple utility to help me x up. to x up (verb) ...
3
votes
0answers
124 views

Filling a Boot with CIDER

I'm trying to put together a workflow for building Clojure applications with Boot in CIDER. To test this workflow, I've written a small example application using Seesaw. My project structure looks ...
2
votes
0answers
46 views

Emacs init file

The code below is the .emacs file, which is the initial configuration file for Emacs. I use Emacs version 24.5.1 on a computer running Ubuntu 14.04 as OS. I primarily use C/C++ for coding and LaTeX ...
1
vote
0answers
13 views

Iterating over global keymap, removing all bindings to super keys

Background Emacs on OS X by default binds several keys with the super modifier. I do not want these bindings as I switch between OS X and Windows frequently, and want a clean slate on both platforms ...
6
votes
0answers
94 views

In emacs markdown-mode making the link live and URL invisible in inline links

A few years ago I modified version 1.8.1 of Jason Blevins's markdown-mode for Emacs so that when showing inline links the URL is hidden, and so that you can follow the link simply by hitting Enter. If ...
2
votes
1answer
49 views

Find relative filenames recursively in Emacs

I have a set of directories. For each directory I have a set of relative file names. I would like to select any of these relative filenames using completion, and then later reconstruct the absolute ...
5
votes
1answer
70 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
70 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
165 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
100 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 ...
4
votes
2answers
325 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
917 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
329 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 ...
4
votes
2answers
112 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
353 views

Minor mode for blog writing in HTML

This is a collection of reasonably useful functions I put together for writing my blog. ...
15
votes
1answer
930 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 ...