[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache e864ccd547 18/19: Improve attaching to a detache
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache e864ccd547 18/19: Improve attaching to a detached compilation |
Date: |
Wed, 18 May 2022 12:57:37 -0400 (EDT) |
branch: externals/dtache
commit e864ccd547169ff43a32e98f9003eb0759dd799d
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Improve attaching to a detached compilation
---
dtache-compile.el | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/dtache-compile.el b/dtache-compile.el
index 3d3bc2be5f..a1c7c64a5e 100644
--- a/dtache-compile.el
+++ b/dtache-compile.el
@@ -80,7 +80,15 @@ Optionally EDIT-COMMAND."
(let* ((dtache-enabled t)
(dtache-session-mode 'attach)
(dtache--current-session session))
- (compilation-start (dtache--session-command session)))))
+ (compilation-start (dtache--session-command session))
+ (when dtache-show-output-on-attach
+ ;; HACK: When attaching to a detached process and
+ ;; `dtache-show-output-on-attach' is non-nil we need to switch
+ ;; to the compile buffer and go to the end. Otherwise it won't
+ ;; properly update when new output is coming
+ (other-window 1)
+ (end-of-buffer)
+ (other-window 1)))))
;;;###autoload
(defun dtache-compile-open (session)
- [elpa] externals/dtache 3103ee6118 08/19: Update indentation, (continued)
- [elpa] externals/dtache 3103ee6118 08/19: Update indentation, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 4e7387bbe0 04/19: Add dtache-vterm-mode, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 34f5111023 11/19: Rename dtache-setup, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 6c51554e69 01/19: Improve package configuration, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 5a5b3f5db3 02/19: Fix names, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 24ceed0282 12/19: Improve dtache-init, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 34f39efa36 14/19: Add string when attaching, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 6fa1fafb96 15/19: Add integration with embark, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 8d2ea557c0 16/19: Conditionally enable log mode when diffing, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 65fd89d6d7 17/19: Disable show output on attach by default, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache e864ccd547 18/19: Improve attaching to a detached compilation,
ELPA Syncer <=
- [elpa] externals/dtache 7f63c79a06 07/19: Update dtache-command-format, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache b45d3a6a74 05/19: Add vterm to dtache-init, ELPA Syncer, 2022/05/18
- [elpa] externals/dtache 02651e47d3 19/19: Update CHANGELOG, ELPA Syncer, 2022/05/18