bugGNU nano - Bugs: bug #51438, without --tabstospaces, indenting...

 
 

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

bug #51438: without --tabstospaces, indenting via M-} adds a non-fixed amount of whitespace

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 11 Jul 2017 09:29:05 AM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  dolorous Open/Closed:  Closed

Wed 16 Aug 2017 05:09:30 PM UTC, comment #2: 

Fixed in git, 749b1b3d.  Thanks for doing the work.

Benno Schulenberg <bens>
Group administrator
Sun 13 Aug 2017 05:32:56 PM UTC, comment #1: 

The last paragraph of http://lists.gnu.org/archive/html/nano-devel/2017-07/msg00019.html describes how I envision indenting and unindenting to work:

"""When a line is empty (that is: it has zero length), it should stay empty: if it is selected during an indent operation, it should not get any whitespace added to it.  A similar thing for unindenting: when an empty line is selected, this should not prevent the unindenting of the other selected lines.  And also a selected line that consist /only/ of whitespace should not prevent unindenting of the other lines."""

Benno Schulenberg <bens>
Group administrator
Tue 11 Jul 2017 09:29:05 AM UTC, original submission:  

See bug #51408 for how the indentation amount differs between when using --tabstospaces and when not.  It was determined that indenting should add a fixed amount of visual whitespace.

David is working on a patch set, see: http://lists.gnu.org/archive/html/nano-devel/2017-07/msg00003.html.

Benno Schulenberg <bens>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-08-28 bens Open/ClosedOpen Closed
    2017-08-16 bens StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code