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

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

[elpa] externals/coterm a578c94 2/3: Further improve "less" secondary pr


From: ELPA Syncer
Subject: [elpa] externals/coterm a578c94 2/3: Further improve "less" secondary prompt detection
Date: Fri, 15 Oct 2021 06:57:12 -0400 (EDT)

branch: externals/coterm
commit a578c9461822257ee6d0e122bc7ce749216dca4b
Author: Miha Rihtaršič <miha@kamnitnik.top>
Commit: Miha Rihtaršič <miha@kamnitnik.top>

    Further improve "less" secondary prompt detection
---
 coterm.el | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/coterm.el b/coterm.el
index 557f6a3..c8f4f68 100644
--- a/coterm.el
+++ b/coterm.el
@@ -367,8 +367,14 @@ that char mode is maintained even if the user presses 
\"/\",
               (progn
                 (forward-line 0)
                 (prog1 (looking-at (concat
-                                    "\\(?: ESC\\| :\\|-\\)\\'\\|"
-                                    "Examine: \\|[/:]"))
+                                    "\\(?: ESC\\| :\\)\\'\\|"
+                                    "Examine: \\|"
+                                    "[Ll]og file: \\|"
+                                    "Target line: \\|"
+                                    "Backwards scroll limit: \\|"
+                                    "\\(?:set \\|goto \\||\\)mark: \\|"
+                                    "[:_+!-]\\|"
+                                    "\\(?:.* \\)?[/?]"))
                   (goto-char (point-max))))
               (rem-hook))))
          (rem-hook ()



reply via email to

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