-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scroll bar hides during and after editing #38
Comments
Try set the variable |
Already done - the same behavior persists. To clarify, the issue is not the automatic hiding after a delay, but specifically editing a buffer that causes the hiding, regardless of time elapsed since last scroll. |
Can you try the latest version and see if that works? See #39. |
Works flawlessly - thank you : ) |
If only it were that easy. Use of the patched version revealed a performance issue when used with helm-swoop. Calling My guess is that it is expensive to re-render the scroll-bar for each of the many editing operations helm-swoop does to set-up its buffer. Tested on Emacs 27.1, launched with
|
I have the same problem as @FuzzyWuzzyBMP, the update made some major modes very slow, like efleed or mingus (mpd controller). I had to remove (setq-default yascroll:delay-to-hide nil) to make it work again. |
Setting yascroll:delay-to-hide to nil makes building the buffer shown by |
Editing a line causes the scroll bar to disappear until the window is scrolled again. It would be nice if it remained visible, and even correctly adjusted itself to the new buffer size and position, if those had changed.
Currently I'm using
(defun yascroll:before-change (beg end) nil)
as a quick hack to prevent the hiding, but that doesn't update the scroll bar size and position.The text was updated successfully, but these errors were encountered: