unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: gnuplot vs. emacs' compile command
       [not found]   ` <3ECE499C.481FF0C0@physik.rwth-aachen.de>
@ 2003-05-24 23:19     ` Richard Stallman
  2003-05-26  9:06       ` Hans-Bernhard Broeker
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2003-05-24 23:19 UTC (permalink / raw)
  Cc: emacs-devel

    gnuplot end of the problem should be fixed.  It remains somewhat
    worrying, though, that Emacs would be so irresponsive while waiting for
    the subprocess to end --- not that many newbies would have known to try
    Ctrl-G to break it out of its busy-looping state.

It is not so bad as all that.  Many things in Emacs can loop, and people
need to know about C-g.

That doesn't mean there is no room for improvement here.  Perhaps Emacs
should use a different criterion.  But I am not sure what it should be.
(Currently it waits for all writers to close the pipe, and then for
termination of the original process.)

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnuplot vs. emacs' compile command
  2003-05-24 23:19     ` gnuplot vs. emacs' compile command Richard Stallman
@ 2003-05-26  9:06       ` Hans-Bernhard Broeker
  2003-05-27 12:45         ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Bernhard Broeker @ 2003-05-26  9:06 UTC (permalink / raw)
  Cc: emacs-devel

On Sat, 24 May 2003, Richard Stallman wrote:

> It is not so bad as all that.  Many things in Emacs can loop, and people
> need to know about C-g.

Right.  But even so, a visible reminder might be helpful.  Since Emacs
won't react to _any_ user input except C-g in this situation, I think it
should announce this fact in a minibuffer message.

> That doesn't mean there is no room for improvement here.  Perhaps Emacs
> should use a different criterion.  But I am not sure what it should be.
> (Currently it waits for all writers to close the pipe, and then for
> termination of the original process.)

The criterion is fine, as far as I'm concerned.  At least gnuplot can be
taught to live with it.

What I'm less sure about is whether the wait loop for this subshell should
affect all the rest of Emacs, too.  At the moment, it blocks all user
interaction until the external process is finished, or C-g is pressed.

-- 
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnuplot vs. emacs' compile command
  2003-05-26  9:06       ` Hans-Bernhard Broeker
@ 2003-05-27 12:45         ` Richard Stallman
  2003-05-27 13:04           ` Hans-Bernhard Broeker
  0 siblings, 1 reply; 5+ messages in thread
From: Richard Stallman @ 2003-05-27 12:45 UTC (permalink / raw)
  Cc: emacs-devel

    What I'm less sure about is whether the wait loop for this subshell should
    affect all the rest of Emacs, too.

What alternative do you have in mind?  We're talking about a
synchronous subprocess, which means that Emacs waits for it to finish.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnuplot vs. emacs' compile command
  2003-05-27 12:45         ` Richard Stallman
@ 2003-05-27 13:04           ` Hans-Bernhard Broeker
  2003-05-28 13:55             ` Richard Stallman
  0 siblings, 1 reply; 5+ messages in thread
From: Hans-Bernhard Broeker @ 2003-05-27 13:04 UTC (permalink / raw)


On Tue, 27 May 2003, Richard Stallman wrote:

> >  What I'm less sure about is whether the wait loop for this subshell
> >  should affect all the rest of Emacs, too.
>
> What alternative do you have in mind?

None in particular, unfortunately.

> We're talking about a synchronous subprocess, which means that Emacs
> waits for it to finish.

Hmmm... some imaginary demon keeps shouting "multithreading!" in my ear,
but I have no idea whether that's even remotely feasible.

-- 
Hans-Bernhard Broeker (broeker@physik.rwth-aachen.de)
Even if all the snow were burnt, ashes would remain.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gnuplot vs. emacs' compile command
  2003-05-27 13:04           ` Hans-Bernhard Broeker
@ 2003-05-28 13:55             ` Richard Stallman
  0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2003-05-28 13:55 UTC (permalink / raw)
  Cc: emacs-devel

    > We're talking about a synchronous subprocess, which means that Emacs
    > waits for it to finish.

    Hmmm... some imaginary demon keeps shouting "multithreading!" in my ear,
    but I have no idea whether that's even remotely feasible.

Emacs already supports asynchronous subprocesses, but this is a
synchronous one, which is a different feature.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-05-28 13:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <jebrxxc1h6.fsf@sykes.suse.de>
     [not found] ` <Pine.OSF.4.44.0305201411310.26315-100000@acaxp6.physik.rwth-aachen.de>
     [not found]   ` <3ECE499C.481FF0C0@physik.rwth-aachen.de>
2003-05-24 23:19     ` gnuplot vs. emacs' compile command Richard Stallman
2003-05-26  9:06       ` Hans-Bernhard Broeker
2003-05-27 12:45         ` Richard Stallman
2003-05-27 13:04           ` Hans-Bernhard Broeker
2003-05-28 13:55             ` Richard Stallman

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).