On Monday, March 30, 2015 at 11:21:57 PM UTC-5, Ross Burnett wrote:
I think I've fixed all the problems you report. All fixes live on the web.
Added the following:
QQQ
To use abbreviations, you must enable them in myLeoSettings.leo:
@bool enable-abbreviations = True
QQQ
In the 'Leo as PIM' documentation, section 'Using abbreviation', 2nd
> paragraph: "but leoSettings.leo contains example abbreviations in the node
> @@data abbreviations examples" - I don't see any examples in @data
> abbreviations.
>
This would be impossible for a newbie to figure out. New words::
QQQ
You define abbreviations in @data abbreviations nodes or @data
global-abbreviations nodes. None come predefined, but
leo/config/examplesSettings.leo contains example abbreviations in the node
@data abbreviations examples
QQQ
I entered the 'time' example from abbrev-subst-env. As tested, the result
> is the value unchanged "{|{import time;x=time.asctime()}|}" instead of
> executing and typing the time stamp.
>
Added the following::
QQQ
To use abbreviations scripts, enable them in myLeoSettings.leo as follows:
@bool scripting-abbreviations = True
QQQ
I entered the def example from the PIM doc. As tested, it does not do the
> 'ask' - no popup. I had the outline set up exactly as show in Terry's
> video.
> The double comma seems to do nothing rather than take me to the next
> replacement.
>
> I have all the bool values set as instructed, but I am wondering if there
> are other settings needed for the full functionality.
> The simple w;;=while example works fine, except for the double-comma.
>
Not sure what is happening. Certainly ,, works for me. Perhaps this will
suffice::
@bool scripting-abbreviations = True
A nit: a double backslash in the PIM/Using abbrev, 4th paragraph:
> "Abbreviations can span multiple lines. Continued lines start with \\:,
> like this".
>
Good catch. Continued lines start with \:.
Keep up the good work!
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 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.