emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Alternative to process-lines for tramp


From: Basil L. Contovounesios
Subject: Re: Alternative to process-lines for tramp
Date: Thu, 04 Apr 2019 04:06:27 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Basil L. Contovounesios" <address@hidden> writes:

> I would, nevertheless, welcome a more flexible process-lines, whether
> via keyword arguments, a separate function, or otherwise.

Given that process-lines boils down to a call-process followed by
(split-string (buffer-string) "\n"), one "otherwise" solution would be
to provide a convenience function which does the buffer-splitting (but
in a more efficient way than split-string).

One could then mix and match call-process, process-file, et al. with
this new convenience function.  YMMV.

-- 
Basil



reply via email to

[Prev in Thread] Current Thread [Next in Thread]