Questions tagged [emacs-lisp-mode]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
21 views

how to generate tags and find mark-whole-buffer definition

I am following the Introduction to Programming in Emacs Lisp tutorial built in in Emacs and have arrived at the Buffer Walk-through section. In the 4.1 Finding more information the function xref-find-...
0
votes
0answers
23 views

Opening a new empty buffer results in flycheck returning suspicious state error

When I open a new buffer with a .el extension, I get the following error message from flycheck: Suspicious state from syntax checker emacs-lisp: Flycheck checker emacs-lisp returned non-zero exit code ...
1
vote
1answer
48 views

Unexpected indentation in backquoted list starting with comma function call

When I write a backquotedlist that starts with ,( emacs aligns the remaining items to the parenthesis and not to the comma; e.g.: (defun kb-test1 () `(,(hello) fdefef ,(fefesd))) (...
0
votes
0answers
129 views

Slow Emacs at editing elisp files

When editing .el files my Emacs is very slow. The larger the file, the worse it behaves, it is especially visible while scrolling or using autocompletion of any kind. It becomes pretty visibly slow at ...
2
votes
1answer
195 views

Please explain the behaviour of this emacs feature. (Lisp Interaction mode, truncate long lines)

Sometimes when a function or variable outputs a very long line, it ends with ...). When the cursor is on that line and I press return, the line gets longer (probably expanded). I guess this is some ...
1
vote
1answer
149 views

Emacs-Lisp mode indentation problem when doc string contains left parenthesis in first column

Usually when I write Lisp code (in an Emacs-Lisp mode buffer), I can press TAB (bound to indent-for-tab-command) to indent code properly. However, if I write a defun with a docstring (longer than one ...
1
vote
1answer
98 views

How to “copy” Scheme or Lisp code from one window to another window in Emacs?

I saw a teacher in iTunes U doing this: have 2 windows open in Emacs, the top is the Scheme (or Lisp) source code, and the bottom is the Scheme interpreter. He seems to press something on the ...
6
votes
1answer
856 views

How to change lisp mode indentation style

I'm not a lisp programmer. But I'm an emacs user, so I use elisp from times to times to do simple scripting. I'm not familiar with lisp style and I'm quite incompatible with it. Default indents ...
2
votes
2answers
227 views

How do I edit code in REPL after saving it in Emacs?

Alright I apologize if this has been asked, but I cannot seem to find this problem through searching. I am trying to figure out how to work on code in Emacs and when I come back open it again to edit ...
4
votes
2answers
254 views

Changing fill-column of elisp docstrings

When I'm writing the docstring for a defun or a defvar, if hit M-q the paragraph always gets filled to 65 characters, regardless of the value of fill-column. Q. How can I get fill-paragraph to always ...
2
votes
0answers
270 views

Dead keys not working in Emacs-Lisp mode *only*

I've been having a really annoying bug when editing elisp files recently: dead keys do not work, but only when I am in Emacs-Lisp mode. If I type a key that is configured as a dead key (say, '), I get ...
20
votes
3answers
2k views

Why does lisp-interaction-mode exist, and do we ever need it?

Q: Why does lisp-interaction-mode exist, and are there any reasons to use it instead of emacs-lisp-mode? The manual states that emacs-lisp-mode and lisp-interaction-mode are identical except that the ...
3
votes
1answer
320 views

How to turn off “error” highlighting in emacs-lisp-mode for Emacs 25?

Since the update, a certain style of formatting code is highlighted with font-lock-warning-face: How do I turn off this behavior?