unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Ingebrigtsen <larsi@gnus.org>,
	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: Mon, 8 Feb 2016 18:46:15 -0800 (PST)	[thread overview]
Message-ID: <21432be5-61e0-4f0e-8f39-e9b66a414e07@default> (raw)
In-Reply-To: <87fux28xit.fsf@gnus.org>

> I've now added the commands, but not documented this yet, because we
> haven't decided on keystrokes.  These should be global bindings, I
> guess?  We could also have local keymaps for the image objects
> themselves...  That would mean that insert-image would also put a keymap
> on each image it inserts.
> 
> And in that case we could "steal" very basic keystrokes, like "-" and
> "+".  But that may be kinda yucky.  And surprising.
> 
> But I kinda like the local keymap idea.  These commands would only be
> valid pretty seldom (i.e., when you're on an image), so it feels strange
> to occupy a global key binding.
> 
> So...  opinions?

Here's an opinion: Do not bind the commands to any keys.

10 minutes after defining the commands you want Emacs to
dedicate keys to them?  And global keys, at that?

Let users bind them if they like.  In a few years users and
Emacs Dev can take stock of the situation and consider whether
such commands should be bound by default, and if so, where.

If you want to put a key on an image, that might be OK.
If you want to add a key to image-mode, that might be OK.

But beyond that, there is no reason to jump the gun on this.
If the commands are super useful they will soon enough be
bound to keys by users, and users will themselves suggest
which keys might be most important.





  reply	other threads:[~2016-02-09  2:46 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 [this message]
2016-02-09  8:03             ` Michael Heerdegen
2016-02-09 13:18               ` Lars Ingebrigtsen
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

  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=21432be5-61e0-4f0e-8f39-e9b66a414e07@default \
    --to=drew.adams@oracle.com \
    --cc=22172@debbugs.gnu.org \
    --cc=larsi@gnus.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 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).