[Top][All Lists]

[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

From: Benno Schulenberg
Subject: Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside
Date: Tue, 7 Jan 2020 18:51:34 +0100
User-agent: 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>
> wrote:
>> 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
> connections.

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.


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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