[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: `call-process', to a string [Was: Re: Automatically set eww-download
From: |
Basil L. Contovounesios |
Subject: |
Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir] |
Date: |
Tue, 30 Oct 2018 02:25:36 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
"Garreau, Alexandre" <address@hidden> writes:
> In the `call-process' docstring related to the argument about output,
> there’s nothing related to a string:
>
>> Insert output in DESTINATION before point; t means current buffer; nil for
>> DESTINATION
>> means discard it; 0 means discard and don’t wait; and ‘(:file FILE)’, where
>> FILE is a file name string, means that it should be written to that file
>> (if the file already exists it is overwritten).
>> DESTINATION can also have the form (REAL-BUFFER STDERR-FILE); in that case,
>> REAL-BUFFER says what to do with standard output, as above,
>> while STDERR-FILE says what to do with standard error in the child.
>> STDERR-FILE may be nil (discard standard error output),
>> t (mix it with ordinary output), or a file name string.
>
> I also notice it is not documented that DESTINATION may be a buffer, in
> which case the output is inserted in the said buffer (I checked).
Indeed this does not seem to be documented in the docstring of
call-process, but it is documented in the manual under
'(elisp) Synchronous Processes'.
--
Basil
- Automatically set eww-download-directory according xdg dir, Garreau\, Alexandre, 2018/10/29
- `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir], Garreau\, Alexandre, 2018/10/29
- `with-temp-buffer', `with-output-to-string': `with-temp-buffer-to-string' / `with-current-buffer-to-string' [Was: Re: `call-process', to a string], Garreau\, Alexandre, 2018/10/29
- Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir],
Basil L. Contovounesios <=
- Re: `call-process', to a string, Garreau\, Alexandre, 2018/10/29
- Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir], Eli Zaretskii, 2018/10/30
- Re: `call-process', to a string, Garreau\, Alexandre, 2018/10/30
- Re: `call-process', to a string, Eli Zaretskii, 2018/10/30
- Re: `call-process', to a string, Garreau\, Alexandre, 2018/10/30
- Re: `call-process', to a string, Eli Zaretskii, 2018/10/30
- `call-process', to a string, Garreau\, Alexandre, 2018/10/30
- Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir], Basil L. Contovounesios, 2018/10/31
Re: `call-process', to a string [Was: Re: Automatically set eww-download-directory according xdg dir], Eli Zaretskii, 2018/10/30
Re: Automatically set eww-download-directory according xdg dir, Basil L. Contovounesios, 2018/10/29