1

Sorry about the title, I don't know how to describe it better.

Using display-line-numbers-mode with hs-hide-all to edit a Common Lisp file, I see the line number moving to the right, which is quite distracting and annoying. How could I prevent that from happening?

Notice line number 32

Normal:

Normal

Moved to right:

Moved

A sample:

;;;please add 26 empty lines in bar yourself, and then `hs-hide-all`
(defun bar ()
  ())

(defun test ()
  ())

You may say there are too many empty lines, but even if these lines are dispersed to other functions, the problem still occurs.

Drew
  • 75,699
  • 9
  • 109
  • 225
C-Entropy
  • 143
  • 5

1 Answers1

1

It turns out to be an emacs bug, see here

should be fixed in 28-branch

C-Entropy
  • 143
  • 5