[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/plz 50d977288e 04/40: Fix: Set stderr process sentinel
From: |
ELPA Syncer |
Subject: |
[elpa] externals/plz 50d977288e 04/40: Fix: Set stderr process sentinel to #'ignore |
Date: |
Mon, 26 Jun 2023 06:59:31 -0400 (EDT) |
branch: externals/plz
commit 50d977288eda430b8c860944b87c2c1317a71edb
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Fix: Set stderr process sentinel to #'ignore
See
<https://stackoverflow.com/questions/42810755/how-to-remove-process-finished-message-from-make-process-or-start-process-in-e>.
---
plz.el | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/plz.el b/plz.el
index c5ac63a4d3..48c446bb97 100644
--- a/plz.el
+++ b/plz.el
@@ -418,12 +418,14 @@ NOQUERY is passed to `make-process', which see."
:command (append (list plz-curl-program)
curl-command-line-args)
:connection-type 'pipe
:sentinel #'plz--sentinel
- ;; FIXME: Set the stderr process sentinel to
ignore to prevent
- ;; "process finished" garbage in the buffer
(response body). See:
- ;;
<https://stackoverflow.com/questions/42810755/how-to-remove-process-finished-message-from-make-process-or-start-process-in-e>.
:stderr stderr-buffer
:noquery noquery))
sync-p)
+ (set-process-sentinel
+ ;; Set the stderr process sentinel to ignore to prevent "process finished"
+ ;; garbage in the STDERR buffer (though that buffer's contents are
+ ;; currently ignored, this is a good idea, in case we change that).
+ (get-buffer-process stderr-buffer) #'ignore)
(when (eq 'sync then)
(setf sync-p t
;; FIXME: For sync requests, `else' should be forced nil.
- [elpa] externals/plz updated (a8ae654530 -> 5e63662e21), ELPA Syncer, 2023/06/26
- [elpa] externals/plz 9ac623858c 01/40: WIP: Fix nil return value bugs, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 797963c035 02/40: WIP: Use separate buffer for STDERR, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 50d977288e 04/40: Fix: Set stderr process sentinel to #'ignore,
ELPA Syncer <=
- [elpa] externals/plz 0d4356640d 05/40: Change: Use only one error type, plz-error, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 046f29a816 08/40: Docs: Remove old TODO, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 81d1c61f1f 07/40: Tidy docstring and comment, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 56c92ff78e 12/40: Tidy, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 43231ac43c 14/40: WIP: Use timer for response parsing, ELPA Syncer, 2023/06/26
- [elpa] externals/plz d6dfe3b27a 11/40: Tidy: Remove plz-result, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 85ac0fbe38 15/40: WIP: Use sentinel value; add comments, ELPA Syncer, 2023/06/26
- [elpa] externals/plz 7d197e968a 20/40: Change: (plz--respond) Don't catch errors from THEN/ELSE, ELPA Syncer, 2023/06/26
- [elpa] externals/plz a2c20b1437 24/40: Comment: TODO, ELPA Syncer, 2023/06/26
- [elpa] externals/plz f551c1bd49 25/40: Tidy: (plz--respond), ELPA Syncer, 2023/06/26