Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Enable session snapshot and periodic backup?

    Help wanted · · · – – – · · ·
    5
    7
    524
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • qcybb
      qcybb last edited by

      How come it’s not possible to enable “Enable session snapshot and periodic backup” and disable “Remember current session for next launch”?

      It would be really nice if those 2 options were not connected.

      Ekopalypse 1 Reply Last reply Reply Quote 0
      • Ekopalypse
        Ekopalypse @qcybb last edited by

        @qcybb see here how to make a feature request at github repo.

        1 Reply Last reply Reply Quote 2
        • Alan Kilborn
          Alan Kilborn last edited by

          So here is a summary of what the OP means:

          You either have:

          cffb9169-c620-495a-80b9-16fef620e709-image.png

          Or you have:

          257adc7d-7213-416a-a76b-0c3e2169c213-image.png

          Or even:

          59dec203-98e2-4852-af61-79b3b435e0fb-image.png

          Enable session snapshot… seems to be the one that lets you exit and keep your files as unsaved (red disk icons on the tabs).
          Maybe with that context it makes sense that you’d want to Remember current session… as well; otherwise, wouldn’t your unsaved changes be, well, hard for N++ to keep track of?

          Michael Vincent 1 Reply Last reply Reply Quote 4
          • Michael Vincent
            Michael Vincent @Alan Kilborn last edited by

            @Alan-Kilborn said in Enable session snapshot and periodic backup?:

            Maybe with that context it makes sense that you’d want to Remember current session… as well; otherwise, wouldn’t your unsaved changes be, well, hard for N++ to keep track of?

            Agree, not looking at the code, but just interpreting what that settings seem to mean, “Enable session snapshot and periodic backup” seems like a subset of “Remember current session for next launch”.

            Again, without looking at the code, I believe “Remember current session for next launch” saves the current session on Notepad++ exit, whereas “Enable session snapshot and periodic backup” saves the current session on the time interface specified and at Notepad++ exit. In that respect, it’s more like a background auto-save in case of a “crash”?

            Cheers.

            1 Reply Last reply Reply Quote 3
            • gstavi
              gstavi last edited by

              @qcybb
              These options are tightly connected and dependent.

              Enable session snapshot and periodic backup is not a very good name because it describes how the feature is implemented rather than its goal. I would name it Remember file modifications. One method to remember file modifications is to periodically make backups of them in a session snapshot.

              So basically a user has 3 choice for how he wants Notepad++ to start

              • Empty.
              • With all files that were open when Notepad++ closed, as they are saved on disk.
                • On Notepad++ close user must decide about modified files – save or lose.
                • On restart: deleted file will not appear.
                • Files that were modified by other application will have their new content.
              • With all files that were open when Notepad++ closed including modifications and new files.
                • I don’t use this so I am not sure what the behavior is.
                • On Notepad++ close do not ask user anything – everything is “remembered”.
                • On restart: deleted file? Does not appear? Appear as red tab?
                • Files that were modified by other application??? Old content? New content? Merged content?

              The user interface exposes these 3 options in a very reasonable way. Option 3 is by definition an extension to option 2.

              In my opinion option 3 is meant to satisfy lazy people that are always surprised at some point when they lose 3 weeks work that they never explicitly saved.
              As I demonstrated, there are quite a few tricky corner cases with this approach that are bound to surprise users when they first encounter them.

              Alan Kilborn 1 Reply Last reply Reply Quote 4
              • Alan Kilborn
                Alan Kilborn @gstavi last edited by

                @gstavi said in Enable session snapshot and periodic backup?:

                In my opinion option 3 is meant to satisfy lazy people that are always surprised at some point when they lose 3 weeks work that they never explicitly saved.

                Also generates a nasty surprise when the “NUL problem” strikes.

                1 Reply Last reply Reply Quote 1
                • Alan Kilborn
                  Alan Kilborn last edited by

                  Some more info on how the features under discussion work may be found HERE.

                  1 Reply Last reply Reply Quote 1
                  • First post
                    Last post
                  Copyright © 2014 NodeBB Forums | Contributors