From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn 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 10:11:28 +0100 Message-ID: <877gle1etb.fsf@thinkpad.tsdh.de> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1362993141 16248 80.91.229.3 (11 Mar 2013 09:12:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2013 09:12:21 +0000 (UTC) Cc: 13887@debbugs.gnu.org To: E Sabof , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 11 10:12:43 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 1UEymb-0005NC-DH for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2013 10:12:37 +0100 Original-Received: from localhost ([::1]:33701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEymF-00082x-4J for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2013 05:12:15 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46416) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEymA-00081x-Rc for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:12:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UEym8-0007HH-VT for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:12:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UEym8-0007HB-Rq for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:12:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UEymz-0007Uc-Sx for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 05:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2013 09:13:01 +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.136299314728755 (code B ref 13887); Mon, 11 Mar 2013 09:13:01 +0000 Original-Received: (at 13887) by debbugs.gnu.org; 11 Mar 2013 09:12:27 +0000 Original-Received: from localhost ([127.0.0.1]:45321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEymR-0007Tj-Bv for submit@debbugs.gnu.org; Mon, 11 Mar 2013 05:12:27 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]:48608) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UEymN-0007Tb-UO for 13887@debbugs.gnu.org; Mon, 11 Mar 2013 05:12:26 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id C200F1A8799; Mon, 11 Mar 2013 10:11:29 +0100 (CET) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FV99Xj6nF_Kg; Mon, 11 Mar 2013 10:11:29 +0100 (CET) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 4B4CB1A8798; Mon, 11 Mar 2013 10:11:29 +0100 (CET) In-Reply-To: (E. Sabof's message of "Sat, 9 Mar 2013 07:26:28 +0000") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) 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:72309 Archived-At: E Sabof 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 will also run it again. Ditto for M-: (i