From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.bugs Subject: Re: gnuplot vs. emacs' compile command Date: 15 May 2003 12:10:09 +0200 Organization: Organization?!? Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052993684 6097 80.91.224.249 (15 May 2003 10:14:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 15 May 2003 10:14:44 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 15 12:14:43 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19GFio-0001Pk-00 for ; Thu, 15 May 2003 12:12:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GFjy-00087Y-07 for gnu-bug-gnu-emacs@m.gmane.org; Thu, 15 May 2003 06:13:34 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19GFjF-0006UP-00 for bug-gnu-emacs@gnu.org; Thu, 15 May 2003 06:12:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19GFj7-00065f-00 for bug-gnu-emacs@gnu.org; Thu, 15 May 2003 06:12:45 -0400 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GFj2-0005pO-00 for bug-gnu-emacs@gnu.org; Thu, 15 May 2003 06:12:36 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.10) id 19GFj1-00044w-00 for gnu-emacs-bug@prep.ai.mit.edu; Thu, 15 May 2003 06:12:35 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19GFiy-0005ej-00 for gnu-emacs-bug@prep.ai.mit.edu; Thu, 15 May 2003 06:12:34 -0400 Original-Received: from mailout06.sul.t-online.com ([194.25.134.19]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19GFgh-0003qH-00 for gnu-emacs-bug@prep.ai.mit.edu; Thu, 15 May 2003 06:10:11 -0400 Original-Received: from imh00.t-online.com by mailout06.sul.t-online.com with esmtp id 19GFgg-0002an-00; Thu, 15 May 2003 12:10:10 +0200 Original-Received: from news.t-online.com by imh00.t-online.com with esmtp id 19GFgg-0007uN-00; Thu, 15 May 2003 12:10:10 +0200 Original-Received: from news by news.t-online.com with local id 19GFgf-00064H-00; Thu, 15 May 2003 12:10:10 +0200 Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 41 Original-X-Trace: news.t-online.com 1052993409 07 21532 Nxh+EcQVTlAEZa 030515 10:10:09 Original-X-Complaints-To: abuse@t-online.com X-ID: X-7vdcZJweyKdvrdwszJejgAX2kdWwSmsSBEHmH3pnEculTQkhKqg5 X-Face: 2FEFf>]>q>2iw=B6,xrUubRI>pR&Ml9=ao@P@i)L:\urd*t9M~y1^:+Y]'C0~{mAl`oQuAl \!3KEIp?*w`|bL5qr,H)LFO6Q=qx~iH4DN;i"; /yuIsqbLLCh/!U#X[S~(5eZ41to5f%E@'ELIi$t^ Vc\LWP@J5p^rst0+('>Er0=^1{]M9!p?&:\z]|;&=NP3AhB!B_bi^]Pfkw User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:5061 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:5061 Hans-Bernhard Broeker writes: > Hello to bug-emacs and the gnuplot developers, > > as reportedly requested by RMS, here's some more background > information about the problem found by a gnuplot user, Dan Jacobson, > in interacting with emacs. > > In the essence, M-x compile apparently has problems coping with the > way gnuplot generates X11 graphs that survive the termination of the > main program (gnuplot -persist). I'm not quite sure that's even > something the user should have been trying to do, but let's set that > aside for the moment. > > The simplest way found so far to reproduce the problem is to have a > shell script file: > > --- gpaction --- > gnuplot -persist < plot x > EOS > ---- end --- Another possibility is something like putting xdvi test & into such a file. Now the problem is that if we kill an Emacs process, we don't want anybody writing uncontrolledly around in it, but closing our end of the I/O should be sufficient. If there are too many processes detaching themselves improperly, we might run out of ptys at some time. The only asynchronous processes that Emacs at the moment can leave alone safely are those started with call-process and a buffer argument of 0. Definitely a nuisance. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum