From: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Page navigation in doc-view.el
Date: Thu, 15 Jan 2015 17:13:43 +0530 [thread overview]
Message-ID: <m9896i$pfb$1@ger.gmane.org> (raw)
In-Reply-To: <87bnm05lc0.fsf@gmail.com>
On Thursday 15 January 2015 05:04 PM, Alexis wrote:
> This has been an issue for me also; i've addressed it via the following
> advice:
>
> (defadvice doc-view-next-page (after doc-view-next-page-move-to-top activate)
> "After moving to next page, move to top of page."
> (image-set-window-vscroll 0))
>
> (defadvice doc-view-previous-page (after doc-view-previous-page-move-to-bottom activate)
> "After moving to previous page, move to bottom of page."
> (image-set-window-vscroll (+ 2 (/ (window-height) 2))))
It took some time to identify `image-bob' and `image-eob'. May be we
can have a prefix arg. to the page navigation command: without prefix it
will leave me at bob but with a prefix it will retain the "relative
position".
I recommend that the current behaviour be fixed. (It should be an easy
fix!)
next prev parent reply other threads:[~2015-01-15 11:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-15 11:22 Page navigation in doc-view.el Vaidheeswaran
2015-01-15 11:34 ` Alexis
2015-01-15 11:43 ` Vaidheeswaran [this message]
2015-01-15 14:54 ` Stefan Monnier
2015-01-15 15:14 ` Vaidheeswaran C
2015-01-15 16:05 ` Stefan Monnier
2015-01-18 8:09 ` Vaidheeswaran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='m9896i$pfb$1@ger.gmane.org' \
--to=vaidheeswaran.chinnaraju@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.