Undo preserving file's mtime
-
Hi,
at least for a tought, should file changes completely undone change tile’s mtime (last modification date&time) back to the state before?
While WORKING with that file (i.e. keeping open) it’s possibly not a good idea as Makefiles and similar tools may break to unexpected or uncommon behaviour.
However, on CLOSING FILE, it would be good when there is an option to set back the mtime to the value before undone changes are done. In extreme case, when undoing ALL changes, file’s mtime should be set back as if file has never been touched. -
moderator aside:
Does this “thought” really need a separate discussion from your other two topics? All three of your topics are, to my mind, about essentially the same thing – the mtime/ctime of a file, and how Notepad++ interacts with it (both in deciding whether document-has-been-changed and in how Notepad++ sets one or both of those times). If they are really all related, please keep everything in one of the existing topics, instead of creating a new topic for each thought. It makes it really hard to follow, and hides the fact that other people have replied to other of your thoughts, so eliminates or obfuscates context.
Let me know which of the three you want as the “parent” conversation, and I can merge them all into one, unless you really believe they are completely distinct conversations which don’t rely on each other for context.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login