* inconsistent doc for call-process-regione
@ 2003-05-17 23:51 Francesco Potorti`
0 siblings, 0 replies; 2+ messages in thread
From: Francesco Potorti` @ 2003-05-17 23:51 UTC (permalink / raw)
In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
The doc string for call-process says:
|Insert output in BUFFER before point; t means current buffer;
| nil for BUFFER means discard it; 0 means discard and don't wait.
But later it says:
|If BUFFER is nil, `call-process-region' returns immediately with value nil.
|Otherwise it waits for PROGRAM to terminate
|and returns a numeric exit status or a signal description string.
If I am not wrong, these are contradictory. If they are not, then I do
not understand, and probably they should be cleared.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: inconsistent doc for call-process-regione
[not found] <mailman.6350.1053215589.21513.bug-gnu-emacs@gnu.org>
@ 2003-05-19 18:50 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2003-05-19 18:50 UTC (permalink / raw)
Francesco Potorti` wrote:
> In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>
> The doc string for call-process says:
>
> |Insert output in BUFFER before point; t means current buffer;
> | nil for BUFFER means discard it; 0 means discard and don't wait.
>
> But later it says:
>
> |If BUFFER is nil, `call-process-region' returns immediately with value nil.
> |Otherwise it waits for PROGRAM to terminate
> |and returns a numeric exit status or a signal description string.
>
> If I am not wrong, these are contradictory. If they are not, then I do
> not understand, and probably they should be cleared.
I don't think they are contradictory. The value of BUFFER determines 2 things
(3 actually): what is done with the process's output, and what value is returned
(as well as whether that value is returned immediately or when the process
terminates).
--
<a href="mailto:<kevin.rodgers@ihs.com>">Kevin Rodgers</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-05-19 18:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.6350.1053215589.21513.bug-gnu-emacs@gnu.org>
2003-05-19 18:50 ` inconsistent doc for call-process-regione Kevin Rodgers
2003-05-17 23:51 Francesco Potorti`
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).