all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 49347@debbugs.gnu.org, 44172@debbugs.gnu.org
Subject: bug#44172: bug#49347: image-save not working as expected for transformed image saving!
Date: Sat, 6 Nov 2021 01:00:10 -0700	[thread overview]
Message-ID: <CADwFkmn5pxX6zVe7nN0_o3sLuxeY4bNwaangwNP17LgYjZ18Lw@mail.gmail.com> (raw)
In-Reply-To: <87ee7udsou.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

> It's not very useful in `image-mode' buffers, but it's nice for
> consistency, perhaps?  I think whenever you see an image in Emacs, you
> should be able to interact with it that way.

I'm all for consistency, but in this case I think it confuses more than
it helps.  Actually, to explain what I think, "rotate" is an even better
example than "save", so please bear with me:

- eww: I'm hard-pressed to think of a case when I have ever wanted to
  rotate an image on a website.

- image-dired-thumbnail-mode: the thumbnails are currently rotatable,
  but that just makes it go out of synch with the picture.

- In the icons.el library I'm working on, we will use SVG images as
  icons.  They should not rotate on "r".  The same goes for the logo on
  the about/splash screen, etc.

IOW, I think we should consider "what might the user want to do with an
image here?" and then provide the bindings to do that.  The consistency
I would go for is more along the line of "every time you rotate an
image, it is the 'r' key" rather than "you can always rotate an image,
anywhere, even if it makes no sense".

For `image-save' specifically, I think this command makes sense in eww
as you will obviously want to be able to save images from websites.
I also think it would make obvious sense in a new `image-edit-mode'.

But I don't see that it makes sense in `image-mode' that is
fundamentally about displaying an image in various ways, and where users
might be lead to think that any activated display options (scaling,
etc.) will be reflected in a saved file.





  reply	other threads:[~2021-11-06  8:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23 11:18 bug#44172: 28.0.50; Exporting image data Lars Ingebrigtsen
2020-10-23 11:45 ` Eli Zaretskii
2020-10-23 11:49   ` Lars Ingebrigtsen
2020-10-23 16:24 ` Alan Third
2020-10-24 19:51   ` Lars Ingebrigtsen
2021-10-31 15:04 ` Stefan Kangas
2021-10-31 15:11   ` Lars Ingebrigtsen
2021-10-31 15:39     ` Stefan Kangas
2021-10-31 15:42       ` Lars Ingebrigtsen
2021-11-05 13:57         ` bug#44172: bug#49347: image-save not working as expected for transformed image saving! Stefan Kangas
2021-11-06  0:38           ` Lars Ingebrigtsen
2021-11-06  8:00             ` Stefan Kangas [this message]
2021-11-06 18:12               ` Lars Ingebrigtsen

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

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

  git send-email \
    --in-reply-to=CADwFkmn5pxX6zVe7nN0_o3sLuxeY4bNwaangwNP17LgYjZ18Lw@mail.gmail.com \
    --to=stefan@marxist.se \
    --cc=44172@debbugs.gnu.org \
    --cc=49347@debbugs.gnu.org \
    --cc=larsi@gnus.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.