Re: [code] Reloading sessions, drag and drop files on TA icon in OSX

From: Pedro Andres Aranda Gutierrez <paaguti.att.gmail.com>
Date: Mon, 31 Oct 2016 17:46:25 +0100

:-( we'll have to live with that, don't we?

El 31 oct. 2016 14:35, "Mitchell" <m.att.foicica.com> escribió:

> Hi Pedro,
>
> On Tue, 18 Oct 2016, Pedro Andres Aranda Gutierrez wrote:
>
> Hi,
>>
>> I have found a small but frustrating anti-feature: If I drag and drop a
>> file on the TA icon on OSX, it will try to reload the session. If by
>> chance
>> it fails, it will not load the dragged file. I would guess that the
>> dragged
>> file should take priority over the session...
>>
>> Is it just me? Or other people feel like this...
>>
>
> I've had some time to look into this and it turns out that dragging and
> dropping a file onto the Textadept icon on OSX does not effectively execute
> `open Textadept.app [filename]`, but it executes `open Textadept.app` by
> itself and then sends in [filename] via `events.APPLEEVENT_ODOC`. As far as
> I can tell there is no way to detect if there's a pending
> `events.APPLEEVENT_ODOC` as Textadept is starting up, so it appears
> unavoidable that the previous session is reloaded :(
>
> 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.
>
>

-- 
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 Mon 31 Oct 2016 - 12:46:25 EDT

This archive was generated by hypermail 2.2.0 : Tue 01 Nov 2016 - 06:29:35 EDT