A belated thanks, and there are 4 more unintended backslashes in the PIM/Using abbrev... documentation page.
This still not working for me, but I am not giving up yet.
In the leoSettings.leo node @data abbreviations-subst-env, it states
> **Important**: scripting abbreviations are in effect only if the following
>
> settings are in effect::
>
>
>
> @bool enable-abbreviations = True
>
> @bool abbreviations-subst-start = True
>
>
When I include the second bool in myLeoSettings, and restart leo, i get the
following error repeated for each leo reading:
> warning: ignoring bool abbreviations-subst-start is not string
>
> there may be conflicting settings!
>
>
----
I copied that whole @data abbreviations-subst-env node into myLeoSettings.
However, if I include the @language python in the body, I get the following
errors when restarting leo:
>
Traceback (most recent call last):
> File
> "E:\Users\Ross\Docume~1\Github\leo-editor\leo\core\leoEditCommands.py",
> line 539, in init_env
exec(result,c.abbrev_subst_env,c.abbrev_subst_env)
> File "<string>", line 1
> @language python
> ^
--------
The @data abbreviations-subst-env node contains a def for 'ask''. Isn't
this necessary in order to run the example 'def' abbreviation correctly?
When I use the 'def' example (i.e, I type in def;;), I do not get an 'ask'
dialogue the way it shows in Terry's video, and the only replacement in
effect is for 'return'.
-----
I still have the feeling that there are additional unknown settings I need
in order for abbreviations to work properly.
Maybe something in '@enabled plugins' ? I have the following enabled:
leo_to_html.py
mod_scripting.py
nav_qt.py
quicksearch.py
stickynotes.py
todo.py
viewrendered.py
printing.py
bookmarks.py
free_layout.py
I am attaching myLeoSettings in case that helps.
--
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.
myLeoSettings.leo
Description: Binary data
