Yeah, I haven't been keeping up with details, but it seems @auto is gaining superpowers, wherein I can equip the node with custom capabilities
blah blah nevermind, Edward's message just arrived: empty ok On Wed, Jul 30, 2014 at 9:14 AM, 'Terry Brown' via leo-editor <[email protected]> wrote: > On Wed, 30 Jul 2014 05:19:18 -0500 > "Edward K. Ream" <[email protected]> wrote: > >> 2. Nah: ic.createOutline won't call an importer for empty files. >> That's just silly. However, if you set trace = True in >> ic.createOutline, the traces will tell you whether the read failed >> (file did not exist) or returned an empty file. This should eliminate >> confusion, especially if your test file isn't empty! > > Well... generally I think you're right, but just for testing last night > I made an importer / writer pair that just added "Opened 2014-2x-xx" and > "Closed 2014-2x-xx" timestamps to the body... hmm, that's not really > illustrating my point. > > My point is that @auto-weather for example might read the weather > observations recorded in the file and append the current observation to > the file... so potentially it should be called even on an empty file. > > It seems to me that calling the importer and writer on empty files > should have so little cost in cases where it's unnecessary that it's > worth doing it just to enable all the "who would have thought of that" > applications these super cheap load/save hooks provide. > > Cheers -Terry > > -- > You received this message because you are subscribed to the Google Groups > "leo-editor" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/leo-editor. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
