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.

How to debug elisp?

Normally the easiest way to debug is using printf. What can I do to debug emacs-lisp? How can I print …

debugging emacs elisp
Emacs mode for Go?

Is there a suitable Emacs mode for Go? C mode doesn't work without semicolons. The best I have found is …

emacs elisp go
emacs lisp, how to get buffer major mode?

I have tried to search Google and look in the manual, but still cannot find how to get major mode …

emacs elisp major-mode
How to determine operating system in elisp?

How do I programmatically determine which OS Emacs is running under in ELisp? I would like to run different code …

emacs elisp
How to modularize an emacs configuration?

I've decided to rewrite my .emacs from the ground up, and I want to setup something that's modular, in order …

configuration emacs elisp
eval-after-load vs. mode hook

Is there a difference between setting things for a mode using eval-after-load and using the mode hook? I've seen some …

emacs elisp
Emacs comment/uncomment current line

I know there's already an Emacs question on this, and that it was closed, but I find it quite relevant …

emacs elisp
The difference between setq and setq-default in Emacs Lisp

I have a question about Emacs Lisp. What is the difference between setq and setq-default? Tutorials say setq takes effect …

emacs elisp
What's in your .emacs?

I've switched computers a few times recently, and somewhere along the way I lost my .emacs. I'm trying to build …

emacs text-editor elisp dot-emacs
How can you write multiple statements in elisp 'if' statement?

In elisp, there is an 'if' case where I would like to perform many different things: (if condition (do-something) (do-something-else) ...) …

syntax elisp