GNU bug report logs - #12876
24.3.50; DocView problem with cached files

Previous Next

Package: emacs;

Reported by: Stephen Berman <stephen.berman <at> gmx.net>

Date: Tue, 13 Nov 2012 11:14:02 UTC

Severity: normal

Tags: moreinfo

Found in versions 24.2.50, 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 12876 <at> debbugs.gnu.org (full text, mbox):

From: Stephen Berman <stephen.berman <at> gmx.net>
To: Tassilo Horn <tsdh <at> gnu.org>
Cc: 12876 <at> debbugs.gnu.org
Subject: Re: bug#12876: 24.3.50; DocView problem with cached files
Date: Tue, 13 Nov 2012 22:09:08 +0100
On Tue, 13 Nov 2012 21:28:44 +0100 Tassilo Horn <tsdh <at> gnu.org> wrote:

> Hi Stephen & Stefan,
>
> the following patch fixes the issue for me, but I'm not sure if it's the
> right thing to do.  Stefan, could you please check?
>
> Basically, the difference between finding a not yet converted doc and a
> doc that's already cached is that in the former case
> `doc-view-goto-page' runs with the selected window displaying the doc's
> buffer.  AFAIKS, that's a must for the image-mode winprops stuff to
> work, so in the latter case, the patch defers running
> `doc-view-goto-page' a bit into the future when the window showing the
> doc buffer is hopefully there.

The patch fixes the problem for me, too; thanks.  However, the delay of
0.1 seconds results in the unconverted file being noticeable before the
image is displayed.  I tried it with a 0.01 second delay and this makes
the image appear practically instantly to me, i.e., I didn't see the
unconverted source, and the paging still worked.  I don't know if this
short a delay is always guaranteed to succeed.

Steve Berman




This bug report was last modified 4 years and 312 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.