I suggest a name change for *save-as-xml*. "xml" is too generic. I presume you mean to save as a standard leo outline. Maybe *save-as-leo-outline*, or *save-as-dotleo*. Otherwise someone might suppose that the saved file will be some new xml format that isn't openable by Leo.
On Tuesday, March 23, 2021 at 12:06:29 PM UTC-4 Edward K. Ream wrote: > I have just closed Leo issue #442 > <https://github.com/leo-editor/leo-editor/issues/442> after merging the > ekr-json branch into devel. > > leoInteg issue #125 <https://github.com/boltex/leointeg/issues/125> > describes the format of such files. However, I have changed the assumed > format of the 'globals' section. I'll be happy to make changes if Félix > wants them. > > The save-as-leojs command will convert any outline (.leo file) to .leojs > format. The save-as-xml converts any .leojs file back to a .leo file. > > I wanted to complete #442 work to keep the PR manageable. I expect Félix > or I will open new issues for any desired tweaks. > > Félix, please review what I have done. Thanks. We can make changes freely > until Leo 6.4 final goes out the door. > > 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/0c68c353-4c0c-4d49-8ae5-fad5cf298753n%40googlegroups.com.
