[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached 2d59684dd5 1/7: Update removal of detached-mes
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached 2d59684dd5 1/7: Update removal of detached-message in output |
Date: |
Wed, 5 Oct 2022 12:57:29 -0400 (EDT) |
branch: externals/detached
commit 2d59684dd521523cdd3207decdf8d7120bc9805b
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Update removal of detached-message in output
Since the output from a detached session can contain either plain
text, or terminal data, the regular expression needs to be updated.
In the case of terminal data it contain a lot of escape sequences that
the previous expression was incompatible with.
---
detached.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/detached.el b/detached.el
index 14b3663f10..05a3fc9603 100644
--- a/detached.el
+++ b/detached.el
@@ -1153,7 +1153,8 @@ Optionally make the path LOCAL to host."
(defun detached--session-output (session)
"Return content of SESSION's output."
(let* ((filename (detached--session-file session 'log))
- (detached-message (rx (regexp "\n.detached-exit-code:.*"))))
+ (detached-message
+ (rx (regexp "\n.*\\[detached-exit-code: .*\\]"))))
(with-temp-buffer
(insert-file-contents filename)
(detached--maybe-watch-session session)
- [elpa] externals/detached updated (fdf05c63a3 -> 0b5f2fcd1e), ELPA Syncer, 2022/10/05
- [elpa] externals/detached b38ff55864 4/7: Simplify window deletion, ELPA Syncer, 2022/10/05
- [elpa] externals/detached a89fd79a12 5/7: Don't delete single window in detached-list, ELPA Syncer, 2022/10/05
- [elpa] externals/detached 2d59684dd5 1/7: Update removal of detached-message in output,
ELPA Syncer <=
- [elpa] externals/detached 0b5f2fcd1e 7/7: Make sure to bury detached-list buffer, ELPA Syncer, 2022/10/05
- [elpa] externals/detached d68f72ed27 3/7: Close detached-list window when opening a session, ELPA Syncer, 2022/10/05
- [elpa] externals/detached d58f815d91 6/7: Add more display buffer customization options, ELPA Syncer, 2022/10/05
- [elpa] externals/detached 21f17e0be3 2/7: Update detach from session command, ELPA Syncer, 2022/10/05