From: Chris Hunt <chrahunt@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 44642@debbugs.gnu.org
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 [thread overview]
Message-ID: <CAH+Wm4-8oWsytEY0Yq2=CixDW+f1AFf1++tWatdx4PR3fVnixA@mail.gmail.com> (raw)
In-Reply-To: <CAH+Wm4-J=NzxVRVwdtWcTXG67iUBxuX+cLRPSLUHxiQXCGicMQ@mail.gmail.com>
> "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.
next prev parent reply other threads:[~2020-11-14 20:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-14 16:46 bug#44642: 27.1; read-string does not signal on EOF after calling server-eval-at Chris Hunt
2020-11-14 18:47 ` Eli Zaretskii
2020-11-14 19:42 ` Chris Hunt
2020-11-14 19:58 ` Eli Zaretskii
2020-11-14 20:40 ` Chris Hunt
2020-11-14 20:50 ` Chris Hunt [this message]
2020-11-14 21:43 ` Andreas Schwab
2020-11-15 3:25 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAH+Wm4-8oWsytEY0Yq2=CixDW+f1AFf1++tWatdx4PR3fVnixA@mail.gmail.com' \
--to=chrahunt@gmail.com \
--cc=44642@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).