From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Auto-resizing of images in image-mode Date: Mon, 20 Apr 2020 02:18:12 +0300 Organization: LINKOV.NET Message-ID: <87368zxdxn.fsf@mail.linkov.net> References: <83r1wqgcl1.fsf@gnu.org> <87eesnayhf.fsf@mail.linkov.net> <83sgh2d2zo.fsf@gnu.org> <874ktg5pgt.fsf@mail.linkov.net> <20200419123417.GA74053@breton.holly.idiocy.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="127414"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 20 01:30:08 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jQJO3-000X2Z-IU for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 01:30:07 +0200 Original-Received: from localhost ([::1]:54264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQJO2-0006eF-Ks for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Apr 2020 19:30:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38492 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQJLv-0003gT-RG for emacs-devel@gnu.org; Sun, 19 Apr 2020 19:27:56 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQJLv-0002gt-I8 for emacs-devel@gnu.org; Sun, 19 Apr 2020 19:27:55 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:54119) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQJLs-0002GZ-6u; Sun, 19 Apr 2020 19:27:52 -0400 X-Originating-IP: 91.129.99.85 Original-Received: from mail.gandi.net (m91-129-99-85.cust.tele2.ee [91.129.99.85]) (Authenticated sender: juri@linkov.net) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 62973C0005; Sun, 19 Apr 2020 23:27:48 +0000 (UTC) In-Reply-To: <20200419123417.GA74053@breton.holly.idiocy.org> (Alan Third's message of "Sun, 19 Apr 2020 13:34:17 +0100") Received-SPF: pass client-ip=217.70.183.198; envelope-from=juri@linkov.net; helo=relay6-d.mail.gandi.net X-detected-operating-system: by eggs1p.gnu.org: Linux 3.11 and newer [fuzzy] X-Received-From: 217.70.183.198 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:247339 Archived-At: > Before Emacs 27 any image scaling and rotation required imagemagick. > Emacs 27 can (mostly) handle it without imagemagick now. So yes, this > behaviour is new to people who don’t build with imagemagick. Aha, this explains everything because I used imagemagick in older versions. >> But anyway their docstrings say: >> >> This command has no effect unless Emacs is compiled with >> ImageMagick support. >> >> So these commands should be fixed to work without ImageMagick. > > It should generally be a case of removing any checks for imagemagick > since the dependence on it is no longer there. In some cases I think > the docstring says it relies on imagemagick, but the function works in > Emacs 27 without it anyway. So I removed checks for imagemagick and mentions from docstrings after confirming that all commands work in Emacs 27 without imagemagick.