[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dtache 89df9371db 145/158: Use timer only on local macO
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dtache 89df9371db 145/158: Use timer only on local macOS host |
Date: |
Wed, 19 Jan 2022 18:58:08 -0500 (EST) |
branch: externals/dtache
commit 89df9371db66ccc2b85acf646f12cf0413be0030
Author: Niklas Eklund <niklas.eklund@posteo.net>
Commit: Niklas Eklund <niklas.eklund@posteo.net>
Use timer only on local macOS host
---
CHANELOG.org | 2 ++
dtache.el | 7 +++----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/CHANELOG.org b/CHANELOG.org
index 28e94a5138..6829cf3f88 100644
--- a/CHANELOG.org
+++ b/CHANELOG.org
@@ -4,6 +4,8 @@
* Development
+- =dtache= now uses =filenotify= for notifications except on local macOS hosts.
+
* Version 0.3 (2022-01-15)
- =dtache= now uses =filenotify= for both local and remote sessions. If run on
=macOS= timers are used both for local as well as remote sessions.
diff --git a/dtache.el b/dtache.el
index 06739b390b..611e0d2e8a 100644
--- a/dtache.el
+++ b/dtache.el
@@ -1114,11 +1114,10 @@ the current time is used."
(defun dtache--start-session-monitor (session)
"Start to monitor SESSION activity."
(let ((default-directory (dtache--session-working-directory session)))
- (if (eq system-type 'darwin)
+ (if (and (not(file-remote-p default-directory))
+ (eq system-type 'darwin))
;; macOS requires a timer based solution
- (if (file-remote-p default-directory)
- (dtache--session-timer-monitor session)
- (dtache--session-macos-monitor session))
+ (dtache--session-macos-monitor session)
(dtache--session-filenotify-monitor session))))
;;;;; UI
- [elpa] externals/dtache e1ebc053bb 116/158: Avoid saving history file for dtache-shell-command, (continued)
- [elpa] externals/dtache e1ebc053bb 116/158: Avoid saving history file for dtache-shell-command, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 561f67d075 121/158: Make remove entry delete session log, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache b285ac5a0f 128/158: Update version schema for sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 0e0e8c6394 126/158: Update docstring, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 31d7ffd5f7 131/158: Rename redirect-only to attachable, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 3da7747fa1 130/158: Update Versions/Contributions/Credits, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 2337bb132f 132/158: Update mode symbols, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 53cc38b385 137/158: Update Customization section in README, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 02ee0a9487 140/158: Utilize filenotify for remote sessions, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 90c3d1dd90 147/158: Indent all package files, ELPA Syncer, 2022/01/19
- [elpa] externals/dtache 89df9371db 145/158: Use timer only on local macOS host,
ELPA Syncer <=
- [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, 2022/01/19