From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thorsten Jolitz Newsgroups: gmane.emacs.help Subject: Re: 'make-comint' question Date: Thu, 01 Aug 2013 09:58:46 +0200 Message-ID: <87haf9lu4p.fsf@gmail.com> References: <878v0not0a.fsf@gmail.com> <87siyuoiri.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1375343960 8399 80.91.229.3 (1 Aug 2013 07:59:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 07:59:20 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 01 09:59:21 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4nn6-000379-Sw for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Aug 2013 09:59:21 +0200 Original-Received: from localhost ([::1]:43806 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4nn6-0003iU-Ju for geh-help-gnu-emacs@m.gmane.org; Thu, 01 Aug 2013 03:59:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4nmr-0003hz-KT for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 03:59:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V4nml-0001XK-Hx for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 03:59:05 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:37387) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4nml-0001XA-BU for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 03:58:59 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V4nmi-0002ss-IQ for help-gnu-emacs@gnu.org; Thu, 01 Aug 2013 09:58:56 +0200 Original-Received: from g231109215.adsl.alicedsl.de ([92.231.109.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Aug 2013 09:58:56 +0200 Original-Received: from tjolitz by g231109215.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Aug 2013 09:58:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 18 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: g231109215.adsl.alicedsl.de User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:hnjgVTVE9SkF+ExSYzxMlORNUxo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:92617 Archived-At: Stefan Monnier writes: >> So this is a use case for `sit-for', I would guess ... > > sit-for sounds here like a recipe to make the race less likely rather > than to eliminate it. > > As for eliminating the race, the best option is probably to add > a process-filter and move the "reinstate config file" to the > process-filter, after checking that the process send some output that > indicates that it has read the config file (e.g. a prompt of some sort). That sounds like a much better solution, and like the way to go - thanks. -- cheers, Thorsten