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.

1 Answer 1

1

It turns out to be an emacs bug, see here

should be fixed in 28-branch

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.