On Wed, Dec 14, 2011 at 8:08 PM, HansBKK <[email protected]> wrote: > I'm avoiding using plugins while I'm still such a **total noob** (aargh) at > figuring such basics as to why I'm losing hours' worth of work (OT - later)
That's why Bug "711158: Warn if same .leo file open in another Leo instance" has high priority. > If this is difficult to do within Python - I assume because it requires > poking into underlying OS-platform-specific stuff - then what about letting > OS-specific "launch wrappers" handle it? It is easy to do in pure python: just maintain a "lock" file, say ~/.leo/open_leo_files, and warn if the to-be-opened file is mentioned in the lock file. A common file should be safe enough because concurrent access can't happen. However, before doing even this much work I would like to be sure that no simpler way exists. Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
