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: Fri, 7 Sep 2018 19:43:21 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

Op 07-09-18 om 00:04 schreef Brand Huntsman:
> On Thu, 6 Sep 2018 20:18:42 +0200 Benno Schulenberg <address@hidden>
> wrote:
>> The problem with not cutting a word when crossing a line boundary is that it
>> joins words when cutting leftward -- my lines don't end in spaces.  I don't
>> see a simple way to solve that: to insert a space when there is none, just
>> like justifying does.
> 
> That isn't really an issue, and nano shouldn't handle it. After joining a
> line, you are either going to keep cutting, in which case it doesn't matter if
> there is space or not, or you are finished. When cutting right, you probably
> started on a word, so there is a space behind cursor. If there isn't a space
> before or after a right/left cut, just press the spacebar.

True...  Okay, I've changed the patch to the non-cutting-when-joining-lines
behavior, and pushed it: commit e21ce0db.

Thanks for commenting.

Benno

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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