[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/detached d7dc968dfe 07/38: Sync start/attach command wi
From: |
ELPA Syncer |
Subject: |
[elpa] externals/detached d7dc968dfe 07/38: Sync start/attach command with main branch |
Date: |
Thu, 17 Nov 2022 17:57:54 -0500 (EST) |
branch: externals/detached
commit d7dc968dfef39809d4f4b668fb97dc68bae446cb
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Sync start/attach command with main branch
---
detached.el | 26 ++++++++++++++------------
1 file changed, 14 insertions(+), 12 deletions(-)
diff --git a/detached.el b/detached.el
index 4570d3fab2..90a4589478 100644
--- a/detached.el
+++ b/detached.el
@@ -922,9 +922,9 @@ This function uses the `notifications' library."
(detached--session-initial-mode session))
(detached-start-detached-session session))
`(,detached-tail-program
- "--follow=name"
- "--retry"
- ,(concat "--lines=" detached-session-context-lines)
+ "-F"
+ "-n"
+ ,(number-to-string detached-session-context-lines)
,log))
`(,detached-dtach-program
,(detached--dtach-arg) ,socket "-z"
@@ -948,16 +948,18 @@ This function uses the `notifications' library."
(command
(if (detached-session-degraded-p session)
`(,detached-tail-program
- "--follow=name"
- "--retry"
- ,(concat "--lines=" detached-session-context-lines)
+ "-F"
+ "-n"
+ ,(number-to-string detached-session-context-lines)
,log)
- `(,(when detached-show-session-context
- (format "%s -n %s %s;" detached-tail-program
detached-session-context-lines log))
- ,detached-dtach-program
- ,dtach-arg
- ,socket
- "-r none"))))
+ (append
+ (when detached-show-session-context
+ `(,detached-tail-program "-n"
+ ,(number-to-string
detached-session-context-lines)
+ ,(concat log ";")))
+ `(,detached-dtach-program ,dtach-arg
+ ,socket
+ "-r" "none")))))
(pcase type
('string (string-join command " "))
('list command)))))
- [elpa] externals/detached updated (53161621ff -> 0facedc6fb), ELPA Syncer, 2022/11/17
- [elpa] externals/detached aa75d63a4c 02/38: Update session start command, ELPA Syncer, 2022/11/17
- [elpa] externals/detached d7dc968dfe 07/38: Sync start/attach command with main branch,
ELPA Syncer <=
- [elpa] externals/detached c72236c67f 06/38: Implement attach command, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 3b7be9c684 15/38: Properly detach degraded session, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 1092140da8 29/38: Add detached-session-map, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 945830a744 33/38: Remove deprecated function, ELPA Syncer, 2022/11/17
- [elpa] externals/detached a15b46d32f 35/38: Merge copy and annotation commands, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 0facedc6fb 38/38: Update CHANGELOG, ELPA Syncer, 2022/11/17
- [elpa] externals/detached ff666ad28e 25/38: Fix indentation, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 3c7ac1730f 34/38: Add session environment property getter, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 236f6c95af 08/38: Improve implementation, ELPA Syncer, 2022/11/17
- [elpa] externals/detached 0ca53e29ff 09/38: Remove error check, ELPA Syncer, 2022/11/17