From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Page navigation in doc-view.el Date: Thu, 15 Jan 2015 11:05:24 -0500 Message-ID: References: <54B7D967.904@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1421338836 14705 80.91.229.3 (15 Jan 2015 16:20:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Jan 2015 16:20:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: Vaidheeswaran C Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 15 17:20:28 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YBn9k-0004g8-M4 for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 17:20:24 +0100 Original-Received: from localhost ([::1]:51561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBn9j-0000a3-Q5 for ged-emacs-devel@m.gmane.org; Thu, 15 Jan 2015 11:20:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46240) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBn9P-0000VS-Sb for emacs-devel@gnu.org; Thu, 15 Jan 2015 11:20:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YBmvH-0006t3-Fk for emacs-devel@gnu.org; Thu, 15 Jan 2015 11:06:04 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50142) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YBmvH-0006sj-9M for emacs-devel@gnu.org; Thu, 15 Jan 2015 11:05:27 -0500 Original-Received: from pastel.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id t0FG5PKa005031; Thu, 15 Jan 2015 11:05:25 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 0498799E; Thu, 15 Jan 2015 11:05:24 -0500 (EST) In-Reply-To: <54B7D967.904@gmail.com> (Vaidheeswaran C.'s message of "Thu, 15 Jan 2015 20:44:47 +0530") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5187=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5187> : inlines <1773> : streams <1373858> : uri <1842497> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:181303 Archived-At: >> IIRC there's a variable doc-view-continuous to choose the behavior, tho >> IIRC it affects SPC/DEL rather than n/p. > It affects scrolling by window-fuls and possibly jump to next page. I do > use it. > What I want is C-x [, C-x ] and M-g M-g leave me at the beginning of the > page (rather than somewhere in the middle). > There is some other user -- see right in this thread -- who misses the > feature I am requesting. I think it would make sense to make `n' jump to the beginning of the next page (and `p' go to the bottom of the previous page) when doc-view-continuous is non-nil. For M-g M-g, maybe as well (again conditional on doc-view-continuous). Of course, I also think that doc-view-continuous should ideally render all the pages at the same time in the buffer (stacked vertically), so you can scroll through them with the usual scrolling commands, but that will take a good bit more work. Stefan