In keeping with the idea of limiting discussion within issues themselves, 
I'd like to discuss the present status of the *closed* issue #578: Support 
for org-mode tags on impor 
<https://github.com/leo-editor/leo-editor/issues/578>t. We can probably 
keep the issue closed, even while I tweak the code.

I was in such a hurry to add experimental support for @bool 
org-mode-removes-tags that I didn't see how important Terry's declutter 
mechanism is to this discussion.  Indeed, automatically stripping org-mode 
tags has several nasty aspects:

1. It adds an unhealthy link between the org mode reader and writer, and 
complicates both.

2. At present, the writer has no way to know the exact order of tags in the 
original file.  The workaround is to sort the tags, but this is ugly, and 
prevents exact round-tripping, which is more than ugly.

3. At present, both the reader and writer use the reloadSettings mechanism, 
but this is subtly wrong.  In a very rare case (changing the setting after 
reading but before writing) the writer might write tags twice or not at all.

*Summary*

None of these problems is truly awful, but declutter elegantly solves them 
all and simplifies the code as well.

I'll play with declutter today. If it works as I expect it will I'll remove 
all the code affected by deleting org-mode tags.

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 https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to