emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/sweeprolog c94b509fcb 119/166: DOC: Add Top-level history


From: ELPA Syncer
Subject: [nongnu] elpa/sweeprolog c94b509fcb 119/166: DOC: Add Top-level history section
Date: Fri, 30 Sep 2022 04:59:31 -0400 (EDT)

branch: elpa/sweeprolog
commit c94b509fcb96ab6c74a43fe676708a649bb33aaf
Author: Eshel Yaron <me@eshelyaron.com>
Commit: Eshel Yaron <me@eshelyaron.com>

    DOC: Add Top-level history section
---
 README.org | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/README.org b/README.org
index 58d396f557..9336dcb623 100644
--- a/README.org
+++ b/README.org
@@ -420,6 +420,25 @@ again.  This will change the name of the original 
top-level buffer to
 something like =*sweep-top-level*<2>= and allow the new top-level to
 claim the buffer name =*sweep-top-level*=.
 
+** Top-level history
+:PROPERTIES:
+:CUSTOM_ID: top-level-history
+:END:
+
+=sweep-top-level-mode= buffers provide a history of previously user
+inputs, similarly to other =comint-mode= derivatives such as =shell-mode=.
+To insert the last input from the history at the prompt, use =M-p=
+(=comint-previous-input=).  For a full description of history related
+commands, see [[info:emacs#Shell History][Shell History in the Emacs manual]].
+
+#+VINDEX: sweep-top-level-min-history-length
+The =sweep= top-level history only records inputs whose length is at
+least =sweep-top-level-min-history-length=.  This user option is set to
+3 by default, and should generally be set to at least 2 to keep the
+history from being clobbered with single-character inputs, which are
+common in the top-level interaction, e.g. =;= as used to invoke
+backtracking.
+
 ** Completion in the top-level
 :PROPERTIES:
 :CUSTOM_ID: completion-in-top-level



reply via email to

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