On Wednesday, August 2, 2023, Edward K. Ream wrote:

> Leo's old, ugly, inscrutable, legacy file code must remain even in Leo 
6.7.5.

PR #3473 <https://github.com/leo-editor/leo-editor/pull/3473> shows that I 
must change my mind. Leo 6.7.5 will likely use json for uAs, copy-node, and 
paste-node. Here are my reasons.

1. The present code is intolerable.
2. Continuing to support legacy operation will add even more complexity.
3. A new command, *check-uas* (aka show-uas), will show all existing uAs.

This command has already shown how to improve the bookmarks plugin.

*Summary*

PR #3473 <https://github.com/leo-editor/leo-editor/pull/3473> will:

- Represent uAs *only* as json.
- Convert legacy uAs to json-based uAs when reading .leo files.
- Use json for copy-node and paste-node commands.
- Define the check-uas command.
- Retain various helpers that read and write xml for compatibility with 
scripts and plugins.
  However, Leo will not call these helpers.

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/d21938ab-d699-4407-87b5-333952232d63n%40googlegroups.com.

Reply via email to