[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'make-comint' question
From: |
Stefan Monnier |
Subject: |
Re: 'make-comint' question |
Date: |
Wed, 31 Jul 2013 23:43:26 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> 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).
Stefan