From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#21239: 25.0.50; `(image-size image 'pixels)` is causing Emacs to freeze on OSX Snow Leopard. Date: Wed, 12 Aug 2015 00:29:45 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1439364627 13059 80.91.229.3 (12 Aug 2015 07:30:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Aug 2015 07:30:27 +0000 (UTC) To: 21239@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 12 09:30:15 2015 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 1ZPQUJ-0001wD-K1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 09:30:15 +0200 Original-Received: from localhost ([::1]:37292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPQUI-0000rk-HS for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Aug 2015 03:30:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPQUF-0000rS-2a for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 03:30:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZPQUB-0007E7-He for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 03:30:10 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33363) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZPQUB-0007Dc-9s for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 03:30:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZPQUA-0000PA-Dd for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2015 03:30:06 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2015 07:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21239 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21239-submit@debbugs.gnu.org id=B21239.14393645911503 (code B ref 21239); Wed, 12 Aug 2015 07:30:04 +0000 Original-Received: (at 21239) by debbugs.gnu.org; 12 Aug 2015 07:29:51 +0000 Original-Received: from localhost ([127.0.0.1]:53806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPQTu-0000OB-Hz for submit@debbugs.gnu.org; Wed, 12 Aug 2015 03:29:50 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:50324) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPQTs-0000O2-Gg for 21239@debbugs.gnu.org; Wed, 12 Aug 2015 03:29:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Mime-Version:Message-Id:To:References:Date:Subject:Content-Transfer-Encoding:Content-Type:From; bh=HEJ45SdAhbq77KsHjrtFy3nN6mQasabv3KBgTK6TOqw=; b=u5nFvqN++CQMt+pDAbpgskEu7R5akpx0Q+p2Cj4xKng//U/aHS+Tq0AjZQtVJs3rWxW3/NGGITaUWrW++kMAcwt3U/vVdtfAIfU4E0Iufz36Vvict1RpkA4q+UammkFC; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:49297 helo=[192.168.0.3]) by cobb.liquidweb.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1ZPQTq-0001VE-AJ for 21239@debbugs.gnu.org; Wed, 12 Aug 2015 03:29:46 -0400 X-Mailer: Apple Mail (2.1084) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: authenticated_id: lawlist/from_h X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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:105429 Archived-At: Additional follow-up: In the older version of Emacs Trunk from last year, the test `(fboundp = 'imagemagick-types)' is `nil'. In the Emacs Trunk from August 4, 2015, = the same test is `t`. The section of code from `doc-view-insert-image` tests for both = `doc-view-scale-internally' AND `(fboundp 'imagemagick-types)'. So, while it seemed that the culprit was `doc-view-scale-internally', it = is actually how Emacs behaves in `image-mode' and `doc-view-mode' when = `(fboundp 'imagemagick-types)' is `t`. Setting `imagemagick-types-inhibit' to `t' seems to fixe the problem = with displaying a raw xpm in `image-mode'` in a buffer all by itself; = and, adding an additional test to `doc-view-insert-image' of `(not (eq = imagemagick-types-inhibit t))' is one way to get Emacs to stop freezing.