Re: [textadept] Automatic session saving issues

From: mitchell <>
Date: Mon, 8 Aug 2011 10:02:25 -0400 (Eastern Daylight Time)

On Sun, 7 Aug 2011, Patrick wrote:

> I think that the session saving is working as designed but I'm finding
> it a bit counter intuitive and slightly frustrating as I try to set
> saved sessions for doing particular kinds of work. What's happening
> is that I put in the time to set up a session and save it. But the
> next time I go to use it, its hold the state of when I last used it
> rather than when I last saved it. What I was assuming that it would
> do is save the session to something like "last_session" instead of
> clobbering the one I had set up.
> I guess in short, I kind of like having TA open up the way that I
> closed it last, but I don't like it clobbering the sessions that I
> explicitly saved. I'd rather explicitly save over them if I wanted
> them to change.
> Is there a way to set up that behavior?

A quick hack is to remove line 86 in modules/textadept/session.lua
(setting _SESSIONFILE).

Received on Mon 08 Aug 2011 - 10:02:25 EDT

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:18:35 EST