GNU bug report logs -
#12876
24.3.50; DocView problem with cached files
Previous Next
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
View this message in rfc822 format
> 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?
[ BTW, using a "diff -b" is very helpful for such patches which
reindent a lot of code. ]
> 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
Actually, no, the winprops stuff should also work when the buffer is not
displayed anywhere.
But I can't seem to reproduce the OP's problem.
I tried just "emacs -Q ~/tmp/foo.pdf; emacs -Q ~/tmp/foo.pdf" and it
worked fine.
I have the strange impression that the problem was actually not in
doc-view.el or image-mode.el (neither of which was modified between 110689
and 110748). I instead suspect it was a temporary bug in gv.el.
It's been fixed since, but the fix will only become effective after
recompiling the victim.
IOW, can you recompile image-mode.el and doc-view.el (or do a full
bootstrap) and then tell us whether you still see the problem (and if
so, try to provide a more detailed recipe)?
Stefan
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.