nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH 1/2] new feature: pipe selected text to external


From: Marco Diego Aurélio Mesquita
Subject: Re: [Nano-devel] [PATCH 1/2] new feature: pipe selected text to external command when executing one
Date: Thu, 10 May 2018 23:13:40 -0300

Hi Benno!

On Tue, May 1, 2018 at 5:59 AM, Benno Schulenberg <address@hidden> wrote:
> From: Marco Diego Aurélio Mesquita <address@hidden>
>
> [Patch has been updated for current state of git master.]
>
> When a region is marked and a command is executed (^R^X), nano now
> pipes the marked text to the external command and replaces the text
> with the command's output.
>
> Signed-off-by: Marco Diego Aurélio Mesquita <address@hidden>

Please, consider the attached patches.

These patches improve somewhat on what we had. It uses two
simultaneous processes to pipe in and out, so we won't stuck because
of buffers; implements what was discussed about the '|' to enable
"pipeing" and incorporates your changes.

I really would like to get this feature in. Is the undo thing really
necessary for now? Can't it be done later?

Attachment: 0003-Reshuffle-some-code-and-improve-some-variable-names.patch
Description: Text Data

Attachment: 0002-Use-in-the-first-char-at-a-command-to-determine-if-t.patch
Description: Text Data

Attachment: 0001-Pipe-slected-text-to-external-command.patch
Description: Text Data


reply via email to

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