GNU nano - Bugs: bug #52504, when the first edit is undone, the...
You are not allowed to post comments on this tracker with your current authentication level.
bug #52504: when the first edit is undone, the "Modified" marker is not removed
Submitter: | Benno Schulenberg <bens> | ||
Submitted: | Sat 25 Nov 2017 06:32:39 PM UTC | ||
Severity: | 3 - Normal | Status: | Fixed |
Assigned to: | bens | Open/Closed: | Closed |
Jump to the original submission
Mon 27 Nov 2017 04:50:08 PM UTC, comment #7: |
Peter Passchier <pepa65> |
Mon 27 Nov 2017 03:21:16 PM UTC, comment #6: A second attempt at a fix has been pushed, commit c17a8a98.
|
Benno Schulenberg <bens> |
Mon 27 Nov 2017 03:00:43 PM UTC, comment #5: Oops! It worked fine the last time I tested it. But... then I made a last-minute adjustment. I had the "pristine = FALSE" inside the "while dropit" loop, but then ran 'src/nano --auto +2 NEWS' and typed ^J xx M-U -- it reset the Modified state, but it had clearly rewrapped the paragraph. So I moved the "pristine = FALSE" out of the while loop, but then apparently didn't test it again. :| |
Benno Schulenberg <bens> |
Mon 27 Nov 2017 02:55:49 AM UTC, comment #4: Thanks for tackling this. Also doesn't work here, Modified keeps showing and on exit permission is asked. |
Peter Passchier <pepa65> |
Sun 26 Nov 2017 10:43:45 PM UTC, comment #3: I've reported the magicline issue separately, as bug #52523. |
David Lawrence Ramsey <dolorous> |
Sun 26 Nov 2017 10:23:37 PM UTC, comment #2: After some testing on my end, this doesn't seem to be fixed at all. As of git 20aa167, try the following:
|
David Lawrence Ramsey <dolorous> |
Sun 26 Nov 2017 08:02:02 PM UTC, comment #1: Fixed in git, commit 0c9905db. |
Benno Schulenberg <bens> |
Sat 25 Nov 2017 06:32:39 PM UTC, original submission:
When a file is fully "undone", it would be nice if the "Modified" message in the top-right corner would disappear, and -- when quitting -- nano shouldn't need to ask whether to save modifications, because it is known there aren't any.
|
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 6 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2017-11-28 | bens | Open/Closed | Open | Closed | |
2017-11-27 | bens | Status | In Progress | Fixed | |
2017-11-27 | bens | Status | Fixed | In Progress | |
2017-11-26 | bens | Status | In Progress | Fixed | |
2017-11-25 | bens | Attached File | - | Added 0001-undo-unset-the-Modified-state-when-the-very-first-ed.patch, #42482 | |
Carbon-Copy | - | Added pepa65 |
Powered by Savane 3.13-d3ae.
Corresponding source code
Great, love it!