emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Repeat lambda


From: Juri Linkov
Subject: Re: Repeat lambda
Date: Tue, 06 Apr 2021 00:03:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> But maybe we could allow the command to set its next repeat-map explicitly:
>
>   (define-key map "O" (lambda ()
>                         (interactive)
>                         (setq repeat-map 'other-window-repeat-map)
>                         (other-window -1)))
>
> with such patch:

This is pushed now in 15de559d98.

Additionally, there is a new option 'repeat-keep-prefix' to keep the
prefix arg of the previous command.  For example, this can help to
reverse direction with e.g. 'C-x o M-- o o'.  Also it can help to set
a new step e.g. 'C-x { C-5 { { {' or 'C-5 C-x { { {' will set the
window resizing step to 5.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]