如何在Emacs的doc-view模式下向下滚动页面? [英] How to scroll down on pages in doc-view mode in Emacs?

查看:221
本文介绍了如何在Emacs的doc-view模式下向下滚动页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

最近我开始在Emacs中使用doc-view,但是我有很多问题。主要的是我无法在页面上向下滚动。我可以使用n或p看到下一页或上一页,但是上下翻页的命令(据说是SPACE和DEL)不起作用。那么,为了公平起见,DEL工作,但它转到上一页,而不是滚动到上一页的底部。结果是我只能看到pdf页面的顶部,而不是底部。



我尝试将视图更改为连续,但这也不起作用。这是我尝试改变的:





我确实检查了doc-view的定制,但变量(或选项,或任何它们被称为)在我看来不是将解决我的问题。



更多信息:我曾经设法使SPACE和DEL在某些时候工作,但我不记得我做了什么,让它重新工作。我正在使用Aquamacs。



任何想法?



顺便提一句,另一个问题是doc-认为Aquamacs会崩溃,意味着它冻结了一切,保持思考,我必须强制退出Aquamacs才能再次工作。虽然这不是我的主要问题,如果有人可以告诉我任何关于这一点的话,我也会感谢。



谢谢!



编辑:我尝试了以下建议的答案,它没有工作,不断尝试其他的东西/命令,然后Cn和SPACE开始工作!我退出了Aquamacs,再次开始,打开了一个pdf文件,它恢复不起作用。有人可以解释发生了什么吗?我怎么能使这个可靠?

解决方案

要向下滚动的命令绑定到:



strong> Cn,向下



SPC



更新:



SPC 在docview模式下反弹。无法使用GNU Emacs / Linux重现您的问题,可以调用:

  Mx doc-view-scroll-down-or -previous-page 


I have recently started using doc-view in Emacs, but I am having quite a few problems with it. The main one is that I can't scroll down on pages. I can see the next or previous page using "n" or "p", but the commands to scroll up and down a page, which are supposedly SPACE and DEL, do not work. Well, to be fair, DEL works, but it goes to the previous page rather than scroll up to the bottom of the previous page. The result is that I can only see the top of the pdf pages, but not the bottom parts.

I tried changing the view to continuous, but that doesn't work either. This is what I tried changing:

I did check the customisations for doc-view, but the variables (or options, or whatever they are called) did not appear to me to be the ones which would solve my problem.

More information: I did manage to make SPACE and DEL work at some point, but I don't remember what I did, and I can't get it to work again. I am using Aquamacs.

Any ideas?

By the way, another problem I have is that doc-view causes Aquamacs to sort of crash, meaning it freezes everything, keeps "thinking", and I have to force quit Aquamacs to get it to work again. While this is not my main question, if anyone can tell me anything about this I would also appreciate.

Thanks!

EDIT: I tried what the answer below suggested, it didn't work, kept trying other things/commands, and then C-n and SPACE started working! I quit Aquamacs, started it again, opened a pdf document, and it is back to not working. Can someone please explain what is happening? How can I make this reliable?

解决方案

To commands to scroll down are bind to:

C-n, down

not SPC

UPDATE:

SPC is rebound in docview mode. Can't reproduce you issue using GNU Emacs/Linux, can you invoke:

M-x doc-view-scroll-down-or-previous-page

这篇关于如何在Emacs的doc-view模式下向下滚动页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆