This Engineering Notebook post discusses what Leo's open-outline command should do.
PR #3645 <https://github.com/leo-editor/leo-editor/pull/3645> restores Leo's ability to load/import non-outline files from the command line. Leo puts those files in new tabs. While testing, I realized that Leo's open-outline command should do the same. Instead, this command inserts @edit or @file nodes in the *presently selected outline!* Doing so makes no sense. *The new plan* Each of Leo's tabs should be able to contain either: - An outline (.leo or .leo.db) file, - An external file created by @file, - any other kind of external file. You might imagine that this will complicate Leo's save-file logic. In fact, the new code may be simpler than the old. The simplifying principle: all Leo's tabs contain commanders, but not all commanders represent outlines. *Summary* Leo's open-outline command should create a new tab for each new file, just as opening a file from the command line does. I'll rename open-outline to open-file, retaining the old name for compatibility. All of your comments are welcome. 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 view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/d39c2dbb-0aa0-4be6-9317-369523981f3dn%40googlegroups.com.
