GNU nano - Patches: patch #8890, don't record a cursor position of...
You are not allowed to post comments on this tracker with your current authentication level.
patch #8890: don't record a cursor position of 1 1 in the history list
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Tue 26 Jan 2016 04:38:23 PM UTC | ||
Priority: | 3 - Low | Status: | Done |
Privacy: | Public | Assigned to: | bens |
Open/Closed: | Closed | Release: | None |
Sun 07 Feb 2016 12:53:56 PM UTC, comment #1: |
Benno Schulenberg <bens> |
Tue 26 Jan 2016 04:38:23 PM UTC, original submission:
Quite often one uses nano just to have a short look at a file and one doesn't even move the cursor. Although it might be nice to have a trail of all the files recently opened, it is a waste to record a position of 1 1 in the file-position-history file, as that is the default position and the cursor would be placed there anyhow also without this record.
|
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 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2016-02-15 | bens | Open/Closed | Open | Closed | |
2016-02-07 | bens | Status | None | Done | |
Assigned to | None | bens | |||
2016-01-26 | bens | Attached File | - | Added dont-record-default-position.patch, #36169 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Patch went into SVN, r5615.
The reason: after opening in one sweep the seven hundred C files in gnulib/lib, I've lost all the positions in the files that I normally edit. So, when just opening a bunch of files to have a look at them without moving the cursor, these files should not be recorded in the file-position history. Since the size of that history is limited now, don't put things there that don't /need/ to be there.