English 中文(简体)
我该如何在GNU Emacs翻滚?
原标题:How do I turn overscroll off in GNU Emacs?
  • 时间:2012-05-27 17:26:17
  •  标签:
  • emacs
  • scroll

当在 GNU Emacs (24) 中打开的文件( 缓冲) 的行数少于当前窗口( 框架) 所显示的行数时, 我可以( 默认情况下) 使用滚动条滚下滚动, 让顶端行消失 ( “ overscroll ” ) 。

我怎么能关掉它,所以当整个缓冲在框中显示时,我不能滚动?

我可以在Emacs来源 中修补gtkutil.c,但最好有一个更优雅的解决办法。

最佳回答
问题回答

您需要添加

(setq 下一行加新线为零)

输入到您的内存文件 。

AFAIK, 您目前无法做到这一点( 当然, 您也许可以把它弄坏 ) 。 在 CPU 的时间里, 正确做可能是昂贵的, 但更重要的是, 实施这个“ 功能” 要比人们习惯它并发现它其实不是问题要多得多。 所以还没有人为它写一个补丁。





相关问题
how to detect Android ListView Scrolling stopped?

I m trying to do something after scrolling stopped.So, I tried using OnScrollListener#onScrollStateChanged(SCROLL_STATE_IDLE) to detect when the scrolling stopped(either TOUCH_SCROLL or FLING)(at 1.5 ...

jQuery - ScrollTo and Serial Scroll not working together

I have tested the scrollTo() plugin, but I need a way to stop the scrolling animation, so I am looking at serialScroll(). Here is what I used with scrollTo: $( #scroller ).scrollTo( 1000px , 3000); ...

Scrolling to the bottom of a div

As part of an ajax chat room (using prototype framework) I am working on I scroll the user to the bottom each time a message is added using the below js. However if the user has scrolled up and the ...

Displaying news with javascript

I keep coming up against this issue. Displaying news on a website. And I d like to come up with a solution to use like a template, something I can just drop on a site easily. The solution I keep ...

UITextview content moves up when textview is selected

I am pretty new to this iPhone dev thing but so far I have built a pretty good app but I have stumbled into this problem that for the life of me I cannot seem to solve. Basically the app is a chat ...

热门标签