From 39b67c3ffe475107218adbd68a78d8eda6cc83c7 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Wed, 19 May 2021 00:15:30 +0300 Subject: [PATCH] * doc/emacs/basic.texi (Repeating): Document repeat-exit-timeout (bug#48472). --- doc/emacs/basic.texi | 5 ++++- etc/NEWS | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index 666a479582a..ba8d822b18e 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi @@ -895,4 +895,7 @@ Currently supported shorter key sequences are @kbd{C-x u u} instead of v v} to resize the selected window interactively, @kbd{M-g n n p p} to navigate @code{next-error} matches. Any other key exits transient mode and then is executed normally. The user option @code{repeat-exit-key} -defines an additional key to exit this transient mode. +defines an additional key to exit this transient mode. Also it's +possible to break the repetition chain automatically after idle time +by customizing the user option @code{repeat-exit-timeout} to a number +of seconds. diff --git a/etc/NEWS b/etc/NEWS index ae8a864f102..8bbb972493a 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -2385,6 +2385,8 @@ You can type 'C-x u u' instead of 'C-x u C-x u' to undo many changes, 'M-g n n p p' to navigate next-error matches. Any other key exits transient mode and then is executed normally. 'repeat-exit-key' defines an additional key to exit mode like 'isearch-exit' ('RET'). +The user option 'repeat-exit-timeout' specifies the number of +seconds of idle time to break the repetition chain automatically. With 'repeat-keep-prefix' you can keep the prefix arg of the previous command. For example, this can help to reverse the window navigation direction with e.g. 'C-x o M-- o o'. Also it can help to set a new -- 2.39.5