I do like to write """<< quotation-section >>""" or even single quoted "<< 
quotation-section >>".  Not crucial, but perhaps the test could be for 
whitespace + quotes?

I didn't even know you could have more than one section reference on a 
line, and I wouldn't know what indentation would be used for a second one 
if it existed.  That makes me think that it would be good to enforce the 
proposed rule (modulo the quotes).

On Friday, November 5, 2021 at 9:14:52 AM UTC-4 Edward K. Ream wrote:

> Issue #2309 <https://github.com/leo-editor/leo-editor/issues/2309> 
> suggests that Leo should recognize section references only:
>
> 1. When nothing except whitespace appears before or after the section 
> reference.
> 2. Only when the apparent section reference is *not* part of an `@doc` 
> section.
>
> Imo, this proposal is much less risky than it might appear!
>
> I won't go more into detail here. See #2309 
> <https://github.com/leo-editor/leo-editor/issues/2309> for the 
> advantages, prospects for success, impact on code, migration strategy, and 
> motivating examples.
>
> I am actively asking for comments. Please make your comments *here*, not 
> in the issue itself. Thanks for your attention to this matter.
>
> Edward 
>
> P. S. I shall soon begin work on the project in the ekr-section-refs 
> branch. I expect to complete work in just a few days. Speed matters because 
> Félix may want to start transliterating leoAtFile.py into typescript!
>
> EKR
>

-- 
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/d1fe8f82-89e1-4f3e-938b-171ad93c07b3n%40googlegroups.com.

Reply via email to