bugGNU nano - Bugs: bug #46780, the cutword function should not...

 
 

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

bug #46780: the cutword function should not overwrite the cutbuffer

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 30 Dec 2015 12:45:43 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 20 Mar 2016 02:40:14 PM UTC, comment #1: 

Fixed in SVN, r5751.

Benno Schulenberg <bens>
Group administrator
Wed 30 Dec 2015 12:45:43 PM UTC, original submission:  

Currently, when using one of the cutword functions, the one word (or part of a word) that is cut, is put into the cutbuffer, overwriting anything that it is there.  This is somewhat unexpected and undesirable -- pressing backspace of delete several times does not enter anything into the cutbuffer nor does it alter its state.

To reproduce, put 'bind ^D cutwordleft main' into your .nanorc, then run 'nano +3 NEWS', and type ^K ^D ^D ^D ^D, then type ^U.  Instead of the deleted line being pasted, only the last deleted word is pasted back: "as".

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
    2016-06-20 bens Open/ClosedOpen Closed
    2016-03-20 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code