From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#41222: 27.1; Auto-resizing of images in image-mode Date: Thu, 14 May 2020 21:46:15 +0100 Message-ID: <20200514204615.GC50681@breton.holly.idiocy.org> References: <87tv0kkbkl.fsf@mail.linkov.net> 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="32432"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 41222@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 14 22:47:11 2020 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 1jZKl5-0008Jw-8A for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 22:47:11 +0200 Original-Received: from localhost ([::1]:37888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZKl4-0004MD-5w for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 May 2020 16:47:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZKkw-0004LS-RZ for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 16:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51752) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZKkw-0002qZ-Gw for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 16:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZKkw-0004Jy-F9 for bug-gnu-emacs@gnu.org; Thu, 14 May 2020 16:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 May 2020 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41222 X-GNU-PR-Package: emacs Original-Received: via spool by 41222-submit@debbugs.gnu.org id=B41222.158948918516556 (code B ref 41222); Thu, 14 May 2020 20:47:02 +0000 Original-Received: (at 41222) by debbugs.gnu.org; 14 May 2020 20:46:25 +0000 Original-Received: from localhost ([127.0.0.1]:35065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZKkL-0004Iy-3Q for submit@debbugs.gnu.org; Thu, 14 May 2020 16:46:25 -0400 Original-Received: from idiocy.org ([217.169.17.33]:54169 helo=breton.holly.idiocy.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZKkJ-0004Ik-2O for 41222@debbugs.gnu.org; Thu, 14 May 2020 16:46:23 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 4B0C12022C709E; Thu, 14 May 2020 21:46:15 +0100 (BST) Mail-Followup-To: Alan Third , Juri Linkov , 41222@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87tv0kkbkl.fsf@mail.linkov.net> 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:180278 Archived-At: On Wed, May 13, 2020 at 01:57:38AM +0300, Juri Linkov wrote: > This is a followup to the emacs-devel thread > https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg00777.html > > I noticed that image-mode still lacks one needed command: > some image viewers have a menu item titled “Normal Size C-0” or > “Original Size C-0”. Here's is the patch that implements it: > + ["Original Size" image-transform-original > + :help "Reset image to original size"] Hi Juri, this looks good to me, but I’m not sure about saying "original size", as that may be mistaken for meaning the size it was when it was loaded the first time. Perhaps "actual size"? It’s not great, but I think less open to interpretation than "original". -- Alan Third