[Top][All Lists]

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

Re: POLL: make C-x o transient

From: Juri Linkov
Subject: Re: POLL: make C-x o transient
Date: Thu, 28 Jan 2021 20:43:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Maybe something simple like:
>> #+begin_src emacs-lisp
>> (put 'other-window 'repeatable-command t)
> After having done one 'other-window' too many, how would I get easily
> back to the previous window?

Just switch the direction by the prefix arg '-'.  Its handling could be
easily implemented.  It seems better to extend repeat.el to allow using
the last key of the last command, add handling of universal arguments,
and all this without using add-advice and hooks.

reply via email to

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