>>>> Stephen J Turnbull <stephen(a)xemacs.org> writes:
XEmacs has had separation of stderr and stdout for a while. Perhaps
shell-command-on-region just needs to be updated to use that. The
arg to display the error buffer seems like it should be easy to
implement.
Yes. Going for API-compatibility is probably not that difficult.
I thought it might be more complicated since the GNU docs made me
believe they actually output stderr to a separate error-buffer if you
requested it in the asynchronous case. But testing revealed that in
the asynchronous case stderr goes to the same buffer as stdout and the
error-buffer argument is ignored. This makes sense and also works fine
for us dispatching to the background-package.
One difference is that GNU returns the process exit code but we
don't. Introducing that could possibly break old code but it is not
likely is it?
Yours
--
%% Mats
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta