unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Vaidheeswaran <vaidheeswaran.chinnaraju@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Page navigation in doc-view.el
Date: Thu, 15 Jan 2015 09:54:15 -0500	[thread overview]
Message-ID: <jwv4mrsxfl9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <m987tu$57u$1@ger.gmane.org> (Vaidheeswaran's message of "Thu, 15 Jan 2015 16:52:03 +0530")

> The 'p' and 'n' commands (also bound to C-x [ and and C-x ])navigate
> to prev and next page resply.  BUT it leaves me not in the beginning
> or end of the page but somewhere in the "middle" of the page.  (This
> behaviour is very useful in some circumstances.  For example, in
> inspecting footnotes.)

Indeed, this is a feature, rather than a bug (it's even a feature that
I sorely miss in pretty much every other PDF viewer and one of the main
reasons why I tend to prefer Emacs to view PDF documents).

> That said, I would have expected to the canonical behaviour of the
> above commands to leave me at the beginning of page or end of page.
> (i.e., above commands followed up with '<' and '>')

> What do you think?

IIRC there's a variable doc-view-continuous to choose the behavior, tho
IIRC it affects SPC/DEL rather than n/p.


        Stefan



  parent reply	other threads:[~2015-01-15 14:54 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
2015-01-15 14:54 ` Stefan Monnier [this message]
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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv4mrsxfl9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=vaidheeswaran.chinnaraju@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).