On Sunday, April 6, 2025 at 9:07:59 AM UTC-4 Edward K. Ream wrote:

On Sun, Apr 6, 2025 at 7:51 AM Thomas Passin wrote:


- @comment, @delims, @encoding, @pagewidth and @tabwidth directives should 
only appear *only *in @<file> nodes.


I strongly object to this one. I write files all the time that use @c and 
@pagewidth directives  even though they are not @files. 


Good point. What do you think of the following amendments?

- All @<file> nodes should contain @tabwidth and @pagewidth directives.


I don't see why they can't be set to the default setting if missing.  And 
if not defaulted, what should happen if they aren't present?  Let's keep 
the cognitive load low be not requiring the user to remember things that 
aren't really necessary.
 

- An @encoding directive needs to appear in an @<file> node only if the 
encoding in the directive
  doesn't match the encoding in  the *@string default-file-encoding* 
setting.


That sounds right.
 

- As always, avoid @comment and @delims directives if possible.

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 visit 
https://groups.google.com/d/msgid/leo-editor/e2944cb3-2181-4051-bd8c-7f154424b11bn%40googlegroups.com.

Reply via email to