Thread View: gnu.emacs.lisp.manual
2 messages
2 total messages
Started by David C Lawrence
Mon, 24 Apr 1989 05:59
process status
Author: David C Lawrence
Date: Mon, 24 Apr 1989 05:59
Date: Mon, 24 Apr 1989 05:59
25 lines
1471 bytes
1471 bytes
Ugh ... ugh, ugh, ugh ...
I just went through two hours of trying to figure out how come my
process sentinel wasn't working. For some reason (probably lack of
sleep and this bump I have on my head ...) I didn't just put in a
simple (message "called with stat %s" stat); when I finally did I
felt a bit foolish for not having done it sooner. I also felt a bit
misled :-/
I was reading out of an older version of the manual, but I check the
recently announced manual which I installed in the Info tree here and
found it also slightly inaccurate. I had been testing for (eq stat 'exit)
when in reality the processes were returning 'finished. I don't know
if they ever will return 'exit, but the manual surely never mentions
'finished anywhere that I could find.
Perhaps it is my version or something, so here it is:
GNU Emacs 18.53.2 of Tue Apr 11 1989 on imagine.pawl.rpi.edu (berkeley-unix)
By the way, before this thing goes to print are the "(intro!!)"
sections going to be expanded a little?
Dave
--
tale@rpitsmts.bitnet, tale%mts@itsgw.rpi.edu, tale@pawl.rpi.edu
Re: process status
Author: David C Lawrence
Date: Mon, 24 Apr 1989 06:16
Date: Mon, 24 Apr 1989 06:16
9 lines
907 bytes
907 bytes
More fun with processes; I wish the manual had been more clear on this.
What is really sent to the process is not a symbol but a string;
instead of testing for 'exit, what I should have been testing for in
my sentinel was (string-equal stat "finished\n"). Sort of odd that
the newline is in there, but it is.
Boy, do I feel stupid.
--
tale@rpitsmts.bitnet, tale%mts@itsgw.rpi.edu, tale@pawl.rpi.edu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads