From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: doc-view.el --- View PDF/PostStript/DVI files in Emacs Date: 29 Aug 2007 21:44:28 GMT Message-ID: References: <87wsvnfoyp.fsf@baldur.tsdh.de> <87zm0i6gq2.fsf@gnu.org> <87d4xe6f6z.fsf@gnu.org> <87zm0hq6kz.fsf@gnu.org> <87hcmoc1tg.fsf@baldur.tsdh.de> <87d4xcoxyn.fsf@baldur.tsdh.de> <878x7ylhdk.fsf@baldur.tsdh.de> <87fy26gn55.fsf@baldur.tsdh.de> <874pil8f2m.fsf@baldur.tsdh.de> <87odgsjef5.fsf@baldur.tsdh.de> <87absbg53e.fsf@baldur.tsdh.de> <878x7ujfov.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1188427282 13595 80.91.229.12 (29 Aug 2007 22:41:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Aug 2007 22:41:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 30 00:41:20 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IQWDr-0006rY-HP for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Aug 2007 00:41:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IQWDr-0006MT-Br for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Aug 2007 18:41:15 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 48 Original-X-Trace: individual.net rH9Su4fFsRkNCYEih9aKGg8yJcOz/Izmvq0kLC698l6KfGUOBg Cancel-Lock: sha1:bOW220R7eN+2xgrGCyFEgp2v64s= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/0.9.8.1 (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:151435 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:46957 Archived-At: Tassilo Horn wrote: hi tassilo, >> btw, because my screen is rather small (12inch ibook), a converted >> page isn't shown in full, and i have to scroll down to see the bottom >> part. (slicing doesn't help, as the screen is just too small.) > > You can still slice with: yes, i saw that function. however, the thing is, the text itself is simply too large to fit on my screen. ;-) telling doc-view to create smaller images wouldn't work either, because then the text becomes too small to read. >> other viewers (xdvi, xpdf) usually use the space bar to scroll down >> and jump to the top of the next page if the bottom of the page is >> shown. usually, DEL or backspace does the opposite. > > Implemented. thanks, i just downloaded the new version. your way of doing it is a bit smarter than mine. ;-) unfortunately, moving backward from the top of page X to the bottom of page X-1 doesn't work. the cause seems to be to be what i would consider a bug in emacs, though. the problem is that calling (goto-char (point-max)) makes the entire image disappear from the visible part of the buffer; only the line "Page x of y" is visible. if at this point i hit DEL to scroll down the image and make it visible, emacs displays the *top* part of the image, not the bottom part, which i would expect. like i said, i think this should be considered a bug in emacs. if the buffer contents is scrolled down, and emacs needs to scroll an image into view, it apparently shows the top of the image, even if the image is too large to be visible all at once. what emacs *should* do in such cases, IMHO, is show the *bottom* part of an image first, and only show the top part of the image when the contents is scrolled down further. btw, defparameter is back again, and you've made a typo: doc-view-scroll-dows-or-previous-page (twice) ...................^ -- Joost Kremers joostkremers@yahoo.com Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)