[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/el-job cdf9068eb4 013/143: docs
From: |
ELPA Syncer |
Subject: |
[elpa] externals/el-job cdf9068eb4 013/143: docs |
Date: |
Sat, 22 Mar 2025 00:58:20 -0400 (EDT) |
branch: externals/el-job
commit cdf9068eb4dc2e7dde3bb1a1b9a90ce861b61c08
Author: Martin Edström <meedstrom91@gmail.com>
Commit: Martin Edström <meedstrom91@gmail.com>
docs
---
el-job.el | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/el-job.el b/el-job.el
index 75d211f088..b6288a0b83 100644
--- a/el-job.el
+++ b/el-job.el
@@ -349,7 +349,7 @@ evaluated many times."
(if lock
(if (setq job (gethash lock el-jobs))
(if (seq-some #'process-live-p (el-job-processes job))
- (setq stop (message "%s" "el-job: Batch still at work"))
+ (setq stop (message "%s" "el-job: Still at work"))
(mapc #'el-job--kill-quietly (el-job-processes job))
(setf (el-job-processes job) nil)
(setf (el-job-inputs job) nil)
@@ -455,9 +455,9 @@ evaluated many times."
;; TODO: Sanitize/cleanup after error
(defun el-job--handle-finished (proc job n &optional wrapup)
- "If PROC has exited, record its output in object BATCH.
+ "If PROC has exited, record its output in object JOB.
-Each batch-job is expected to call this a total of N times; if this is
+Each job is expected to call this a total of N times; if this is
the Nth call, then call function WRAPUP and pass it the merged outputs."
(cond
((not (eq 'exit (process-status proc)))
@@ -507,6 +507,8 @@ the Nth call, then call function WRAPUP and pass it the
merged outputs."
(funcall wrapup (el-job-results job) job)))))))
(defun el-job--kill-quietly (proc)
+ "Delete process PROC and kill its buffer.
+Prevent its sentinel and filter from doing anything as this happens."
(let ((buf (process-buffer proc)))
(set-process-filter proc #'ignore)
(set-process-sentinel proc #'ignore)
@@ -514,6 +516,7 @@ the Nth call, then call function WRAPUP and pass it the
merged outputs."
(delete-process proc)))
(defun el-job--kill-all ()
+ "Kill all jobs."
(interactive)
(dolist (buf (match-buffers "^ \\*el-job-"))
(if-let ((proc (get-buffer-process buf)))
- [elpa] externals/el-job 1c2a3e958e 135/143: Release version 2.3.0, (continued)
- [elpa] externals/el-job 1c2a3e958e 135/143: Release version 2.3.0, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 2d8aeaaf42 140/143: Don't do delete-process, kill-buffer is enough, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job e061f4ef49 141/143: Clearer info, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job a39d42c6ab 067/143: Comments, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job ca15123593 064/143: Readme, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 11cbdfeadd 087/143: Improve show-info, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 94be19d3bb 088/143: Remove kill-quietly, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 15b821ebb2 086/143: Don't handle deprecated usage, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 28176f5fa0 001/143: Let there be light, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job e290f1249c 007/143: ., ELPA Syncer, 2025/03/22
- [elpa] externals/el-job cdf9068eb4 013/143: docs,
ELPA Syncer <=
- [elpa] externals/el-job fbda86f637 002/143: ., ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 5bae29743d 005/143: Satisfy linters, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 6323ebbb67 014/143: Separate child init from accepting input, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 9af473582e 024/143: Revert mistake (fix org-node issue #71), ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 090be5b36d 017/143: fix, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job c0598fb26b 023/143: Another possible fix for org-node #70, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job c1d9aec762 021/143: Move code around, polish docstrings, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 1bb6865aae 030/143: Extra cleanup, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 6d6445cc16 033/143: Try fix org-node#78, ELPA Syncer, 2025/03/22
- [elpa] externals/el-job 462582b597 027/143: Try fix "Items split in X lists, but only Y ready processes", ELPA Syncer, 2025/03/22