From: Tassilo Horn <tsdh@gnu.org>
To: E Sabof <esabof@gmail.com>, Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 13887@debbugs.gnu.org
Subject: bug#13887: 24.3; doc-view will render blurry images when image-magick is available
Date: Mon, 11 Mar 2013 10:11:28 +0100 [thread overview]
Message-ID: <877gle1etb.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <CAEp6DyYiNyVeLugGLBXeaujf6pGNoHLa=SuBC3v9=J7MsYZ6qw@mail.gmail.com> (E. Sabof's message of "Sat, 9 Mar 2013 07:26:28 +0000")
E Sabof <esabof@gmail.com> writes:
> A relevant point might be that I usually start doc-view from
> "dired-find-file"
No, that seems unrelated.
>>> [Image seems to be moved only when zooming with my centering patch.]
>>
>> Strange, I can't reproduce that here. Do you have a recipe?
>
> Can't really give you a recipe - re-sizing just seems very fragile. A
> possible source might be this: running M-: (overlays-at 1) usually
> returns 2 overlays. This is also true for the stable version.
Hm, indeed. I can reproduce that with emacs -Q. Sometimes I have 2
overlays, sometimes even three. Right now, using emacs-bzr-version
"eliz@gnu.org-20130305181225-20nu9zkyby8jw21e",
$ emacs -Q some.pdf
will show some.pdf, and (overlays-at 1) returns 2 overlays. Also, when
switching pages, the mode-line indicator is updated but I still see the
old page. It won't refresh at all. Ditto for zooming or anything that
would change the display.
Aha, now I know how to reproduce that (also with the emacs with my
customizations and the centering patch). Somehow,
`doc-view-new-window-function' is run way too often (I've commented in
the (message ...) in its first line to see). When opening some
document, it's run twice. When the document is shown, M-x <TAB> will
also run it again. Ditto for M-: (i<TAB. Ditto for C-x C-f.
That way, I've managed to have 9 overlays all from 1 to point-max in my
current doc-view buffer. And now I get the same effects with zooming
(and my centering patch): it seems the image is just moved. The problem
is in fact that the :align-to changes for centering the image are
visible to you, while the image update is not. In that situation,
changing the page won't do anything visible for you, too, except for
updating the page number in the mode-line.
Stefan, could you please have a look at this? You're more proficient
when it comes to the windows/overlays/image-mode stuff.
Bye,
Tassilo
next prev parent reply other threads:[~2013-03-11 9:11 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-06 3:40 bug#13887: 24.3; doc-view will render blurry images when image-magick is available E Sabof
2013-03-06 8:05 ` Tassilo Horn
2013-03-06 12:13 ` E Sabof
2013-03-06 13:01 ` Tassilo Horn
2013-03-06 14:19 ` E Sabof
2013-03-06 19:43 ` Tassilo Horn
2013-03-07 15:17 ` E Sabof
2013-03-07 15:55 ` Tassilo Horn
2013-03-07 16:15 ` E Sabof
2013-03-07 22:57 ` E Sabof
2013-03-08 7:57 ` Tassilo Horn
[not found] ` <CAEp6DybMJkagHjRaXPiA_ED_dntOk=5USr+P9DfqRPZ_JrrKww@mail.gmail.com>
2013-03-09 7:25 ` bug#13887: Fwd: " E Sabof
2013-03-09 7:26 ` E Sabof
2013-03-11 9:11 ` Tassilo Horn [this message]
2013-03-11 16:57 ` Eli Zaretskii
2013-03-11 18:20 ` Tassilo Horn
2013-03-11 18:45 ` Eli Zaretskii
2013-03-11 20:27 ` Tassilo Horn
2013-03-11 20:59 ` Eli Zaretskii
2013-03-11 22:08 ` E Sabof
2013-03-11 23:41 ` E Sabof
2013-03-12 1:00 ` E Sabof
2013-03-12 8:09 ` Tassilo Horn
2013-03-12 16:50 ` Eli Zaretskii
2013-03-12 18:00 ` Tassilo Horn
2013-03-12 16:52 ` Eli Zaretskii
2013-03-12 17:46 ` E Sabof
2013-03-12 21:11 ` Eli Zaretskii
2013-03-14 3:28 ` E Sabof
2013-03-14 3:56 ` E Sabof
2013-03-14 7:24 ` Tassilo Horn
2013-03-14 15:23 ` E Sabof
2013-03-14 16:48 ` Tassilo Horn
2013-03-14 21:42 ` Tassilo Horn
2013-03-15 1:11 ` E Sabof
2013-03-15 12:52 ` Stefan Monnier
2013-03-15 13:34 ` E Sabof
2013-03-15 17:51 ` Stefan Monnier
2013-03-15 23:26 ` E Sabof
2013-03-16 13:41 ` Stefan Monnier
2013-03-16 23:30 ` E Sabof
2013-03-15 13:55 ` Tassilo Horn
2013-03-15 14:08 ` E Sabof
2013-03-20 15:58 ` E Sabof
2019-09-26 17:16 ` Lars Ingebrigtsen
2019-10-14 6:04 ` Lars Ingebrigtsen
2013-03-14 13:26 ` Stefan Monnier
2013-03-14 15:30 ` Tassilo Horn
2013-03-14 15:53 ` E Sabof
2013-03-14 16:19 ` Stefan Monnier
2013-03-06 18:16 ` Stefan Monnier
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=877gle1etb.fsf@thinkpad.tsdh.de \
--to=tsdh@gnu.org \
--cc=13887@debbugs.gnu.org \
--cc=esabof@gmail.com \
--cc=monnier@iro.umontreal.ca \
/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.