Skip to content
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

Scrollbar does not appear with custom mousewheel scrolling #11

Open
asmeurer opened this issue May 25, 2013 · 2 comments
Open

Scrollbar does not appear with custom mousewheel scrolling #11

asmeurer opened this issue May 25, 2013 · 2 comments

Comments

@asmeurer
Copy link

I use https://github.com/asmeurer/dotfiles/blob/master/.emacs#L558 to do mouse wheel scrolling. When I scroll with the arrow keys or C-v and M-v, the scrollbar shows up, but when I use the mouse wheel, it does not.

@m2ym
Copy link
Contributor

m2ym commented May 26, 2013

You should run a hook window-scroll-functions with run-hook function when scrolling.

@asmeurer
Copy link
Author

How do I get the appropriate arguments to pass to those functions. Can I get them somehow from interactive?

Is it better to call the hooks before scrolling or after?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants