Eleven days ago I wrote the following:


> Issue #3657 <https://github.com/leo-editor/leo-editor/issues/3657> suggests 
that Leo should *always *write black-compatible sentinel lines.

> Leo would no longer need the *--black-sentinels* command line option.


I've changed my mind. Leo will continue to support the --black-sentinels 
command-line option.


This option affects only Leo's *write* code, but  PR #3678 
<https://github.com/leo-editor/leo-editor/pull/3678> will improve the 
corresponding *read* code. 


*Aha:  there is little need for blackened sentinels!* 


Those using Leo in an environment that mandates Black formatting are likely 
using @clean or @auto to avoid using sentinels.


I prefer Orange (Leo's formatter) to Black when formatting Leo's sources. 
Compatibility with Black is not an issue!


*Summary*


Few Leonistas will likely ever use the --black-sentinels command-line 
option, but there is no reason to remove it.


*Mandating* Black-compatible sentinels would be a blunder.


PR #3678 <https://github.com/leo-editor/leo-editor/pull/3678> will make 
Leo's read code more robust.


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/70113b5a-dafa-4185-8240-03beafe69031n%40googlegroups.com.

Reply via email to