2
votes

I'm new to Emacs and I use it to code in Common Lisp with Slime. Everything was ok but this morning when I tried to edit a lisp file it highlights every visible character I type for no reason (but not the white spaces.) When I save the file, quit Emacs and restart it, the text is not highlighted but, again, every new character I type is. It just happens to lisp files so I suspect Slime to cause that but it never did that before.

example of the problem

Here "(def" was saved in the file and the rest is what I typed after reloading Emacs.

Thanks for your help :)

Edit:

C-u C-x = gives c-u c-x =

1
What does C-u C-x = say about text properties / overlays for the highlighted text?jkiiski
See SLIME manual 8.17 Highlight Edits.jkiiski
It worked thank you! :)VALAIS Léo
@jkiiski: please add it as an answer. Thanks!Rainer Joswig

1 Answers

3
votes

The highlight is caused by the slime-highlight-edits minor mode, which helps you find edited regions of the file (that may need compiling). It can be toggled on and off with

M-x slime-highlight-edits-mode