GNU nano - Bugs: bug #56845, +/string does not find the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #56845: +/string does not find the "string" at the start of the file
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sun 01 Sep 2019 12:33:51 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Sat 05 Oct 2019 09:45:02 AM UTC, comment #5: |
Benno Schulenberg <bens> |
Mon 02 Sep 2019 07:11:28 AM UTC, comment #4: Ah, yes, nice! Setting 'skipone' to FALSE for a forward search from the command line works. Thanks. Patch applied (with modified commit message) and pushed to master: commit 8853bc44.
|
Benno Schulenberg <bens> |
Sun 01 Sep 2019 08:22:29 PM UTC, comment #3: Does findnextstr() already support doing this with its skipone parameter? Attached patch seems to work.
|
Brand Huntsman <brand> |
Sun 01 Sep 2019 03:11:14 PM UTC, comment #2: Attached is the more general patch that works also for regexes. It's not just a bunch of extra lines, it's ugly too. :| |
Benno Schulenberg <bens> |
Sun 01 Sep 2019 02:56:19 PM UTC, comment #1: Attached patch works for plain strings, but not for regexes, so it's not good enough. But changing the starting position to EOF for forward searches is a nuisance: when nothing is found, the position has to be changed back to top of file. That's a bunch of lines for one special, uncommon case. :| |
Benno Schulenberg <bens> |
Sun 01 Sep 2019 12:33:51 PM UTC, original submission:
(Original report by Derek Wolfe in bug #54535, comment #37.)
|
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 8 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2019-10-05 | bens | Open/Closed | Open | Closed | |
2019-09-02 | bens | Status | In Progress | Fixed | |
2019-09-01 | brand | Attached File | - | Added find-queries-at-start-of-file-when-searching-from-command-line.patch, #47427 | |
2019-09-01 | bens | Attached File | - | Added start-at-EOF-for-forward-search.patch, #47420 | |
2019-09-01 | bens | Attached File | - | Added special-case-an-occurrence-at-head-of-file.patch, #47419 | |
Status | None | In Progress | |||
Carbon-Copy | - | Added dwwolfe1 | |||
Carbon-Copy | - | Added brand |
Powered by Savane 3.13-4448.
Corresponding source code
The fix has been released in nano-4.5.