From 4e0cefcf2a300da305e9184af9294c6ed33fb244 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Sun, 23 Jun 2019 19:57:48 +0200 Subject: [PATCH] Document Winner mode user options * doc/emacs/windows.texi (Window Convenience): Add documentation for the user options winner-dont-bind-my-keys, winner-ring-size and winner-boring-buffers (bug#35146). --- doc/emacs/windows.texi | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index ece53130531..4b39e8bfe10 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -535,6 +535,9 @@ Reference Manual}), and cannot exceed the size of the containing frame. @section Convenience Features for Window Handling @findex winner-mode +@vindex winner-dont-bind-my-keys +@vindex winner-ring-size +@vindex winner-boring-buffers @cindex Winner mode @cindex mode, Winner @cindex undoing window configuration changes @@ -546,7 +549,14 @@ with @kbd{M-x winner-mode}, or by customizing the variable @code{winner-mode}. When the mode is enabled, @kbd{C-c left} (@code{winner-undo}) undoes the last window configuration change. If you change your mind while undoing, you can redo the changes you had -undone using @kbd{C-c right} (@code{M-x winner-redo}). +undone using @kbd{C-c right} (@code{M-x winner-redo}). To prevent +Winner mode from binding @kbd{C-c left} and @kbd{C-c right}, you can +customize the variable @code{winner-dont-bind-my-keys} to a +non-@code{nil} value. By default, Winner mode stores a maximum of 200 +window configurations per frame, but you can change that by modifying +the variable @code{winner-ring-size}. If there are some buffers whose +windows you wouldn't want Winner mode to restore, add their names to +the list variable @code{winner-boring-buffers}. Follow mode (@kbd{M-x follow-mode}) synchronizes several windows on the same buffer so that they always display adjacent sections of that -- 2.39.5