From: Tassilo Horn <tsdh@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Stephen Berman <stephen.berman@gmx.net>, 12876@debbugs.gnu.org
Subject: bug#12876: 24.3.50; DocView problem with cached files
Date: Thu, 15 Nov 2012 08:31:38 +0100 [thread overview]
Message-ID: <87r4nv490l.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <jwv7gpny1no.fsf-monnier+bug#12876@gnu.org> (Stefan Monnier's message of "Wed, 14 Nov 2012 22:47:39 -0500")
Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> 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. ]
Right, I'll do the next time.
>> 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.
Not here running "eliz@gnu.org-20121114172255-6mbtm95gmreikpt1", that is
revno 110896. I have the same symptoms as Stephen, that is, "P/17" in
mode-line and `doc-view-next-page' and friends error.
There are some newer commits since then, but none in
lisp/emacs-lisp/gv.el.
> 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.
I run Gentoo GNU/Linux, so everytime I reinstall the emacs-vcs package,
it'll do a complete vanialla install bootstrapping and recompiling
everything.
I'll update to revno 110904 to see if it works and report back.
Bye,
Tassilo
next prev parent reply other threads:[~2012-11-15 7:31 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
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 [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r4nv490l.fsf@thinkpad.tsdh.de \
--to=tsdh@gnu.org \
--cc=12876@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).