PR #4328 changes the color-and-font-related settings that tell Leo how to colorize reStructuredText. This PR changes only leoSettings.leo. The first comment of the PR explains the changes and their rationale.
This PR aims to make Leo 6.8.4 and 6.8.3 functionally identical as far as these settings are concerned. But I may be mistaken. If necessary, I will be happy to make further changes in a new PR. Please report any remaining problems.
Edward
PR #4328 changes the color-and-font-related settings that tell Leo how to colorize reStructuredText. This PR changes only leoSettings.leo. The first comment of the PR explains the changes and their rationale.
This PR aims to make Leo 6.8.4 and 6.8.3 functionally identical as far as these settings are concerned. But I may be mistaken. If necessary, I will be happy to make further changes in a new PR. Please report any remaining problems.
I did more tests with your latest updates to the 'devel' branch.It has changed - but - it is not identical.
For me personally it is already good enough, since the default coloring of reStructuredText nodes is no longer RED ...It's your call to make, if the goal is to achieve identical look & feel for 6.8.4 or not ?
Hello Edward,Am Mo., 14. Apr. 2025 um 16:45 Uhr schrieb Edward K. Ream <edre...@gmail.com>:Not yet identical ! - For me only ?
On Mon, Apr 14, 2025 at 11:33 AM Viktor Ransmayr <viktor....@gmail.com> wrote:Am Mo., 14. Apr. 2025 um 16:45 Uhr schrieb Edward K. Ream <edre...@gmail.com>:Not yet identical ! - For me only ?The screenshot is the intended result of PR #4332.
There may be some edge cases, but I think the solution now is add all the new settings (from the new PR) to your myLeoSettings.leo file and (if necessary) whatever theme file that your myLeoSettings.leo file selects.In other words, I think the new PR is all I can do. Can you live with the new PR?
The ramifications are beyond my complete understanding. As a result, I am planning to announce the relevant changes as breaking changes between Leo 6.8.3 and 6.8.4. My recommendation is to add the @color rest.xxx setting to myLeoSettings.leo and/or any active theme files.Viktor, does this seem like a reasonable plan to you?Yes.
How is "disabling myLeoSettings.leo" achieved, please?
Or go to the @settings node and change its headline to @@settings.
On Tuesday, April 15, 2025 at 7:33:11 PM UTC+1 viktor....@gmail.com wrote:
Hello J^n,Am Di., 15. Apr. 2025 um 19:51 Uhr schrieb jkn <jkn...@nicorp.f9.co.uk>:How is "disabling myLeoSettings.leo" achieved, please?
One way is to rename it, e.g. to 'myLeoSettings.eol' ...
...
Thanks Victor (I like the 'eol' result).
...
Hello J^n,jkn schrieb am Dienstag, 15. April 2025 um 23:01:22 UTC+2:On Tuesday, April 15, 2025 at 9:29:54 PM UTC+1 tbp1...@gmail.com wrote:Or go to the @settings node and change its headline to @@settings.right (I prefer that method, I think)I agree. - Thanks to Leo's 'restart-leo' command, TBP's method even works without 'leaving' Leo !
I like this trick. Its drawback is that Leo's log reports that Leo is using myLeoSettings.leo. That message might be confusing.
I've never used Leo's log. Where is it? Does it have to be enabled?
Hello J^n,jkn schrieb am Dienstag, 15. April 2025 um 23:01:22 UTC+2:On Tuesday, April 15, 2025 at 9:29:54 PM UTC+1 tbp1...@gmail.com wrote:Or go to the @settings node and change its headline to @@settings.right (I prefer that method, I think)I agree. - Thanks to Leo's 'restart-leo' command, TBP's method even works without 'leaving' Leo !* Disable '@settings' tree in 'myLeoSettings.leo' & restart Leo - OK? - YES.
* Enable '@settings' tree in 'myLeoSettings.leo' & restart Leo a second time - OK? - YES.
Hello J^n,jkn <jkn...@nicorp.f9.co.uk> schrieb am Do., 17. Apr. 2025, 11:05:On Wednesday, April 16, 2025 at 8:02:15 AM UTC+1 viktor....@gmail.com wrote:Hello J^n,jkn schrieb am Dienstag, 15. April 2025 um 23:01:22 UTC+2:On Tuesday, April 15, 2025 at 9:29:54 PM UTC+1 tbp1...@gmail.com wrote:Or go to the @settings node and change its headline to @@settings.right (I prefer that method, I think)I agree. - Thanks to Leo's 'restart-leo' command, TBP's method even works without 'leaving' Leo !* Disable '@settings' tree in 'myLeoSettings.leo' & restart Leo - OK? - YES.
* Enable '@settings' tree in 'myLeoSettings.leo' & restart Leo a second time - OK? - YES.Hi VictorWhere do these 'prompts' come from please? (I am not very familiar with the restart-leo command/feature)I am not sure, if I understand your question correctly.Those 'prompts' are just my notes, which I use to document my work / thoughts in Leo outlines since a long time ...I don't remember when & how I first found out about the 'restart-leo' command.Most likely Edward mentioned it here in the forum ...With kind regards,Viktor