unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Alan Third <alan@idiocy.org>
Cc: 41222@debbugs.gnu.org
Subject: bug#41222: 27.1; Auto-resizing of images in image-mode
Date: Fri, 15 May 2020 01:39:55 +0300	[thread overview]
Message-ID: <87pnb688y4.fsf@mail.linkov.net> (raw)
In-Reply-To: <20200514204615.GC50681@breton.holly.idiocy.org> (Alan Third's message of "Thu, 14 May 2020 21:46:15 +0100")

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

>> 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:

[-- Attachment #2: xreader.png --]
[-- Type: image/png, Size: 8182 bytes --]

[-- Attachment #3: Type: text/plain, Size: 10 bytes --]


Xviewer:

[-- Attachment #4: xviewer.png --]
[-- Type: image/png, Size: 4806 bytes --]

[-- Attachment #5: Type: text/plain, Size: 63 bytes --]


And I found one program, namely Pix, that uses "actual size".

  reply	other threads:[~2020-05-14 22:39 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-12 22:57 bug#41222: 27.1; Auto-resizing of images in image-mode Juri Linkov
2020-05-14 20:46 ` Alan Third
2020-05-14 22:39   ` Juri Linkov [this message]
2020-05-15  6:28     ` Alan Third
2020-05-19 22:43       ` Juri Linkov
2020-05-20 20:18         ` Alan Third
2020-05-20 22:23           ` Juri Linkov
2020-06-08  0:30             ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pnb688y4.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=41222@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).