GNU nano - Bugs: bug #58825, stuff after a Search command in a...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58825: stuff after a Search command in a macro can get skipped
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 25 Jul 2020 09:45:56 AM UTC | ||
Severity: | 4 - Important | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Tue 25 Aug 2020 06:39:23 AM UTC, comment #7: |
Benno Schulenberg <bens> |
Thu 20 Aug 2020 09:00:18 AM UTC, comment #6: Fixed in git, commit 92298349, by using wgetch() to look at the "keyboard" directly. It is followed by several clean-up patches, among them aa257ef5 for restoring the resizability. |
Benno Schulenberg <bens> |
Thu 06 Aug 2020 04:42:15 PM UTC, comment #5: Hi Benno,
|
Peter Passchier <pepa65> |
Sun 26 Jul 2020 11:38:05 AM UTC, comment #4: Hello Peter,
|
Benno Schulenberg <bens> |
Sat 25 Jul 2020 01:54:05 PM UTC, comment #3: Well, it's possible to use wgetch() and, if there is a character, put it back at the head of the keybuffer, and then get it from the buffer normally. But then resizing while nano is searching does not work. The latter is not very important, but... I don't want to sacrifice it for this issue. |
Benno Schulenberg <bens> |
Sat 25 Jul 2020 01:46:26 PM UTC, comment #2: ^C after M-W doesn't work because 'meta_key' does not get reset to false when the normal input-parsing routines are not called. |
Benno Schulenberg <bens> |
Sat 25 Jul 2020 01:11:21 PM UTC, comment #1: When I simply replace the two calls of parse_kbinput(edit) in src/search.c with calls of wgetch(edit), it works fine when using ^W <Enter>. But ^C (Cancel) doesn't do anything when using M-W to search again. :| I don't get it. Why!? |
Benno Schulenberg <bens> |
Sat 25 Jul 2020 09:45:56 AM UTC, original submission:
To reproduce, first create a file with some two million lines:
Then run 'src/nano --ignore 2million'. It takes about two seconds to load. Then define a macro (after the <Enter> wait for it to report "not found"):
|
Benno Schulenberg <bens> |
No files currently attached
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 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2020-08-25 | bens | Open/Closed | Open | Closed | |
2020-08-23 | bens | Severity | 3 - Normal | 4 - Important | |
2020-08-20 | bens | Status | In Progress | Fixed | |
2020-08-19 | bens | Severity | 2 - Minor | 3 - Normal | |
Status | None | In Progress | |||
2020-07-26 | bens | Carbon-Copy | - | Added pepa65 |
Powered by Savane 3.13-02a9.
Corresponding source code
Released in 5.2.