Emacs 滚动条滑块无法到达底部
在这篇关于 Emacs 滚动的伟大 Emacs-fu 帖子中,我的问题被提及但从未解决。这是一个引用:
注意,在X上,当光标(点)到达文档末尾时,滚动条上的滑块可能不在底部;我理解这是因为 Emacs 和工具包(本例中为 GTK+)之间存在一些分歧。
PS:GTK+是Ubuntu下默认的Emacs工具包。
我遇到的问题是,当光标到达文档底部时,滚动条的滑块不会到达底部。如果我将滑块向下拖动到底部,它将滚动文档,直到缓冲区顶部仅可见文档的最后一行。
有没有办法调整滚动条的范围(或其他解决方案),以便当我使用键盘到达文档底部时,滚动条滑块也到达滚动条的底部?
In this great Emacs-fu post on scrolling in Emacs, my very question is mentioned but never solved. Here's a quote:
Note that on X, when the cursor (point) reaches the end of the document, the slider on the scroll bar may not be at the bottom; I understand this is because of some disagreement between Emacs and the toolkit (GTK+ in this case).
PS: GTK+ is the default Emacs toolkit under Ubuntu.
The problem I'm having is that the slider of the scrollbar does not go to the bottom when the cursor reaches the bottom of the document. If I drag the slider down to the bottom, it scrolls the document until only the very last line of the document is visible at the top of the buffer.
Is there a way to maybe adjust the range of the scrollbar (or other solutions), so that when I reach the bottom of the document by using the keyboard, the scrollbar slider too reached the bottom of the scrollbar?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
其他解决方案:按照此处的建议关闭滚动条。
Other solution: turn off the scrollbar as suggested here.