bugGNU nano - Bugs: bug #56241, when the mark is on but nothing is...

 
 

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

bug #56241: when the mark is on but nothing is marked, <Ctrl+Del> deletes nothing

Submitter:  Benno Schulenberg <bens>
Submitted:  Tue 30 Apr 2019 07:41:11 AM UTC
   
 
Severity:  2 - Minor Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Tue 30 Apr 2019 07:54:52 AM UTC, comment #1: 

Fixed in git, commit 7c08e8ea.

Benno Schulenberg <bens>
Group administrator
Tue 30 Apr 2019 07:41:11 AM UTC, original submission:  

To reproduce, run 'src/nano --ignore +9,5 README'.
Then type: <Ctrl+Delete>
The word "First " is deleted.

Now type: ^6 <Ctrl+Delete>
Nano says: "Nothing was cut".

Now type: ^6 <Down> <Ctrl+Delete>
The word "the " is deleted and the mark is switched off.

Now type: <Ctrl+Right> ^6 <Ctrl+Shift+Delete>
The word "GPL, " is deleted.

Expected behavior: <Ctrl+Delete> should ignore the mark.  The mark being on or off ought to be irrelevant when chopping words, because afterwards the mark is always off anyway.

(It might be nice, though, if the mark were preserved, just like M-T goes to great lengths to preserve and adjust the mark when it is set.  But... maybe that is a bit over the top.  Maybe it would be better if any cutting function always switched off the mark.)

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
    2019-06-19 bens Open/ClosedOpen Closed
    2019-04-30 bens StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code