Re: [code] [textadept] How can I save the window size before quitting?

From: Carl Sturtivant <sturtivant.att.gmail.com>
Date: Fri, 3 Mar 2017 09:33:20 -0600

Hello Mitchell,

$EDITOR : good point. A menu item to load the previous session would be
great as a practical step. I probably have more ideas, so I'll leave all
this on hold until I form some interesting conclusions.

Best,
Carl.

On 3/3/2017 7:43 AM, Mitchell wrote:
> Hi Carl,
>
> On Thu, 2 Mar 2017, Carl Sturtivant wrote:
>
>> Hello Mitchell,
>>
>> I'm wondering if this is the "right" behavior. An alternative would
>> be to open with existing settings and add any additional files from
>> the command line in additional tabs. Is there some reason this
>> behavior is not that exhibited currently?
>
> Yes, the reason is that I don't like the idea of reloading a previous
> session if I'm passing a single filename to Textadept. Also, if you
> use Textadept as your $EDITOR on Linux where an external program
> spawns an instance of Textadept to edit a file (e.g. e-mail, commit
> message, etc.), then loading a previous session is quite wrong in my
> opinion.
>
> Unless there is strong disagreement in the community, I'd like to keep
> the current behavior. To my knowledge this is the first time this
> issue has been raised.
>
>> Right now opening a file from the command line has the effect of
>> losing the current state of editing completely if textadept isn't
>> already open, an act not trivial to reverse that could easily be done
>> accidentally.
>
> Perhaps an additional command line switch can be added to load the
> previous session in addition to any files on the command line, and/or
> a menu item can be added to load the previous session. That way
> "reversing" would be more trivial.
>
> I'm of course open to more suggestions :)
>
> Cheers,
> Mitchell

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Fri 03 Mar 2017 - 10:33:20 EST

This archive was generated by hypermail 2.2.0 : Sat 04 Mar 2017 - 06:33:14 EST