[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: |
Brand Huntsman |
Subject: |
Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside |
Date: |
Mon, 6 Jan 2020 00:36:21 -0700 |
On Sun, 5 Jan 2020 16:32:07 +0100
Benno Schulenberg <address@hidden> wrote:
> Also, do not break overlong lines and do not convert tabs to spaces.
Pasting with auto-indent enabled always does the wrong thing with indented
lines and this fixes it. But wrapping pasted lines might be wanted, and this
removes that feature. You can currently toggle wrapping before and after a
paste to get wrapping or no wrapping. Some pastes shouldn't be wrapped, and
others should.
Wouldn't you always want tabs converted to spaces when pasting code to a file
that uses spaces? Python fails if some lines use spaces and others use tabs.
And if this feature really is wanted, should it also apply to tabgives?
I think wrapping and tabs2spaces shouldn't change for bracketed paste or both
have options to enable them.
- [PATCH 1/2] input: recognize the start and stop sequences of a bracketed paste, Benno Schulenberg, 2020/01/05
- [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/05
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside,
Brand Huntsman <=
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/06
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Brand Huntsman, 2020/01/06
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/07
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Brand Huntsman, 2020/01/07
- Re: [PATCH 2/2] input: do not auto-indent when something is pasted into nano from outside, Benno Schulenberg, 2020/01/08
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