bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44642: 27.1; read-string does not signal on EOF after calling server


From: Chris Hunt
Subject: bug#44642: 27.1; read-string does not signal on EOF after calling server-eval-at
Date: Sat, 14 Nov 2020 15:50:38 -0500

> "if using `server-eval-at' in `--batch' mode, take care not
> to possibly read to the end of input"

Small clarification, in case it makes a difference for anyone searching later.
I had inlined `server-eval-at' to try and root cause, and it
looked to me like the call to `accept-process-output' here:
https://github.com/emacs-mirror/emacs/blob/e3661f8c35b3057c58e8c0b474f597697ce413ba/lisp/server.el#L1737
was necessary to trigger the unexpected behavior. Without that call,
subsequent calls to `read-string' did not hang.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]