From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#12876: 24.3.50; DocView problem with cached files Date: Tue, 13 Nov 2012 14:12:00 +0100 Message-ID: <87pq3h1wbj.fsf@thinkpad.tsdh.de> References: <87ip99g3it.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352812362 22812 80.91.229.3 (13 Nov 2012 13:12:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Nov 2012 13:12:42 +0000 (UTC) Cc: 12876@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 13 14:12:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1TYGIM-0008R8-Tp for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2012 14:12:51 +0100 Original-Received: from localhost ([::1]:39592 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYGID-0007CP-2M for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Nov 2012 08:12:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYGI7-0007BK-S3 for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 08:12:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYGI4-0000IL-QQ for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 08:12:35 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55892) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYGI4-0000IE-Me for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 08:12:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TYGIY-0005ML-3L for bug-gnu-emacs@gnu.org; Tue, 13 Nov 2012 08:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Nov 2012 13:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12876 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12876-submit@debbugs.gnu.org id=B12876.135281235720569 (code B ref 12876); Tue, 13 Nov 2012 13:13:02 +0000 Original-Received: (at 12876) by debbugs.gnu.org; 13 Nov 2012 13:12:37 +0000 Original-Received: from localhost ([127.0.0.1]:37910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYGI8-0005Lh-E5 for submit@debbugs.gnu.org; Tue, 13 Nov 2012 08:12:37 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:34930) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TYGI5-0005LY-SN for 12876@debbugs.gnu.org; Tue, 13 Nov 2012 08:12:35 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 64B87D2464; Tue, 13 Nov 2012 14:12:03 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J_-CPG305HLd; Tue, 13 Nov 2012 14:12:02 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id DDD60D2460; Tue, 13 Nov 2012 14:12:02 +0100 (CET) In-Reply-To: <87ip99g3it.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Tue, 13 Nov 2012 12:12:42 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -0.8 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:66862 Archived-At: Stephen Berman writes: > When I revisit a PDF file that DocView has cached (also when starting > with -Q, with the cache /tmp/docview1000), trying to scroll past the > bottom or top of the page fails with the error > "doc-view-scroll-up-or-next-page: Wrong type argument: > number-or-marker-p, nil" or "doc-view-scroll-down-or-previous-page: > Wrong type argument: number-or-marker-p, nil" and in either case also > with "Error during redisplay: (eval (number-to-string > (doc-view-current-page))) signaled (wrong-type-argument numberp nil)". > In addition, the page number indication in the mode line looks odd: > e.g. for a one page document it shows "P/1", for a five page document > it shows "P/5" (only the first page is displayed). I can confirm the issue. The problem is that (doc-view-current-page) and returns nil, although that's setf-ed in `doc-view-initiate-display'. But I think at this time, the window going to hold the images isn't there already. As a workaround, do `M-g M-g 1 RET'. I'll look into this issue later today. Bye, Tassilo