From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13887: 24.3; doc-view will render blurry images when image-magick is available Date: Mon, 11 Mar 2013 20:45:39 +0200 Message-ID: <831ubllqr0.fsf@gnu.org> References: <8762153qc8.fsf@thinkpad.tsdh.de> <8762143co6.fsf@thinkpad.tsdh.de> <877glkgvqj.fsf@thinkpad.tsdh.de> <87txonw6ev.fsf@thinkpad.tsdh.de> <87sj46493q.fsf@thinkpad.tsdh.de> <877gle1etb.fsf@thinkpad.tsdh.de> <838v5tx4av.fsf@gnu.org> <87txohx0g0.fsf@thinkpad.tsdh.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363027660 10324 80.91.229.3 (11 Mar 2013 18:47:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2013 18:47:40 +0000 (UTC) Cc: 13887@debbugs.gnu.org, esabof@gmail.com To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 11 19:48:05 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UF7lR-0004ye-Pf for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2013 19:48:01 +0100 Original-Received: from localhost ([::1]:44589 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UF7l5-00067w-L1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2013 14:47:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42333) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UF7kn-00067O-3S for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 14:47:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UF7kZ-00067K-ML for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 14:47:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UF7kZ-00066p-I2 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 14:47:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UF7lS-0006OG-KH for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 14:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2013 18:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13887-submit@debbugs.gnu.org id=B13887.136302764324517 (code B ref 13887); Mon, 11 Mar 2013 18:48:02 +0000 Original-Received: (at 13887) by debbugs.gnu.org; 11 Mar 2013 18:47:23 +0000 Original-Received: from localhost ([127.0.0.1]:46738 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UF7ko-0006NN-WC for submit@debbugs.gnu.org; Mon, 11 Mar 2013 14:47:23 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:57827) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UF7kl-0006N9-Gx for 13887@debbugs.gnu.org; Mon, 11 Mar 2013 14:47:21 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MJI00E00ES9EG00@a-mtaout21.012.net.il> for 13887@debbugs.gnu.org; Mon, 11 Mar 2013 20:45:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJI00EG7ES9AD80@a-mtaout21.012.net.il>; Mon, 11 Mar 2013 20:45:45 +0200 (IST) In-reply-to: <87txohx0g0.fsf@thinkpad.tsdh.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72334 Archived-At: > From: Tassilo Horn > Cc: esabof@gmail.com, monnier@iro.umontreal.ca, 13887@debbugs.gnu.org > Date: Mon, 11 Mar 2013 19:20:47 +0100 > > > doc-view-new-window-function seems to be run from a > > window-configuration-change-hook, right? > > No, from `image-mode-new-window-functions'. The functions in there are > run by `image-mode-winprops' if (and only if) there are no winprops set > for the image and the current window. Maybe I'm missing something, but in image-mode.el: . image-mode-winprops is called by image-mode-reapply-winprops . image-mode-reapply-winprops is added by image-mode-setup-winprops to window-configuration-change-hook Doesn't that mean what I said? > Basically, this should only ever happen when there's a new window > showing the buffer with the image. How's that ensured? Can you walk us through the relevant code?