public inbox for gentoo-lisp@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-lisp] New keybindings in ebuild-mode
@ 2024-08-05 17:40 Ulrich Mueller
  2024-08-08 22:56 ` Maciej Barć
  0 siblings, 1 reply; 4+ messages in thread
From: Ulrich Mueller @ 2024-08-05 17:40 UTC (permalink / raw
  To: gentoo-lisp

[-- Attachment #1: Type: text/plain, Size: 1272 bytes --]

I am planning to change keybindings in ebuild-mode with the next (1.73)
release. The reason is that ebuild-mode-keymap has become crowded,
and almost no C-c C-LETTER keys remain that have a useful mnemonic.

One problem is that ebuild-mode is derived from sh-mode which uses 13
of the 24 available letters (namely, cdfilnorstuwx). In particular,
sh-mode in recent Emacs versions has added C-c C-d and C-c C-n which
collide with ebuild-mode commands.

So, the keybindings would be updated as follows:

   command                             old       new
   ---------------------------------------------------------
   ebuild-run-command                  C-c C-e   C-c C-e C-e
   ebuild-mode-run-pkgdev              C-c C-p   C-c C-e C-p
   ebuild-mode-run-pkgcheck            C-c C-q   C-c C-e C-c
   ebuild-mode-find-workdir            C-c C-d   C-c C-e C-w
   ebuild-mode-find-s                  (none)    C-c C-e C-s
   ebuild-mode-keyword                 C-c C-k   C-c C-e C-k
   ebuild-mode-ekeyword                C-c C-y   C-c C-e C-y
   ebuild-mode-all-keywords-unstable   C-c C-b   C-c C-e C-u
   ebuild-mode-insert-skeleton         C-c C-n   C-c C-e C-n
   ---------------------------------------------------------

Suggestions and comments are welcome.

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-lisp] New keybindings in ebuild-mode
  2024-08-05 17:40 [gentoo-lisp] New keybindings in ebuild-mode Ulrich Mueller
@ 2024-08-08 22:56 ` Maciej Barć
  2024-08-09  4:29   ` Ulrich Mueller
  0 siblings, 1 reply; 4+ messages in thread
From: Maciej Barć @ 2024-08-08 22:56 UTC (permalink / raw
  To: gentoo-lisp


[-- Attachment #1.1.1: Type: text/plain, Size: 1656 bytes --]

Hi Ulrich,

This is ok but wdyt about last one being just a latter, for example: C-c 
C-e e?

W dniu 5.08.2024 o 19:40, Ulrich Mueller pisze:
> I am planning to change keybindings in ebuild-mode with the next (1.73)
> release. The reason is that ebuild-mode-keymap has become crowded,
> and almost no C-c C-LETTER keys remain that have a useful mnemonic.
> 
> One problem is that ebuild-mode is derived from sh-mode which uses 13
> of the 24 available letters (namely, cdfilnorstuwx). In particular,
> sh-mode in recent Emacs versions has added C-c C-d and C-c C-n which
> collide with ebuild-mode commands.
> 
> So, the keybindings would be updated as follows:
> 
>     command                             old       new
>     ---------------------------------------------------------
>     ebuild-run-command                  C-c C-e   C-c C-e C-e
>     ebuild-mode-run-pkgdev              C-c C-p   C-c C-e C-p
>     ebuild-mode-run-pkgcheck            C-c C-q   C-c C-e C-c
>     ebuild-mode-find-workdir            C-c C-d   C-c C-e C-w
>     ebuild-mode-find-s                  (none)    C-c C-e C-s
>     ebuild-mode-keyword                 C-c C-k   C-c C-e C-k
>     ebuild-mode-ekeyword                C-c C-y   C-c C-e C-y
>     ebuild-mode-all-keywords-unstable   C-c C-b   C-c C-e C-u
>     ebuild-mode-insert-skeleton         C-c C-n   C-c C-e C-n
>     ---------------------------------------------------------
> 
> Suggestions and comments are welcome.
> 
> Ulrich

-- 
Have a great day!

~ Maciej XGQT Barć

https://wiki.gentoo.org/wiki/User:Xgqt
9B0A 4C5D 02A3 B43C 9D6F D6B1 14D7 4A1F 43A6 AC3C

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 16315 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-lisp] New keybindings in ebuild-mode
@ 2024-08-08 23:08 muravey.omsk
  0 siblings, 0 replies; 4+ messages in thread
From: muravey.omsk @ 2024-08-08 23:08 UTC (permalink / raw
  To: gentoo-lisp

[-- Attachment #1: Type: text/plain, Size: 12 bytes --]

Unsubscribe

[-- Attachment #2: Type: text/html, Size: 143 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-lisp] New keybindings in ebuild-mode
  2024-08-08 22:56 ` Maciej Barć
@ 2024-08-09  4:29   ` Ulrich Mueller
  0 siblings, 0 replies; 4+ messages in thread
From: Ulrich Mueller @ 2024-08-09  4:29 UTC (permalink / raw
  To: Maciej Barć; +Cc: gentoo-lisp

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

>>>>> On Fri, 09 Aug 2024, Maciej Barć wrote:

> This is ok but wdyt about last one being just a latter, for example:
> C-c C-e e?

IMHO an all-control sequence like C-c C-e C-e is easier to type because
one can keep the control key pressed. There's precedence for Emacs
itself, e.g. C-x C-f, C-x C-s and C-x C-x are more frequently used than
their letter counterparts.

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 507 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-09  4:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-05 17:40 [gentoo-lisp] New keybindings in ebuild-mode Ulrich Mueller
2024-08-08 22:56 ` Maciej Barć
2024-08-09  4:29   ` Ulrich Mueller
  -- strict thread matches above, loose matches on Subject: below --
2024-08-08 23:08 muravey.omsk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox