On Tue, Dec 11, 2012 at 5:55 AM, Ville M. Vainio <[email protected]> wrote:
> """ > My present plan is to write a helper, say c.write_vnode, that will > discover the external file (if any) containing the vnode, and immediately > write that external file *without* a prompt. If there is no external file, > c.write_vnode could just do an ordinary save of the .leo file and all dirty > external files. > """ > > Maybe a relatively safe solution is to do this: > > 1) My present plan is to write a helper, say c.write_vnode, that will > discover the external file (if any) containing the vnode, and immediately > write that external file *without* a prompt. > > But not do this: > > 2) If there is no external file, c.write_vnode could just do an ordinary > save of the .leo file and all dirty external files. > > This way, if you "want to be safe", you will create an external @file for > the content. > > For situation 2), some kind of loud warning is in order, not sure of what > kind though. Red g.es? > Thanks for this suggestion. I have a great distrust of all operations containing "if" statements in their explanation. Somehow, we need a simpler approach, but I don't know what it is. For now, I'm going to file this under Leo/Bugs. Feel free to up the heat by posting a real bug report. Edward -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
