GNU nano - Bugs: bug #49058, "unbind M-Space all" in...
You are not allowed to post comments on this tracker with your current authentication level.
bug #49058: "unbind M-Space all" in nanorc file changes behaviour of Ctrl+Left
Submitter: | Rishabh Dave <prongs> | ||
Submitted: | Sun 11 Sep 2016 12:40:10 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Sat 15 Oct 2016 03:22:40 PM UTC, comment #11: |
Benno Schulenberg <bens> |
Sat 15 Oct 2016 03:15:06 PM UTC, comment #10: Fixed in git, fdee0df.
|
Benno Schulenberg <bens> |
Thu 13 Oct 2016 02:20:39 PM UTC, comment #9: Ignoring the alignment, I am fine with representation. |
Rishabh Dave <prongs> |
Wed 12 Oct 2016 03:25:19 PM UTC, comment #8: Oops. Forgot to attach the patch, 0002, preceded by the modified first one, 0001. |
Benno Schulenberg <bens> |
Wed 12 Oct 2016 10:29:08 AM UTC, comment #7: Well, I was thinking of using ^← ^→ ^↑ ^↓ to represent the Ctrl+Arrow keys. See the attached patch. However, it breaks the alignment of the help text -- the help stuff counts bytes instead of characters. But ignoring that for a moment, what do you think of this? |
Benno Schulenberg <bens> |
Wed 12 Oct 2016 08:41:47 AM UTC, comment #6: It works fine but the old issue still persists: "^Left" and "^Right" are added to help text.[1] I was considering to skip these two specific string in src/help.c after you alluded me towards this solution. I have attached a patch[2] doing so on the top of your patch, if required. I have forgot to sign, I will send one if required.
|
Rishabh Dave <prongs> |
Tue 11 Oct 2016 05:57:51 PM UTC, comment #5: I'm suggesting the attached patch. What do you think? |
Benno Schulenberg <bens> |
Tue 20 Sep 2016 11:19:34 AM UTC, comment #4: Partially fixed in git, 8ba57cf -- when completely unbinding a function, also the corresponding modified Arrow key is unbound. This is not entirely what we would like, but at least it prevents unexpected movements. |
Benno Schulenberg <bens> |
Mon 12 Sep 2016 05:17:06 PM UTC, comment #3: Thanks for the help!
|
Rishabh Dave <prongs> |
Sun 11 Sep 2016 04:08:14 PM UTC, comment #2: Bug exists since nano-2.3.5 -- since the introduction of the Ctrl+Left/Right combos.
|
Benno Schulenberg <bens> |
Sun 11 Sep 2016 12:56:43 PM UTC, comment #1: I will try and fix this bug. |
Rishabh Dave <prongs> |
Sun 11 Sep 2016 12:40:10 PM UTC, original submission:
To repoduce, put "unbind M-Space all" in your ~/.nanorc and do src/nano src/browser.c. Press Ctrl-Left and Ctrl-Right one after the another, both makes cursor jump to the next word.
|
Rishabh Dave <prongs> |
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 10 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-10-31 | bens | Open/Closed | Open | Closed | |
2016-10-15 | bens | Status | Ready For Test | Fixed | |
Assigned to | None | bens | |||
2016-10-15 | bens | Status | In Progress | Ready For Test | |
2016-10-12 | bens | Attached File | - | Added 0002-binding-use-arrows-instead-of-words-to-designate-the.patch, #38712 | |
2016-10-12 | bens | Attached File | - | Added 0001-input-keep-the-Ctrl-Arrow-keys-working-when-their-sy.patch, #38711 | |
2016-10-12 | prongs | Attached File | - | Added 0002-help-don-t-display-Left-and-Right-in-help.patch, #38708 | |
2016-10-11 | bens | Attached File | - | Added 0001-input-keep-the-Ctrl-Arrow-keys-working-when-their-sy.patch, #38704 | |
2016-09-20 | bens | Status | None | In Progress | |
2016-09-16 | bens | Summary | "unbind M-Space all" in rcfile changes behaviour of Ctrl-Left | "unbind M-Space all" in nanorc file changes behaviour of Ctrl+Left |
Powered by Savane 3.13-d3ae.
Corresponding source code
Stupid mistake with double carets. Fixed now in git, c92982d.
Thanks for reporting the original bug and trying to fix it.