Hrvoje Niksic <hniksic(a)arsdigita.com> writes:
[ Added Ben Wing, who knows the most about XEmacs event loop, to Cc.
]
I though Ben still reads xemacs-beta?
Gunnar Evermann <ge204(a)eng.cam.ac.uk> writes:
> After 15 seconds the expected SIGALARM arrives and the X event queue
> is inspected for C-g but for some reason the C-g is not found. In my
> debugging run the C-g event was just not there. Another problem is
> that the SIGALARM is generated only once (this is fixable I guess). If
> I generate another couple of SIGALARMs by hand with kill then the C-g
> eventually shows up in the queue and open-network-stream is quit.
Ben, can you comment on this? Is this how things are supposed to
work?
Gunnar, you might be interested in the latest patch by Yoshiki, which
seems to make exactly the change necessary for the above to work
right. (But then again, it might not, with XEmacs it's hard to tell.)
I doubt that this helps. I think the problem at a far lower level. In
Simon's case we never get anywhere near the lisp command loop. The
problem is that the X event that corresponds to C-g is not in the X
queue (yet) and thus the XCheckIfEvent() in x_check_for_quit_char()
doesn't find it.
Gunnar