#53 patch for saving/restoring sessions

open
nobody
None
5
2002-05-03
2002-05-03
TK Soh
No

This is a patch for NEdit to provide the capability
to save current session and restore it later. With it,
you can save what you are doing, close NEdit and go
home, then return to where you left off (most of it)
the next morning.

In addition, the states of a file will be saved before
its window is closed, which will be restored the next
time the file is opened (when a session is restored, or
by simply opening the file as normal). This recent-file
feature is independent of the session records, and may
be viewed as an extension to the original "previous
file" menu of NEdit.

(see README in the diff package for more)

Discussion

<< < 1 2 (Page 2 of 2)
  • Scott Tringali
    Scott Tringali
    2003-12-29

    Logged In: YES
    user_id=11321

    How does this integrate with the current session saving
    code? Is it a replacement, or a second implementation? I'm
    leary of having two separate implementations. If this is a
    better implementation then perhaps the old implementaton
    should be discarded.

     
  • TK Soh
    TK Soh
    2003-12-30

    Logged In: YES
    user_id=411637

    It's fundamentally a second implementation. But the version
    I'm updating allows users the option to restore the last
    session when starting nedit again. Personally, I find the
    current session saving feature isn't as useful in practice.

     
  • Scott Tringali
    Scott Tringali
    2005-04-07

    Logged In: YES
    user_id=11321

    OK, the duplicate name confused me a for a bit. So this
    more like a project file.

    It seems to me that you could build checkpointing
    (traditional sessions) on top of this? To checkpoint, you
    can probably just save the project file. Does this mean we
    can throw away some redundant code?

     
  • TK Soh
    TK Soh
    2005-04-08

    Logged In: YES
    user_id=411637

    I borrowed the word 'session' from DDD, I supposed 'project'
    is the better word.

    The patch actually does checkpointing (which I casually
    named it as 'recent-file'), a feature that I personally find
    to be more useful than project management.

    What redundant code you are refering to?

     
<< < 1 2 (Page 2 of 2)