Timeline for Line numbers break scroll margin
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 22, 2019 at 12:55 | vote | accept | Jesse | ||
Mar 21, 2019 at 19:39 | comment | added | Jesse | @lawlist I was able fix this with some lisp and posted in my answer. Thanks for the help. But I think it's really a bug after all, and I also found this report on the spacemacs repo github.com/syl20bnr/spacemacs/issues/8224 | |
Mar 21, 2019 at 19:34 | answer | added | Jesse | timeline score: 0 | |
Mar 14, 2019 at 18:25 | comment | added | lawlist |
When the scroll-margin is at its default setting of 0 and when I have (setq scroll-conservatively 101) and native line numbers active, I am unable to reproduce the behavior depicted in the gif that illustrates the issue. I would suggest adjusting scroll-conservatively within the guidelines of the doc-string and leave scroll-margin at its default setting of 0 . To the extent you wish to combine the two variables to non-default specifications and you believe there is a bug, then a bug-report would be appropriate. These are things in the C code base that cannot be fixed with Lisp.
|
|
Mar 14, 2019 at 16:39 | comment | added | Jesse | I edited my question with the information above. I'll try to post it on reddit too and maybe file a bug if that's the case. Thanks! | |
Mar 14, 2019 at 16:38 | history | edited | Jesse | CC BY-SA 4.0 |
added 222 characters in body
|
Mar 14, 2019 at 16:37 | comment | added | Jesse |
@lawlist I do have scroll-conservatively enabled along with scroll-margin . Notice that, when scrolling down, it does scroll "conservatively", but, when the cursor reaches the bottom of the file, and starts going up, it doesn't respect the scroll-margin until the bottom of the file is not visible anymore.
|
|
Mar 14, 2019 at 16:18 | comment | added | lawlist |
I personally do not touch the scroll-margin variable. I like to use (setq scroll-conservatively 101) -- contrary to the posts regarding scroll-conservatively that set the value to a hundred million trillion, anything larger than 100 will suffice.
|
|
Mar 14, 2019 at 16:15 | comment | added | lawlist |
I don't see anything out of the ordinary in the screen gif that illustrates the issue. Could you please add a little more description to the question to tell us what to look for. Eli Z. is the person who wrote the native line-numbers and I have not seen him ever post a comment or answer on emacs.stackexchange.com. He does read and respond to posts on reddit.com/r/emacs and also any bug report that gets filed: M-x report-emacs-bug .
|
|
Mar 14, 2019 at 15:23 | history | asked | Jesse | CC BY-SA 4.0 |