I've noticed a couple issues with call-process-region:
1) It's not returning the exit code from the called process:
(call-process-region
1 1 "ls" nil)
=> nil
2) Calling it with invalid arguments causes xemacs to become unstable
and lock up several seconds later:
(call-process-region
1 1 "ls" nil nil nil '())
Try that one...
I get the following output on the console:
Xlib: sequence lost (0x12474 > 0x2474) in reply type 0x0!
xemacs: X Error of failed request: BadImplementation (server does not implement
operation)
Major opcode of failed request: 20 (X_GetProperty)
Serial number of failed request: 9332
Current serial number in output stream: 9332
Xlib: unexpected async reply (sequence 0x247f)!
Xlib: unexpected async reply (sequence 0x24c4)!
Xlib: sequence lost (0x124b9 > 0x24b9) in reply type 0x0!
xemacs: X Error of failed request: BadImplementation (server does not implement
operation)
Major opcode of failed request: 20 (X_GetProperty)
Serial number of failed request: 9401
Current serial number in output stream: 9401
Any ideas?
--
Josh Huber