From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuuki Harano Newsgroups: gmane.emacs.bugs Subject: bug#46491: [feature/pgtk] Unused macro warning in image.c without ImageMagick Date: Sun, 14 Feb 2021 11:20:19 +0900 (JST) Organization: Ingage Inc. Message-ID: <20210214.112019.308581254652492325.masm@luna.pink.masm11.me> References: <871rdksz8x.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, 46491@debbugs.gnu.org To: alan@idiocy.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 14 03:21:12 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lB727-0006wq-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Feb 2021 03:21:12 +0100 Original-Received: from localhost ([::1]:51856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lB726-0006M4-G0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Feb 2021 21:21:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53232) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lB71y-0006Lj-Gy for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 21:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lB71y-0001s8-AG for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 21:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lB71y-0004RI-5K for bug-gnu-emacs@gnu.org; Sat, 13 Feb 2021 21:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuuki Harano Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Feb 2021 02:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46491 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 46491-submit@debbugs.gnu.org id=B46491.161326922716990 (code B ref 46491); Sun, 14 Feb 2021 02:21:02 +0000 Original-Received: (at 46491) by debbugs.gnu.org; 14 Feb 2021 02:20:27 +0000 Original-Received: from localhost ([127.0.0.1]:35301 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB71P-0004Py-2k for submit@debbugs.gnu.org; Sat, 13 Feb 2021 21:20:27 -0500 Original-Received: from shiro.masm11.me ([150.95.182.25]:57328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lB71M-0004Pn-8k for 46491@debbugs.gnu.org; Sat, 13 Feb 2021 21:20:25 -0500 Original-Received: from luna.pink.masm11.me (KD111239255141.au-net.ne.jp [111.239.255.141]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by shiro.masm11.me (Postfix) with ESMTPSA id 90AAAC013D; Sun, 14 Feb 2021 11:20:20 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=masm11.me; s=202002; t=1613269220; bh=qjwGP59AybFNBc2u+8Gjv/6iXf3wypuvsTeChe2UOUE=; h=Date:To:Cc:Subject:From:In-Reply-To:References; b=psnCAcHKKHlybFvolIOd9QO//Sl31vQBWcmKP7y+LvfR1e8+b0dg2gO1iLm3eeT3n MFvX/qmbQIfaK8yiiff8CtYstbo8EdtbQmoWwVI62ohJf215g6vT4xLTQevyOajQ1U KoPtUudrAPwkyOgN/8djDUYvEFvf4Sskl2M70fIg= In-Reply-To: X-Mailer: Mew version 6.8 on Emacs 28.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:199978 Archived-At: On Sat, 13 Feb 2021 23:05:45 +0000, Alan Third wrote: > I think your patch looks right, but I'm confused as to why this is in > the PGTK branch at all. The imagemagick transforms are intentionally > excluded from the native transforms, but this disables the imagemagick > transforms completely and, presumably, replaces them with native > transforms. I wanted to make imagemagick images not blurry in image-mode on scale x2.0 monitor. With the exclusion, imagemagick generates scaled image pixel data, and the image is rendered twice in size, so it is blurry. Without the exclusion, imagemagick generates original image pixel data, and the image may not be enlarged (but shrinked), so it may not be blurry. For other than imagemagick, like png, original image pixel data is generated, and it is not blurry on scale x2.0 monitor. So I disabled it. -- Yuuki Harano