Adrian Aichner <aichner(a)ecf.teradyne.com> writes:
I can't figure out which change broke (interrupt-process ...) in
XEmacs 21.1 and XEmacs 21.2 built natively on NT4SP5.
This is the reason why kill-compilation is no longer working in
*compile* buffers (needless to say: It used to work to
approx. 21.1.7).
Perhaps you'll have some ideas. I am copying Gunnar who has also done
work in the process area.
OK, thanks. I am afraid I have followed xemacs-beta very closely in
the last months.
This doesn't:
(start-process "shell" nil "cmd" "/c" "sleep"
"60")
(message "before: %S" (get-process "shell"))
(interrupt-process "shell" t)
(message "after: %S" (get-process "shell"))
could you elaborate what "doesn't work" means? Does it make a
difference whether you use the name or the process?
Have you tried running this in a debugger and single stepping through
process_send_signal()? Alternatively you could try backing out patches
until it works :-(
It would be great if we could fix this for 21.1 even, if not for
21.1.10.
indeed. I think I never intended my changes to go into 21.1, for which
I had a simpler version, but this should still work.
Gunnar