* doc-view.el -- switching pages without having to scroll up again
@ 2011-02-04 3:55 Andreas Marschke
2011-02-04 8:15 ` Tassilo Horn
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Marschke @ 2011-02-04 3:55 UTC (permalink / raw)
To: emacs-devel
Hi!
For some time I used doc-view for reading PDFs and reading
documentation (like the emacs-intro.pdf). But when I have the document
on a reasonable, readable zoom level and scroll through page by page
reading it I have this workflow at the moment:
- read page
- scroll down a few times to get the last lines, too
- press PgDown to get to the new page
- scroll up to the top of the page to keep going on reading it
The last part (scrolling up again) is an annoyance when enjoying an
otherwise good read. I made a IMHO pathetic patch like this:
---------------------------------------------------------------------
--- doc-view.el 2011-02-04 04:42:51.000000000 +0100
+++ doc-view-top-fix.el 2010-05-20 13:06:23.000000000 +0200
@@ -442,7 +442,8 @@
(with-selected-window win
(doc-view-goto-page page))))))))
(overlay-put (doc-view-current-overlay)
- 'help-echo (doc-view-current-info))))
+ 'help-echo (doc-view-current-info)))
+ (image-bob))
(defun doc-view-next-page (&optional arg)
"Browse ARG pages forward."
---------------------------------------------------------------------
I know this is evil especially with the search and all but I would
love if anyone would recommend a better way to fix this.
--
Cheers,
Andreas Marschke
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: doc-view.el -- switching pages without having to scroll up again
2011-02-04 3:55 doc-view.el -- switching pages without having to scroll up again Andreas Marschke
@ 2011-02-04 8:15 ` Tassilo Horn
0 siblings, 0 replies; 2+ messages in thread
From: Tassilo Horn @ 2011-02-04 8:15 UTC (permalink / raw)
To: Andreas Marschke; +Cc: emacs-devel
Andreas Marschke <xxtjaxx@googlemail.com> writes:
Hi Andreas,
> For some time I used doc-view for reading PDFs and reading
> documentation (like the emacs-intro.pdf). But when I have the document
> on a reasonable, readable zoom level and scroll through page by page
> reading it I have this workflow at the moment:
> - read page
> - scroll down a few times to get the last lines, too
> - press PgDown to get to the new page
> - scroll up to the top of the page to keep going on reading it
You should change your workflow. ;-)
Simply use SPC and DEL for scrolling up and down. These commands will
switch to the top of the next/bottom of the previous page when
appropriately.
Bye,
Tassilo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-04 8:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-04 3:55 doc-view.el -- switching pages without having to scroll up again Andreas Marschke
2011-02-04 8:15 ` Tassilo Horn
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.