bugGNU nano - Bugs: bug #56308, [Request] copy a differing...


You are not allowed to post comments on this tracker with your current authentication level.

bug #56308: [Request] copy a differing first-line indent when justifying a region

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sat 11 May 2019 08:36:58 AM UTC  
Severity:  1 - Wish Status:  Fixed
Assigned to:  Benno Schulenberg <bens> Open/Closed:  Closed

Wed 25 Mar 2020 09:59:57 AM UTC, comment #2: 

Released in 4.9.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Tue 10 Mar 2020 09:52:56 AM UTC, comment #1: 

Fixed in git, commit e2096868.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
Sat 11 May 2019 08:36:58 AM UTC, original submission:  

To see my point, run:

  src/nano --ignore +18,30 COPYING

Then type twice <Shift+Down> and four times <Shift+Ctrl+Right>.  The cursor is now on the "Y" of "You can", and the sentence that starts with "We" is highlighted and selected.  Now type ^J.  The highlighted sentence is made into a new paragraph... but... not really, because the words "We" and "You" are not indented by two spaces like the original paragraph is.

Now type <Down> and ^J.  The whole of the original paragraph is reformatted into a single paragraph again.  This is unwanted.  What the user wanted was to reformat just the piece of text that starts with "You".  If all three new paragraphs had been indented in the same way (that is: with an initital indent of two spaces), nano would have seen that "You can apply it..." is a separate paragraph and would have justified it as such.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by bens (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-25 bens Open/ClosedOpen => Closed
    2020-03-10 bens StatusNone => Fixed
        Assigned toNone => bens

    Back to the top

    Powered by Savane 3.5