bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#12876: 24.3.50; DocView problem with cached files


From: Tassilo Horn
Subject: bug#12876: 24.3.50; DocView problem with cached files
Date: Tue, 13 Nov 2012 14:12:00 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Stephen Berman <stephen.berman@gmx.net> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]