GNU bug report logs - #41222
27.1; Auto-resizing of images in image-mode

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 12 May 2020 23:00:02 UTC

Severity: minor

Tags: patch

Found in version 27.1

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Alan Third <alan <at> idiocy.org>
Cc: 41222 <at> debbugs.gnu.org
Subject: bug#41222: 27.1; Auto-resizing of images in image-mode
Date: Fri, 15 May 2020 01:39:55 +0300
[Message part 1 (text/plain, inline)]
>> 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:
> <snip>
>> +	["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":

Xreader:
[xreader.png (image/png, inline)]
[Message part 3 (text/plain, inline)]
Xviewer:
[xviewer.png (image/png, inline)]
[Message part 5 (text/plain, inline)]
And I found one program, namely Pix, that uses "actual size".

This bug report was last modified 4 years and 352 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.