[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Nano-devel] [BUG] Undo and the 'modified' state issue
From: |
Liu Hao |
Subject: |
[Nano-devel] [BUG] Undo and the 'modified' state issue |
Date: |
Mon, 18 Dec 2017 14:16:28 +0800 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
nano does not update the 'modified' state if the file is saved after
modification.
Steps to reproduce:
1. Create an empty file.
2. Type `aaa` in then press <Enter>. The indicator in the upper right
corner now says 'Modified'.
3. Press ^O and save the file somewhere, for example, `/dev/null`. The
indicator disappears.
4. Type `bbb` in, The indicator says 'Modified' again.
5. Press M-U. This undoes the input and effectively restores the file
to its last saved state, *but the indicator still says 'Modified'*.
6. Press M-U repeatedly until there are no more characters in the
editing area. This restores the file to the state when it was opened.
The indicator disappears, *but it shouldn't*.
--
Best regards,
LH_Mouse
- [Nano-devel] [BUG] Undo and the 'modified' state issue,
Liu Hao <=