[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/eat ebc77efd0f 6/7: Escape control characters in trace out
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/eat ebc77efd0f 6/7: Escape control characters in trace output |
Date: |
Wed, 7 Dec 2022 04:58:42 -0500 (EST) |
branch: elpa/eat
commit ebc77efd0f44784d7b75f365be4da3abb3fe31d5
Author: Akib Azmain Turja <akib@disroot.org>
Commit: Akib Azmain Turja <akib@disroot.org>
Escape control characters in trace output
* eat.el (eat--trace-log): Escape control
characters (codepoints from 0 to 31) in trace output.
---
eat.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/eat.el b/eat.el
index d9cc29d158..88ae5de007 100644
--- a/eat.el
+++ b/eat.el
@@ -5789,7 +5789,8 @@ to the end of (accessible portion of) buffer."
(goto-char (point-max))
;; Hope that `float-time' won't roll over while tracing. ;-)
(insert (replace-regexp-in-string
- "\n" "\\\\n"
+ (rx (any (0 . 31)))
+ (lambda (string) (format "\\\\x%02x" (aref string 0)))
(format "%S" `(,(float-time time) ,operation ,@args)))
?\n))
- [nongnu] elpa/eat updated (693940c733 -> 58fd1b1196), ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat 2ea84e0a34 2/7: Don't accept 'nil' as annotation correction delay, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat b3c81c3078 4/7: Move Bash global variables to function, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat e05931d7e9 3/7: Document annotation correction delay user option, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat a65b7bc064 1/7: Rename some symbols to reflect their purposes, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat e6a7deafd0 5/7: Auto update 'eat-term-shell-integration-directory', ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat 58fd1b1196 7/7: Synchronize scrolling only when point is on cursor, ELPA Syncer, 2022/12/07
- [nongnu] elpa/eat ebc77efd0f 6/7: Escape control characters in trace output,
ELPA Syncer <=