From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: Emacs and ImageMagick-7 issues Date: Fri, 13 Jan 2017 22:01:44 +0900 (JST) Message-ID: References: <0eead875-d46b-1973-0165-5e42a2522ccb@alice.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1484312585 9247 195.159.176.226 (13 Jan 2017 13:03:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 13 Jan 2017 13:03:05 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: eliz@gnu.org, sds@gnu.org, Tino Calancha , Fabrice Popineau , Emacs developers To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 13 14:02:58 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cS1V8-0000AH-3s for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2017 14:02:38 +0100 Original-Received: from localhost ([::1]:41043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS1VC-0006RA-Fb for ged-emacs-devel@m.gmane.org; Fri, 13 Jan 2017 08:02:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37505) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cS1UX-0006IM-Dn for emacs-devel@gnu.org; Fri, 13 Jan 2017 08:02:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cS1UT-0005yp-G2 for emacs-devel@gnu.org; Fri, 13 Jan 2017 08:02:01 -0500 Original-Received: from mail-pf0-x241.google.com ([2607:f8b0:400e:c00::241]:36441) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cS1UM-0005yA-Fc; Fri, 13 Jan 2017 08:01:50 -0500 Original-Received: by mail-pf0-x241.google.com with SMTP id b22so8376436pfd.3; Fri, 13 Jan 2017 05:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=wiaQNkxUfI+OTj01BL4nPOszV43AW4j6nk8AOFQH9J8=; b=JQLHrbWvZ36ttMmt6pLQnPx1zjq9wf4rqepYJ3xpalYxNvvzMREhOxCy0YuzbVg8Bx d+xQwxEmftzdhdr9t8rmB1N3x/rW5hnwWLBfZZHEXT8oWU03jgP+jVgn3hR25fUrkk5H NAHRh7UoDQTMLywPPuVb2GJTcPOnlq6mXgFTPULiEi+3sU3pGEp/OxIq8+yMa9xuJmNT Jd67MB42oezKQiTFYVrpLIsPXwN2aa5qBiuJB728mEWx0lbK7bhvXRubzs2knvvjsUX9 YB6cq2MzRMuneEXd87MrlRhAtMglrWTPQilLDErQGXqRGwZsjYL3NTPl81niOl0LSfM3 +xjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=wiaQNkxUfI+OTj01BL4nPOszV43AW4j6nk8AOFQH9J8=; b=AnxvBZuwCiGdO2aHEzPRObAL1NzjL56QbToD2KBz2NFjI6gKNQ9NDSuFN9y80MfBcb 6ePswiSvLcoKELd48RAVcBiIIFPzFSX//aLRuIlpf/mvL4BAIevQI9av8Kuvj9a8u5Ax P2XbS6VEk4OTm1k1d20jo7mTx1vU/1w6HSbtL8L8JMtd1kbchQKQ7kgeEMQwnAVMZCcz EYWM+FMp4veJofJ2Ys03OOklrgoYE1oMjRV3PlLdoLJC4v0oJo3TdKjjClQ3xU4ermwv 0UGepOhVrYD1nnINcrSmG7nJ8uxA7YK/y3JIOH7UwEbUjPSQiEYt7dEKbjM47s8+2adL 44IQ== X-Gm-Message-State: AIkVDXLjbHsSpStap0m4xaTy7Pc7ol/co+bXJoLnKJKUBIFDHoWjAKktb+wqTuRcjlrf3w== X-Received: by 10.98.78.66 with SMTP id c63mr22669713pfb.138.1484312509270; Fri, 13 Jan 2017 05:01:49 -0800 (PST) Original-Received: from calancha-pc (217.225.128.101.dy.bbexcite.jp. [101.128.225.217]) by smtp.gmail.com with ESMTPSA id 21sm29312870pfy.4.2017.01.13.05.01.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jan 2017 05:01:48 -0800 (PST) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <0eead875-d46b-1973-0165-5e42a2522ccb@alice.it> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::241 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:211244 Archived-At: On Fri, 13 Jan 2017, Angelo Graziosi wrote: > Start Emacs and visit a PNG or JPG etc, file. For example foo-01.png. It is > displayed correctly and fitted to the windows *width*. Now do the same with > another graphical file. For example foo-02.png. It also is displayed > correctly and fitted to the window WIDTH. > > Close foo-02.png and for foo-01.png click Image - Fit to Window Height. It > complains with a BELL sound and with the message: > >> >> Assertion failed: (= (cdr size) (- (nth 3 (window-inside-pixel-edges)) >> (nth 1 (window-inside-pixel-edges)))), 821, 814 >> user-error: Minibuffer window is not active > > but the file is displayed correctly, at least in appearance! If now one > re-visit foo-02.png it is visited in Fundamental mode and with the message: > >> Cannot display image: ((= (cdr size) (- (nth 3 >> (window-inside-pixel-edges)) (nth 1 (window-inside-pixel-edges)))) 821 814) > > It seems that this build of Emacs does not like "Image - Fit to Window > Height". The graphical format (PNJ, JPG..) seems irrelevant.. Hi Angelo, that sounds like: http://debbugs.gnu.org/24393 Regards, Tino