bugGNU nano - Bugs: bug #57527, [Request] ignore autoindent when...


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

bug #57527: [Request] ignore autoindent when text is being pasted

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 03 Jan 2020 02:54:26 PM UTC
Severity:  1 - Wish Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 12 Jan 2020 10:48:34 AM UTC, comment #1: 

Fixed in git, by commit 7d483987.

And closing, as it is a subitem of bug #40060.

Benno Schulenberg <bens>
Group administrator
Fri 03 Jan 2020 02:54:26 PM UTC, original submission:  

(The request is from S├ębastien Desreux in https://lists.gnu.org/archive/html/nano-devel/2020-01/msg00000.html.  A far earlier request for the same thing was from Hans Ecke in https://lists.gnu.org/archive/html/nano-devel/2007-04/msg00017.html.)

When autoindent is ON and several lines of text with some leading whitespace get pasted into nano (with the mouse or with Shift+Insert or Shift+Ctrl+V), then the lines get additional and unwanted leading whitespace added: more and more whitespace for each successive line.

It would be nice if autoindent were temporarily switched off or ignored when text is being pasted into nano from the desktop environment.  This is a subrequest of bug #40060.

Or rather: now I see that bug #40060 only talks about switching off auto-indent and word-wrap and maybe tabs-to-spaces; it doesn't say anything about being able to undo the whole paste with a single M-U.  This latter request was made in bug #54950, which really ought to have stayed a separate request.

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 brand
  • -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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-12 bens StatusNone Fixed
        Open/ClosedOpen Closed
    2020-01-03 brand Carbon-Copy- Added brand

    Back to the top

    Powered by Savane 3.12.
    Corresponding source code