GNU nano - Bugs: bug #58789, [Wish] an option to show conciser...
You are not allowed to post comments on this tracker with your current authentication level.
bug #58789: [Wish] an option to show conciser position information
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Mon 20 Jul 2020 10:13:06 AM UTC | ||
Severity: | 1 - Wish | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Fri 15 Jan 2021 10:52:45 AM UTC, comment #14: |
Benno Schulenberg <bens> |
Thu 24 Dec 2020 03:40:35 AM UTC, comment #13:
|
Peter Passchier <pepa65> |
Thu 24 Dec 2020 01:45:40 AM UTC, comment #12: Works great! Just noticing that when using "set minibar" in .nanorc, the "minibar" is flagged as not correct by the syntax highlighter. |
Peter Passchier <pepa65> |
Wed 23 Dec 2020 11:30:51 AM UTC, comment #11: Fixed in git, commit d31cc373 and subsequent ones, by adding a --minibar option that suppresses the title bar and shows in the status-bar space: file name, current line comma column, current character code, state flags, and a percentage that expresses the position of the cursor (line-based). |
Benno Schulenberg <bens> |
Mon 21 Dec 2020 01:30:23 AM UTC, comment #10:
|
Peter Passchier <pepa65> |
Mon 21 Dec 2020 01:19:45 AM UTC, comment #9:
|
Peter Passchier <pepa65> |
Sun 20 Dec 2020 03:37:14 PM UTC, comment #8: Well, logic may say that the percentage should be placed near the line+column pair, but trying it (see the patch without leading zeroes) I don't like it. It looks nicer when the percentage is at the end (see the 0009 patch). And I must say: this percentage is actually better info that the plain line number. |
Benno Schulenberg <bens> |
Sun 20 Dec 2020 11:57:33 AM UTC, comment #7: About the [x/y] information: when there is just one file open (which is my most common use case, and in general the most common use case, I guess), the [1/1] info would be pointless and should thus absolutely not be there. In that case, the file name is the leftmost item, and I would like the file name to always be in the same place -- to me it is more important than the secondary [x/y] info: when switching between files, I want to to know which file I am in (the name), the counter is... just an indication of how many others are open too. (Also, the [x/y] info is information /about/ the file, just like the asterisk, so to me it makes sense that those two things are next to each other.)
|
Benno Schulenberg <bens> |
Sat 19 Dec 2020 07:20:49 PM UTC, comment #6: OK, patch8 solves the suspend issue. |
Peter Passchier <pepa65> |
Sat 19 Dec 2020 07:15:35 PM UTC, comment #5: Thanks for testing. The attached patch should fix your ^Z issue. The other things I will comment on tomorrow. |
Benno Schulenberg <bens> |
Sat 19 Dec 2020 04:09:19 PM UTC, comment #4: Yes, I've been running with the seven patches.
|
Peter Passchier <pepa65> |
Sat 19 Dec 2020 03:56:34 PM UTC, comment #3: Peter? Any comment on this latest patch set (seven patches)? |
Benno Schulenberg <bens> |
Tue 15 Dec 2020 09:48:14 AM UTC, comment #2: Here is an improved patch set, where status-bar messages are overwitten by the minibar after four fifths of a second (except for true error messages: they stay until the next keystroke). |
Benno Schulenberg <bens> |
Sun 11 Oct 2020 01:26:03 PM UTC, comment #1: It shouldn't be an option that modifies the effect of --constantshow, but does something by itself: showing a minimum amount of state information.
|
Benno Schulenberg <bens> |
Mon 20 Jul 2020 10:13:06 AM UTC, original submission:
It would be nice if it were possible to make --constantshow list only the bare essentials: line number, column number, the code of the character under the cursor (this would help with invisible characters like combining ones or the dreaded BOM), and maybe the percentage position of the cursor. That would be clean and simple, more nano-like, and would be something I might want to use.
|
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 19 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2021-01-15 | bens | Open/Closed | Open | Closed | |
2020-12-23 | bens | Status | In Progress | Fixed | |
2020-12-22 | bens | Status | Ready For Test | In Progress | |
2020-12-20 | bens | Attached File | - | Added add-percentage-to-minibar.patch, #50529 | |
Attached File | - | Added 0009-minibar-add-a-percentage-that-shows-how-far-the-curs.patch, #50530 | |||
2020-12-19 | bens | Attached File | - | Added 0008-input-fix-Z-issue-reported-by-Peter.patch, #50525 | |
2020-12-19 | bens | Carbon-Copy | - | Added pepa65 | |
2020-12-15 | bens | Attached File | - | Added 0005-feedback-differentiate-between-remarks-mistakes-and-.patch, #50474 | |
Attached File | - | Added 0006-minibar-add-an-x-y-counter-when-multiple-files-are-o.patch, #50475 | |||
Attached File | - | Added 0007-minibar-show-the-line-count-in-the-bar-at-startup-an.patch, #50476 | |||
2020-12-15 | bens | Attached File | - | Added 0001-tweaks-move-the-displaying-of-the-state-letters-into.patch, #50470 | |
Attached File | - | Added 0002-display-add-code-for-showing-minimal-state-informati.patch, #50471 | |||
Attached File | - | Added 0003-options-add-minibar-and-_-for-activating-basic-state.patch, #50472 | |||
Attached File | - | Added 0004-minibar-show-the-info-bar-again-some-0.8-seconds-aft.patch, #50473 | |||
Status | None | Ready For Test | |||
2020-12-09 | bens | Assigned to | None | bens | |
2020-10-11 | bens | Attached File | - | Added 0001-display-first-implementation-of-a-minimal-state-info.patch, #49963 | |
Attached File | - | Added 0002-options-add-minibar-and-_-to-activate-the-basic-stat.patch, #49964 | |||
Summary | [Wish] an option to make 'constantshow' report conciser information | [Wish] an option to show conciser position information |
Powered by Savane 3.13-f8d8.
Corresponding source code
Released in nano-5.5, as --minibar.