GNU nano - Bugs: bug #54837, [Request] allow zapping a marked...
You are not allowed to post comments on this tracker with your current authentication level.
bug #54837: [Request] allow zapping a marked region without changing the cutbuffer
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 14 Oct 2018 06:15:25 PM UTC | ||
Severity: | 1 - Wish | Status: | Fixed |
Assigned to: | None | Open/Closed: | Closed |
Jump to the original submission
Mon 12 Nov 2018 06:50:06 PM UTC, comment #8: |
Benno Schulenberg <bens> |
Sun 04 Nov 2018 11:28:52 AM UTC, comment #7: Fixed in git, essentially by commits 5662a388 and ae3ec178. |
Benno Schulenberg <bens> |
Thu 25 Oct 2018 08:00:40 PM UTC, comment #6: Attached yet another update of the fourth patch. It includes the missing NANO_TINY #ifdefs, and the escape sequence handler for urxvt should now work properly, due to melding Benno Schulenberg's code from here:
|
David Lawrence Ramsey <dolorous> |
Wed 24 Oct 2018 07:40:23 PM UTC, comment #5: Also, the section in the new fourth patch in parse_kbinput() that interprets urxvt's escape sequence for M-Del needs NANO_TINY #ifdefs. But since urxvt seems to have some issues with keystrokes in general, I'll hold off on it for now. |
David Lawrence Ramsey <dolorous> |
Wed 24 Oct 2018 03:41:18 PM UTC, comment #4: Attached an updated fourth patch, which seems to fix -K/--rebindkeypad on urxvt. It probably needs testing, since the code dealing with double escapes in parse_kbinput() is tricky. |
David Lawrence Ramsey <dolorous> |
Wed 24 Oct 2018 09:38:05 AM UTC, comment #3: Tweaked first three patches, the fourth patch #45265 is unchanged. |
Brand Huntsman <brand> |
Tue 23 Oct 2018 03:01:24 AM UTC, comment #2: The attached patches add a bindable "zap" function and bind it to M-Del by default. It cuts a selection or line, or to the line ending if cutfromcursor is enabled. The -Z/--zap command line options or "set zap" in nanorc allow zapping selections with backspace or delete keys. |
Brand Huntsman <brand> |
Sun 14 Oct 2018 06:23:08 PM UTC, comment #1: Bug #53534 probably requested the same thing, but the report was rather thin on details. |
Benno Schulenberg <bens> |
Sun 14 Oct 2018 06:15:25 PM UTC, original submission:
It would be nice if <Delete> and <Backspace> could be made to erase a marked region without putting the erased text into the cutbuffer -- just like those keys behave in for example Firefox and Gedit and Geany.
|
Benno Schulenberg <bens> |
Depends on the following items: None found
Items that depend on this one: None found
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 12 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2018-11-12 | bens | Open/Closed | Open | Closed | |
2018-11-04 | bens | Status | In Progress | Fixed | |
2018-10-25 | dolorous | Attached File | - | Added zap-0004-input-properly-read-Alt-Delete-when-using-K-rebindkey-v3.patch, #45295 | |
2018-10-24 | dolorous | Attached File | - | Added zap-0004-input-properly-read-Alt-Delete-when-using-K-rebindkey-v2.patch, #45283 | |
2018-10-24 | brand | Attached File | - | Added zap-0001-add-bindable-zap-function-v2.patch, #45274 | |
Attached File | - | Added zap-0002-zap-selection-with-Bsp-Del-keys-when-enabled-v2.patch, #45275 | |||
Attached File | - | Added zap-0003-bind-zap-to-M-Del-key-v2.patch, #45276 | |||
2018-10-23 | bens | Status | None | In Progress | |
2018-10-23 | brand | Attached File | - | Added zap-0001-add-bindable-zap-function.patch, #45262 | |
Attached File | - | Added zap-0002-zap-selection-with-Bsp-Del-keys-when-enabled.patch, #45263 | |||
Attached File | - | Added zap-0003-bind-zap-to-M-Del-key.patch, #45264 | |||
Attached File | - | Added zap-0004-input-properly-read-Alt-Delete-when-using-K-rebindkey.patch, #45265 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Released in 3.2. Main patches by Brand Huntsman.