[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache b1e4ead73e 094/158: Remove start-process advice
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache b1e4ead73e 094/158: Remove start-process advice |
Date: |
Wed, 19 Jan 2022 18:58:01 -0500 (EST) |
branch: externals/dtache
commit b1e4ead73e5897e544bc6e4991f9d9accf35ac1d
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Remove start-process advice
---
dtache.el | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/dtache.el b/dtache.el
index 628c03580c..0b4d09ee69 100644
--- a/dtache.el
+++ b/dtache.el
@@ -558,9 +558,6 @@ Optionally make the path LOCAL to host."
(seq-filter #'dtache--session-active)
(seq-do #'dtache-start-session-monitor))
- ;; Advices
- ;; (advice-add #'start-process :around #'dtache-start-process-advice)
-
;; Add `dtache-shell-mode'
(add-hook 'shell-mode-hook #'dtache-shell-mode)))
@@ -663,27 +660,6 @@ If session is not valid trigger an automatic cleanup on
SESSION's host."
;;;;; Other
-(defun dtache-start-process-advice (start-process-fun name buffer &rest args)
- "Optionally make `start-process' use `dtache'."
- (if dtache-enabled
- (with-connection-local-variables
- (let* ((command
- (string-remove-prefix
- ;; If start-process called from e.g.
`start-file-process-shell-command'
- ;; we need to strip the shell command and switch at the start.
- (format (format "%s %s " shell-file-name shell-command-switch))
- (string-join args " ")))
- (dtache--current-session
- (if (and dtache--current-session
- (string=
- (dtache--session-command dtache--current-session)
- command))
- dtache--current-session
- (dtache-create-session command)))
- (dtach-command `(,dtache-dtach-program ,@(dtache-dtach-command
dtache--current-session))))
- (apply start-process-fun `(,name ,buffer ,@dtach-command))))
- (apply start-process-fun `(,name ,buffer ,@args))))
-
(defun dtache-start-session-monitor (session)
"Start to monitor SESSION activity."
(if (file-remote-p (dtache--session-working-directory session))
- [elpa] externals/dtache 89df9371db 145/158: Use timer only on local macOS host, (continued)
- [elpa] externals/dtache 89df9371db 145/158: Use timer only on local macOS host, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache c91ce5fd9a 151/158: Fix error on remote hosts with dtache-attach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3d89804c20 155/158: Improve dtache--update-session, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 6037219c0a 018/158: Update documentation, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 199c4cffaa 070/158: Update incorrect regexp for dtache-message, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b2b2b6ecd1 138/158: Fix error in dtache-attach, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 28cb384d96 143/158: Update attach with fallback, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 7ddd1e29ef 146/158: Fix error on remote hosts, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9e0acd552d 150/158: Fix typo in dtache-test-dtach-command test, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b8ab11cda6 091/158: Make sure to set current session in shell command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b1e4ead73e 094/158: Remove start-process advice,
ELPA Syncer <=
- [elpa] externals/dtache 2c4520a3c5 015/158: Add missing variable to tail-mode, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b247ddc6dd 077/158: Rewrite dtache-dtach-command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 471a2f57c7 058/158: Update dtache-session-annotation, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e3a12a9dc8 073/158: Add connection local variable to timer, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9b7e7ffd2e 086/158: Rename session-type to session-origin, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache e8bc20f563 095/158: Fix error in dtache-shell-command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache c40f0b2203 102/158: Make some public functions private, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 9c16dd3751 109/158: Update active to state, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3cc493e6b0 115/158: Add missing dtache-log-mode to detach-dwim, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache ebf9b491bd 117/158: Add variable for dtache-shell-command buffer, ELPA Syncer, 2022/01/19