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: Fri, 15 May 2020 07:28:34 +0100 Message-ID: <20200515062834.GB52382@breton.holly.idiocy.org> References: <87tv0kkbkl.fsf@mail.linkov.net> <20200514204615.GC50681@breton.holly.idiocy.org> <87pnb688y4.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="58749"; 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 Fri May 15 08:29:23 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 1jZTqV-000FDt-8m for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 08:29:23 +0200 Original-Received: from localhost ([::1]:52732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jZTqU-0003Pp-AF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 May 2020 02:29:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60242) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jZTqB-00033j-Dz for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 02:29:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52391) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jZTq9-0000fy-Qm for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 02:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jZTq9-0006Qd-Mc for bug-gnu-emacs@gnu.org; Fri, 15 May 2020 02:29:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 May 2020 06:29:01 +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.158952412124683 (code B ref 41222); Fri, 15 May 2020 06:29:01 +0000 Original-Received: (at 41222) by debbugs.gnu.org; 15 May 2020 06:28:41 +0000 Original-Received: from localhost ([127.0.0.1]:35704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZTpp-0006Q3-3B for submit@debbugs.gnu.org; Fri, 15 May 2020 02:28:41 -0400 Original-Received: from idiocy.org ([217.169.17.33]:54394 helo=breton.holly.idiocy.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jZTpo-0006Pq-9r for 41222@debbugs.gnu.org; Fri, 15 May 2020 02:28:40 -0400 Original-Received: by breton.holly.idiocy.org (Postfix, from userid 501) id 5C82F2022C87DF; Fri, 15 May 2020 07:28:34 +0100 (BST) Mail-Followup-To: Alan Third , Juri Linkov , 41222@debbugs.gnu.org Content-Disposition: inline In-Reply-To: <87pnb688y4.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:180293 Archived-At: On Fri, May 15, 2020 at 01:39:55AM +0300, Juri Linkov wrote: > >> 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. > > It seems the correct term for the size of the image loaded the first > time would be "initial size"? Hmm, actually, the docstring of > 'image-transform-reset' says the correct term for the initial size is > "default size". > > > Perhaps "actual size"? It’s not great, but I think less open to > > interpretation than "original". > > I don't know, some programs use "original size", some "normal size": If you're happy enough it won't be a problem I won't argue. :) -- Alan Third