GNU nano - Bugs: bug #61691, [Wish] make word-completion take...
You are not allowed to post comments on this tracker with your current authentication level.
bug #61691: [Wish] make word-completion take all open buffers into account
Submitter: | Tasos Papastylianou <tpapastylianou> | ||
Submitted: | Fri 17 Dec 2021 02:29:52 PM UTC | ||
Severity: | 1 - Wish | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Wed 16 Nov 2022 08:11:40 AM UTC, comment #9: |
Benno Schulenberg <bens> |
Mon 15 Aug 2022 11:04:47 PM UTC, comment #8: Thanks Benno (and Marco)! Works like a charm!
|
Tasos Papastylianou <tpapastylianou> |
Fri 12 Aug 2022 08:22:47 AM UTC, comment #7: Fixed in git, commit a36b726b, by going through the other open buffers when reaching the end of the current one. |
Benno Schulenberg <bens> |
Tue 09 Aug 2022 03:45:20 PM UTC, comment #6: As there is no response, and there was no signed-off patch, I have implemented the functionality myself, in a somewhat compacter way. See attached.
|
Benno Schulenberg <bens> |
Sun 07 Aug 2022 02:36:47 PM UTC, comment #5: Thanks for the patch. Please post a cleaned-up version to nano-devel, including an adequate commit message. Possible cleanups:
|
Benno Schulenberg <bens> |
Sun 19 Jun 2022 06:43:52 PM UTC, comment #4: I want this feature. Attached is a patch with a preliminary implementation. |
Marco Diego Aurélio Mesquita <marcodiego> |
Mon 17 Jan 2022 03:30:19 PM UTC, comment #3: Still getting to grips with the source, but I can try :) |
Tasos Papastylianou <tpapastylianou> |
Wed 12 Jan 2022 03:08:32 PM UTC, comment #2: Yes, it would be nice if nano would look at all buffers for possible completions. If you have a patch...
|
Benno Schulenberg <bens> |
Fri 17 Dec 2021 02:33:03 PM UTC, comment #1: PS. A nice side-effect of this is that one could open a separate buffer and fill it with an autocompletion dictionary, that could then be accessed for word-completions in other open buffers. |
Tasos Papastylianou <tpapastylianou> |
Fri 17 Dec 2021 02:29:52 PM UTC, original submission:
When editing code, I often have the following situation where:
|
Tasos Papastylianou <tpapastylianou> |
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 |
---|---|---|---|---|---|
2022-11-16 | bens | Open/Closed | Open | Closed | |
2022-08-12 | bens | Status | Ready For Test | Fixed | |
2022-08-09 | bens | Attached File | - | Added 0001-completion-search-through-all-open-buffers-for-possi.patch, #53549 | |
Status | None | Ready For Test | |||
2022-08-07 | bens | Assigned to | None | bens | |
2022-06-19 | marcodiego | Attached File | - | Added 0001-Consider-other-buffers-when-applying-completion.patch, #53322 | |
2022-01-12 | bens | Severity | 3 - Normal | 1 - Wish | |
Summary | [Wish] Make word-completion take into account all open buffers, not just current one | [Wish] make word-completion take all open buffers into account |
Powered by Savane 3.13-f8d8.
Corresponding source code
Released in nano-7.0.
(And yes, this is standard, non-choosable behavior. Most users will have just one buffer open, so it will not affect them. And the users that do use multiple buffers, I'm guessing most will want this behavior. And we have too many options already.)