Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to scroll down on pages in doc-view mode in Emacs?

Tags:

emacs

docview

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:

alt text

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?

like image 269
Vivi Avatar asked Jun 23 '10 10:06

Vivi


1 Answers

(setq doc-view-continuous t)

This lets you scroll the whole document with mouse wheel(not just the current page).

like image 172
abo-abo Avatar answered Oct 19 '22 03:10

abo-abo