[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 53ce1cf3f4 04/19: Fix: Wait for download to sta
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 53ce1cf3f4 04/19: Fix: Wait for download to start |
Date: |
Thu, 1 Aug 2024 01:00:10 -0400 (EDT) |
branch: elpa/hyperdrive
commit 53ce1cf3f48d94fda6549f4fc6600268f2e1bc1b
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Fix: Wait for download to start
---
hyperdrive.el | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/hyperdrive.el b/hyperdrive.el
index 9e9571620c..852f52f448 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -1468,6 +1468,12 @@ If FORCEP, don't prompt for confirmation before
downloading."
(when (file-exists-p temp-file)
(delete-file temp-file)))))
(require 'hyperdrive-download-monitor)
+ ;; Wait for download to start before showing monitor.
+ (cl-loop until (file-exists-p temp-file)
+ do (sleep-for 0.1)
+ for times below 100
+ finally (unless (file-exists-p temp-file)
+ (error "Download not started after 10
seconds")))
(pop-to-buffer
(h/download-monitor :buffer-name "*hyperdrive-install*"
:path temp-file
- [nongnu] elpa/hyperdrive updated (52297ba0bd -> 4c5fc6ca76), ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 472e01a805 01/19: Fix: (h/install) Use temp file in temporary-file-directory, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 95f814ddb7 09/19: Tidy, improve, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 481df10760 05/19: Fix: Timer, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 4af29a6156 06/19: Fix: Completing download, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive a2120e57e9 03/19: Fix: Size, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 53ce1cf3f4 04/19: Fix: Wait for download to start,
ELPA Syncer <=
- [nongnu] elpa/hyperdrive 84b59e1f8f 02/19: WIP: hyperdrive-download-monitor, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive c35423cdd4 12/19: Use special-mode, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 015917ecd3 14/19: Fix: (h//download-monitor) Cancel timer if buffer killed, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 4742b430fa 07/19: Fix: Killing monitor buffer, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 95323b4bf6 08/19: Refactoring, fixes, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 35d04e8cc5 18/19: Fix: Close monitor from ready hook; ensure buffer is live, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 4c5fc6ca76 19/19: Merge: Download monitor fixes/improvements, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 9156b1a7ac 16/19: Fix: Ensure timer before canceling, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 34e27bca27 10/19: Show elapsed time, ELPA Syncer, 2024/08/01
- [nongnu] elpa/hyperdrive 36744a367d 15/19: Add: Restart gateway button in monitor buffer, ELPA Syncer, 2024/08/01