all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: emacs-devel@gnu.org
Subject: Re: ECM for possible process-status/sentinel bug
Date: Sun, 22 Aug 2021 20:25:38 -0500	[thread overview]
Message-ID: <87eeal3qb1.fsf@alphapapa.net> (raw)
In-Reply-To: 83wnodwae9.fsf@gnu.org

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Adam Porter <adam@alphapapa.net>
>> Date: Sun, 22 Aug 2021 14:13:40 -0500
>> 
>> So I'm left again with the test case I posted in the first message in
>> this thread.  In order to avoid filing useless reports, I was hoping to
>> get some advice along the lines of, "Yes, that might be a bug, please
>> report it as one," or "No, you just misunderstand how sentinels are
>> intended to work."  If someone could so advise me, I'd be grateful.
>> Otherwise I guess I'll report a bug in a day or so.
>
> Please report a bug with the simplest recipe to reproduce it.

Thanks.  I filed it here:

https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50166

Lars narrowed down the apparent problem quickly, which may be a
documentation issue.

However, if it is, I'm left to wonder what the right way is to capture
the STDERR of a (make-process) process while also waiting on all of the
process's associated processes to exit, have their output collected into
the designated buffers, and their sentinels run.  The manual says to use
(while (accept-process-output PROCESS)), but apparently that may return
while a process's :stderr process is still running, or something like
that...  (The fact that "process" seems to have some extra meanings in
the context--it refers not only to the program called with
`make-process'--seems to add to the difficulty of reasoning and
communicating about these issues.)




  reply	other threads:[~2021-08-23  1:25 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-18 13:10 ECM for possible process-status/sentinel bug Adam Porter
2021-08-22 19:13 ` Adam Porter
2021-08-22 19:24   ` Eli Zaretskii
2021-08-23  1:25     ` Adam Porter [this message]
2021-08-23  0:17   ` chad
2021-08-23  1:18     ` Adam Porter

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eeal3qb1.fsf@alphapapa.net \
    --to=adam@alphapapa.net \
    --cc=emacs-devel@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.