Top "Elisp" questions

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.

Emacs, how to get directory of current buffer?

In emacs there is buffer-file-name that gives the full path to a file. But is there a way to get …

emacs elisp
Filtering text through a shell command in Emacs

In vi[m] there is the ! command which lets me pipe text through a shell command -- like sort or …

emacs text-editor elisp
How to convert list to string in Emacs Lisp

How can I convert a list to string so I can call insert or message with it? I need to …

string list emacs elisp
Get rid of "reference to free variable" byte-compilation warnings

I'm writing an emacs major mode, which uses buffer-local variables to store some state: (defun foo-mode () "My nice major mode" (…

emacs elisp
How to maximize Emacs on Windows at startup?

This is driving me crazy: I simply want Emacs to maximize to whatever screen resolution I have at startup. Ideally …

emacs elisp
REPL for Emacs Lisp

What are some REPLs for Emacs Lisp? Is there only one that is within Emacs? Are there some that run …

emacs elisp read-eval-print-loop
What are the major differences between Emacs Lisp and Common Lisp?

I want to learn the lisp language, since my editor is emacs, I prefer emacs lisp. Can anyone give me …

emacs elisp common-lisp
How to check if a string is empty in Emacs Lisp?

I would like to write an if statement that will do something base on whether a string is empty. For …

emacs elisp
emacs/elisp: What is the hash (pound, number sign, octothorp) symbol used for?

What does this do? (add-hook 'compilation-mode-hook #'my-setup-compile-mode) ...and is it different than (add-hook 'compilation-mode-hook 'my-setup-compile-mode)

emacs elisp
emacs marmalade: "Cannot open load file", "package"

I'm using emacs 24 and would like to install marmalade. I've tried adding the following to my ~/.emacs file, as per …

emacs elisp marmalade