From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof 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 23:41:21 +0000 Message-ID: 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> <831ubllqr0.fsf@gnu.org> <87zjy9vg0r.fsf@thinkpad.tsdh.de> <83y5dtk606.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b67743ccd755a04d7aeb547 X-Trace: ger.gmane.org 1363045335 14828 80.91.229.3 (11 Mar 2013 23:42:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Mar 2013 23:42:15 +0000 (UTC) Cc: 13887@debbugs.gnu.org, Tassilo Horn To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 12 00:42:40 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 1UFCMY-0000bu-Ow for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 00:42:38 +0100 Original-Received: from localhost ([::1]:54213 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFCMC-00027l-JB for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Mar 2013 19:42:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55752) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFCM6-00026e-8A for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 19:42:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFCM1-0001jO-Vq for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 19:42:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42951) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFCM1-0001jJ-SL for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 19:42:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UFCMw-0005c2-20 for bug-gnu-emacs@gnu.org; Mon, 11 Mar 2013 19:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 11 Mar 2013 23:43: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.136304534621534 (code B ref 13887); Mon, 11 Mar 2013 23:43:02 +0000 Original-Received: (at 13887) by debbugs.gnu.org; 11 Mar 2013 23:42:26 +0000 Original-Received: from localhost ([127.0.0.1]:47060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFCMM-0005bH-4O for submit@debbugs.gnu.org; Mon, 11 Mar 2013 19:42:26 -0400 Original-Received: from mail-qc0-f171.google.com ([209.85.216.171]:43228) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFCMJ-0005b2-Il for 13887@debbugs.gnu.org; Mon, 11 Mar 2013 19:42:24 -0400 Original-Received: by mail-qc0-f171.google.com with SMTP id d1so1763606qca.2 for <13887@debbugs.gnu.org>; Mon, 11 Mar 2013 16:41:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=fj0SQpXp6R4q/dX3HAbbs0ZUL5eXDcuxMy1fQ2+c9OM=; b=SjuiR2WkwbPpasjRWudQ1Ct7kmXhIm02BhVXxSleii+N0Hj9X1Hon/cMvghowf+kc5 Ncb+9mZx48HUZucgziSE9ko0zscyWh7OR9QnVQNlp8H8gjx5o5bxOypKmQWJTM4UaTYS exmYZDEhqjvN6PXksOZJf6kd8RuNpy/m3t/mGecM4ADkwkpe1QMyZD+M+sPTDVUzLi3T 6dbdzUNj4NSG6j3syP/kg63VRQpvvxp56Rb0cZWmII1saDy/GwnmSYLlhSXu3ixUOAxg y5a6i3kbDspy7oZqEThzqjw6cxPNiAv+rhOtSwsGTuijbC/TtI64ci1jYhwZPFUC04Ya OFSg== X-Received: by 10.49.95.138 with SMTP id dk10mr22357567qeb.43.1363045281263; Mon, 11 Mar 2013 16:41:21 -0700 (PDT) Original-Received: by 10.49.70.233 with HTTP; Mon, 11 Mar 2013 16:41:21 -0700 (PDT) In-Reply-To: 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:72351 Archived-At: --047d7b67743ccd755a04d7aeb547 Content-Type: text/plain; charset=ISO-8859-1 The overlay with t value has precedence over other overlays. If the problem occurs, I can run the following function, and it will get fixed in existing windows. However if I create a new window, it will show only text. If I press + in that window, a new overlay will be created. Perhaps the t overlay was meant to be the default, and someone misunderstood it's effect. (defun 13887-fix-helper1 () (interactive) (let* ((ovs (overlays-at (point))) (ov-t (find-if (lambda (ov) (eq (overlay-get ov 'window) t)) ovs))) (when ov-t (delete-overlay ov-t)))) Here is one more helper function which might be useful. (defun 13887-own-overlay-present-p () (interactive) (let* ((ovs (overlays-at (point)))) (find-if (lambda (ov) (eq (overlay-get ov 'window) (selected-window))) ovs))) --047d7b67743ccd755a04d7aeb547 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
The overlay with t value = has precedence over other overlays. If the problem occurs, I can run the fo= llowing function, and it will get fixed in existing windows. However if I c= reate a new window, it will show only text. If I press + in that window, a = new overlay will be created. Perhaps the t overlay was meant to be the defa= ult, and someone misunderstood it's effect.

(defun 13887-fix-helper1 ()
=A0 (int= eractive)
=A0 (let* ((ovs (overlays-at (point)))
=A0 =A0 =A0 =A0 =A0(ov-t (find-if (lambda (ov) (eq (= overlay-get ov 'window) t))
=A0 =A0 =A0= =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ovs)))
=A0 =A0 (when ov-t (delete-overlay ov-t))))

Here= is one more helper function which might be useful.

(defun 13887-own-overlay-present-p ()<= /div>
=A0 (interactive)
=A0 (let* ((ovs (overlays-at (point))))
=A0 =A0 (find-if (lambda (ov) (eq (overlay-get ov 'window)
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 (selected-window)))
=A0 =A0 =A0= =A0 =A0 =A0 =A0ovs)))
--047d7b67743ccd755a04d7aeb547--