From: Lars Ingebrigtsen <larsi@gnus.org>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 22172@debbugs.gnu.org
Subject: bug#22172: 25.1.50; Wishlist: There should be a way to say to Emacs that is should rescale all images with a certain factor
Date: Wed, 10 Feb 2016 00:18:52 +1100 [thread overview]
Message-ID: <87zivaauo3.fsf@gnus.org> (raw)
In-Reply-To: <871t8ml38f.fsf@web.de> (Michael Heerdegen's message of "Tue, 09 Feb 2016 09:03:44 +0100")
Michael Heerdegen <michael_heerdegen@web.de> writes:
> I agree we should be careful. Even using the keymap text property might
> be surprising. E.g. when we chose + and -, these might already be bound
> (e.g. to `negative-argument' in image-mode itself!).
Well, the local keymap wins over the mode keymap.
> Let's start to find some suitable bindings for `image-mode'. How about
> i and d ("increase", "decrease")?
I don't find image mode that interesting, actually. I think images,
whenever displayed in Emacs, should offer ways of interacting. Scaling,
of course, but also saving, for instance. And rotation.
> In the general case, we could attach a keymap text property to any image
> we insert into a buffer. The keymap should be a user option. It could
> even be empty by default, at least for now. That would already be a big
> win.
And thinking about it a bit more, I think we could probably afford to
grab some pretty basic keys for these commands. If the user puts the
cursor on an image, I think it's very likely that the user wants to
interact with that image. So we could bind keys like `-' and `+'.
Drag an image into a Message buffer, scale it, rotate it, and send the
message. I think that sounds rather attractive...
Other modes that insert images today often also puts keymaps on images
(like eww does), but these could be derived from this new keymap.
Errr... `image-map'. Perhaps.
We can give it a try and see whether it's annoying or not in practice.
These UI things usually require a bit of usage to see whether they "feel
nice" or not.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2016-02-09 13:18 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-14 22:59 bug#22172: 25.1.50; Wishlist: There should be a way to say to Emacs that is should rescale all images with a certain factor Lars Magne Ingebrigtsen
2015-12-14 23:09 ` John Wiegley
2015-12-23 16:50 ` Ted Zlatanov
2016-02-08 6:42 ` Lars Ingebrigtsen
2016-02-08 7:25 ` Lars Ingebrigtsen
2016-02-08 16:03 ` John Wiegley
2016-02-09 1:17 ` Lars Ingebrigtsen
2015-12-15 8:18 ` Glenn Morris
2016-02-08 6:43 ` Lars Ingebrigtsen
2016-02-08 15:12 ` Michael Heerdegen
2016-02-08 22:34 ` Lars Ingebrigtsen
2016-02-09 1:47 ` Lars Ingebrigtsen
2016-02-09 2:46 ` Drew Adams
2016-02-09 8:03 ` Michael Heerdegen
2016-02-09 13:18 ` Lars Ingebrigtsen [this message]
2016-02-09 13:29 ` Lars Ingebrigtsen
2016-02-09 13:35 ` Michael Heerdegen
2016-02-09 13:41 ` Lars Ingebrigtsen
2016-02-09 13:50 ` Michael Heerdegen
2016-02-09 14:08 ` Lars Ingebrigtsen
2016-02-10 1:07 ` Lars Ingebrigtsen
2016-02-10 2:05 ` Lars Ingebrigtsen
2016-02-12 15:13 ` Michael Heerdegen
2016-02-13 4:15 ` Lars Ingebrigtsen
2016-02-16 20:57 ` Michael Heerdegen
2016-02-19 6:40 ` Lars Ingebrigtsen
2016-02-19 11:51 ` Michael Heerdegen
2016-02-19 22:50 ` Lars Ingebrigtsen
2016-02-20 11:15 ` Michael Heerdegen
2016-02-24 7:13 ` Lars Ingebrigtsen
2016-02-24 8:28 ` John Wiegley
2016-02-19 20:57 ` John Wiegley
2016-02-19 22:48 ` Lars Ingebrigtsen
2016-02-09 15:26 ` Drew Adams
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=87zivaauo3.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=22172@debbugs.gnu.org \
--cc=michael_heerdegen@web.de \
/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.