all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@linkov.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: Moving image commands to one submap
Date: Sun, 25 Sep 2022 10:23:08 +0300	[thread overview]
Message-ID: <86zgeoj5a3.fsf@mail.linkov.net> (raw)
In-Reply-To: <87v8pcbkgj.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 24 Sep 2022 22:12:28 +0200")

>> Maybe I don't understand the problem.  For example, Dired and many other
>> modes have keymaps with a lot of plain letters, but there is no problem
>> with hitting these letters by accident.
>
> The problem is in buffers like Gnus article buffers, where keys like `r'
> and `h' have bindings.  And then if you've happened to scroll so that
> point is over an image, the commands don't work like you'd expect.

`i' is unbound in Gnus article buffers, so it could be used
for the image keymap.  But still this problem remains for other modes
where it clashes with e.g. Info-index, dired-maybe-insert-subdir...

Ideally, the image commands deserve to have own prefix key 'C-x i'.
Currently it's bound to 'insert-file' that is a file-related command.
But file commands also could have own prefix key 'C-x f'.



  reply	other threads:[~2022-09-25  7:23 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-23 15:38 Moving image commands to one submap Lars Ingebrigtsen
2022-09-23 15:56 ` Stefan Monnier
2022-09-23 17:37   ` Augusto Stoffel
2022-09-24  9:29     ` Lars Ingebrigtsen
2022-09-24 18:36 ` Juri Linkov
2022-09-24 19:09   ` Lars Ingebrigtsen
2022-09-24 19:54     ` Juri Linkov
2022-09-24 20:12       ` Lars Ingebrigtsen
2022-09-25  7:23         ` Juri Linkov [this message]
2022-09-25  9:58           ` Lars Ingebrigtsen
2022-09-24 22:33   ` Stefan Monnier
2022-09-25  9:52     ` Lars Ingebrigtsen
2022-10-04 13:10 ` 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=86zgeoj5a3.fsf@mail.linkov.net \
    --to=juri@linkov.net \
    --cc=emacs-devel@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.