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: Tue, 21 Apr 2020 02:43:09 +0300 Organization: LINKOV.NET Message-ID: <87imhtvi42.fsf@mail.linkov.net> References: <83r1wqgcl1.fsf@gnu.org> <87eesnayhf.fsf@mail.linkov.net> <83sgh2d2zo.fsf@gnu.org> <874ktg5pgt.fsf@mail.linkov.net> <83r1wjin8y.fsf@gnu.org> <87y2qrvzag.fsf@mail.linkov.net> <87h7xfvwy0.fsf@mail.linkov.net> <83sggygr1w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="97319"; 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: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 21 01:48:40 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 1jQg9Y-000PBb-Lp for ged-emacs-devel@m.gmane-mx.org; Tue, 21 Apr 2020 01:48:40 +0200 Original-Received: from localhost ([::1]:44196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQg9X-0007C4-0G for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 19:48:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38834) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQg8s-0006Nr-6X for emacs-devel@gnu.org; Mon, 20 Apr 2020 19:47:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQg8r-0003iO-Su for emacs-devel@gnu.org; Mon, 20 Apr 2020 19:47:57 -0400 Original-Received: from relay5-d.mail.gandi.net ([217.70.183.197]:45439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQg8p-0003dy-PM; Mon, 20 Apr 2020 19:47:55 -0400 X-Originating-IP: 91.129.106.11 Original-Received: from mail.gandi.net (m91-129-106-11.cust.tele2.ee [91.129.106.11]) (Authenticated sender: juri@linkov.net) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id BF4361C0006; Mon, 20 Apr 2020 23:47:50 +0000 (UTC) In-Reply-To: <83sggygr1w.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Apr 2020 17:39:07 +0300") Received-SPF: pass client-ip=217.70.183.197; envelope-from=juri@linkov.net; helo=relay5-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/04/20 19:47:51 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Received-From: 217.70.183.197 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:247430 Archived-At: >> Here is a complete patch: > > Thanks, LGTM. > >> +(defcustom image-keep-auto-resize 1 > > I'd name this something like image-auto-resize-on-window-resize. the > "keep" part has lower mnemonic value, IMO. Now pushed patch to emacs-27 after renaming to image-auto-resize-on-window-resize, and updated the documentation. Please check if everything is right in the manual.