[Top][All Lists]

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

Re: Nano 4.6 eats this line

From: Benno Schulenberg
Subject: Re: Nano 4.6 eats this line
Date: Mon, 16 Dec 2019 10:59:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.2.2

Op 15-12-2019 om 20:41 schreef Seb:
> The minimal combination in my .nanorc is this:
> set breaklonglines
> set quotestr "^([   ]*([#%:<>|}\]|//))+"

Ah.  But that quotestr command was not in the extract you posted earlier.

Anyway, I can now reproduce.  Without fiddling with any nanorc file,
a simple reproduction recipe is:

  echo "        #what word word"  >oneline
  nano --ignore --break --fill=20 --quote="^([[:blank:]]*#)+"  oneline

(There are eight spaces before the "#what".)  Then type <Tab>.  All the
words disappear into the void.  Typing M-U brings back some random junk.

The terminal's tab size does not seem to matter.  When using -T4 with
nano, things seem to work fine for the first <Tab>, but then "#what"
disappears upon the second <Tab>.

I've rereported the bug at


Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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