[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Moving image commands to one submap
From: |
Juri Linkov |
Subject: |
Re: Moving image commands to one submap |
Date: |
Sun, 25 Sep 2022 10:23:08 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
>> 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'.
Re: Moving image commands to one submap, Stefan Monnier, 2022/09/24