[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] [BUG] Undo and the 'modified' state issue

From: Benno Schulenberg
Subject: Re: [Nano-devel] [BUG] Undo and the 'modified' state issue
Date: Mon, 18 Dec 2017 20:31:49 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

Op 18-12-17 om 07:16 schreef Liu Hao:
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*.

Thanks for reporting this.  I have rereported it as bug #52689:
Savannah is the place for bug reports.

A partial fix is coming up.  Some other changes will be needed first,
because the resetting of the Modified state is currently done in an
inconvenient place.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]