all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 12876@debbugs.gnu.org
Subject: bug#12876: 24.3.50; DocView problem with cached files
Date: Tue, 13 Nov 2012 14:12:00 +0100	[thread overview]
Message-ID: <87pq3h1wbj.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <87ip99g3it.fsf@rosalinde.fritz.box> (Stephen Berman's message of "Tue, 13 Nov 2012 12:12:42 +0100")

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	other threads:[~2012-11-13 13:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-13 11:12 bug#12876: 24.3.50; DocView problem with cached files Stephen Berman
2012-11-13 13:12 ` Tassilo Horn [this message]
2012-11-13 20:28 ` Tassilo Horn
2012-11-13 21:09   ` Stephen Berman
2012-11-14 10:05     ` Tassilo Horn
2012-11-14 10:25       ` Stephen Berman
2012-11-14 10:45         ` Tassilo Horn
2012-11-15  3:47   ` Stefan Monnier
2012-11-15  7:31     ` Tassilo Horn
2012-11-15  7:57       ` Tassilo Horn
2020-09-13 16:07         ` Lars Ingebrigtsen
2020-09-13 20:05           ` Stephen Berman
2020-09-13 20:23             ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=87pq3h1wbj.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=12876@debbugs.gnu.org \
    --cc=stephen.berman@gmx.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.