#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

  • TK Soh

    TK Soh - 2002-05-03

    cvs diff v0.1 for nedit-session

     
  • TK Soh

    TK Soh - 2002-05-04

    v0.1a - removed changes in makefiles

     
  • TK Soh

    TK Soh - 2002-05-04

    Logged In: YES
    user_id=411637

    removed changes in makefiles which was only meant for
    debugging (-g)

     
  • TK Soh

    TK Soh - 2002-05-04

    Logged In: YES
    user_id=411637

    removed changes in makefiles which was only meant for
    debugging (-g)

     
  • TK Soh

    TK Soh - 2002-05-04
     
  • TK Soh

    TK Soh - 2002-05-05

    patch over 5.3RC1, can disable recent-file

     
  • TK Soh

    TK Soh - 2002-05-05

    Logged In: YES
    user_id=411637

    this patch is for 5.3RC1. The recent-file feature may now be
    disabled using X-resource.

     
  • TK Soh

    TK Soh - 2002-07-05

    patch v3 for 5.3, bugfix and enhancement

     
  • TK Soh

    TK Soh - 2002-07-05

    README for v3 patch

     
  • TK Soh

    TK Soh - 2002-07-05

    Logged In: YES
    user_id=411637

    From ChangeLog in the README file:

    v3, 2002-07-05, tksoh
    - patch against REL-5-3
    - added more state data to recentf-file record: window
    dimension, split panes settings, all local pref settings
    (except text font)
    - fixed a bug where recent-file records weren't saved if
    files were closed by WM's close command.

     
  • 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?

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks