[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] input: do not auto-indent when something is pasted into
Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside
Tue, 7 Jan 2020 18:51:34 +0100
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2
Op 06-01-2020 om 22:59 schreef Brand Huntsman:
> On Mon, 6 Jan 2020 20:07:42 +0100 Benno Schulenberg <address@hidden>
>> People that use --breaklonglines are already used to having to ^J any
>> paragraphs that they have edited
> Unless they use --disable-justify like me.
Out of curiosity: do you ever use --breaklonglines? If yes, in what
>> If our only goal is to suppress autoindent when an outside paste is
>> occurring, there is no need to detect bracketed pastes. See upcoming patch.
>> It's not perfect, but works well enough.
> That probably doesn't work reliably for fast typing or laggy ssh/X
Laggy ssh connections could well interfere, but I don't think anyone
could type fast enough to trigger the auto-indent suppression.
> It also doesn't allow undo.
It allows undo fine, just not in one go. But the current patch set
for bracketed pastes does not undo an external paste in one go either.
Description: OpenPGP digital signature
Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/10
Re: [PATCH 1/2] input: recognize the start and stop sequences of a bracketed paste, Benno Schulenberg, 2020/01/10