all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 141@emacsbugs.donarmstrong.com, rms@gnu.org,
	cyd@stupidchicken.com, eller.helmut@gmail.com,
	emacs-devel@gnu.org, bug-submit-list@donarmstrong.com,
	bug-gnu-emacs@gnu.org
Subject: Re: bug#141: Process sentinel not called in batch mode
Date: Fri, 16 May 2008 22:08:35 +0300	[thread overview]
Message-ID: <uod76hxsc.fsf@gnu.org> (raw)
In-Reply-To: <jwvr6c25gx1.fsf-monnier+emacsbugreports@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: rms@gnu.org,  141@emacsbugs.donarmstrong.com,  cyd@stupidchicken.com,  eller.helmut@gmail.com,  emacs-devel@gnu.org,  bug-submit-list@donarmstrong.com,  bug-gnu-emacs@gnu.org
> Date: Fri, 16 May 2008 12:57:16 -0400
> 
> >> This side I understand, but what about the other: why should we not
> >> check process status in the case where we are not redisplaying?
> 
> > Because Emacs generally looks at process output only when it's idle?
> 
> I don't follow: we're talking about when should
> wait_reading_process_output check status_notify.
> 
> So to repeat/rephrase my question: why doesn't
> wait_reading_process_output call status_notify when it is passed a zero
> do_display?

Sorry, let me explain my line of thought in more detail: Emacs only
does a redisplay when it is idle.  Emacs also checks input from
subprocesses when it is idle.  If we are not in redisplay, it means
Emacs is not idle, and so it makes sense not to check for subprocess
output at that time.

Does this make any sense?




  parent reply	other threads:[~2008-05-16 19:08 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-13 23:28 Process sentinel not called in batch mode Chong Yidong
2008-05-14 14:18 ` Stefan Monnier
2008-05-16 11:32   ` bug#141: " Richard M Stallman
2008-05-16 13:25     ` Stefan Monnier
2008-05-16 14:41       ` Eli Zaretskii
2008-05-16 16:57         ` Stefan Monnier
2008-05-16 17:23           ` Chong Yidong
2008-05-16 19:08           ` Eli Zaretskii [this message]
2008-05-16 19:24             ` Stefan Monnier
2008-05-16 20:07               ` Eli Zaretskii
2008-05-18  3:45                 ` Stefan Monnier
2008-05-19  3:00                   ` Chong Yidong
2008-05-19  8:24                     ` Stefan Monnier
2008-05-19 16:26                       ` Chong Yidong
2008-04-15 14:48                         ` Helmut Eller
2008-05-19 16:40                           ` bug#141: marked as done (Process sentinel not called in batch mode) Emacs bug Tracking System
2008-05-16 20:58               ` bug#141: Process sentinel not called in batch mode David Kastrup
2008-05-14 14:18 ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2008-05-13 23:28 Chong Yidong

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=uod76hxsc.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=141@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=bug-submit-list@donarmstrong.com \
    --cc=cyd@stupidchicken.com \
    --cc=eller.helmut@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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.