nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] cutting: when deleting whole words, don't join


From: Benno Schulenberg
Subject: Re: [Nano-devel] [PATCH] cutting: when deleting whole words, don't join lines unexpectedly
Date: Mon, 10 Sep 2018 19:19:30 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 10-09-18 om 05:50 schreef Brand Huntsman:
> The patch is inconsistent, did you even test it?

Oh, fuck off!  I've had it with your attitude!

> Cut right takes whitespace at end of line and stops, then it takes ALL
> newlines and whitespace before it stops. Both cut directions should have the
> same behavior and neither neither should take whitespace with newlines.

Yes they should take whitespace beyond the newline.  That's how I want
it.  That curwordleft doesn't do this is because normally there isn't
any whitespace at the end of lines, so I didn't test that case.  Oversight.

But not very impactful, because, as said, trailing whitespace will not be
common -- and *if* it is there, then it is most likely a single trailing
space, and it is good that it is not eaten.  So... I'm not sure I want to
change it.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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