Hello Edward, hello Matt,

Title says it all. - I need your help.

Currently I use the command "insert-body-time" to get a timestamp into a 
given location of the body of a node.

I wanted to see if I can use abbreviations instead - and - tried to follow 
the description in

   - 
   https://leoeditor.com/tutorial-pim.html#using-abbreviations-and-templates
   
Unfortunately I can't get it to work in either Leo 6.0 or Leo 6.1b1.

I have the following settings in '~/.leo/myLeoSettings.leo':

   - @bool enable-abbreviations = True
   - @bool scripting-abbreviations = True
   - @data global-abbreviations
   - Body contains: ts;;={|{import time ; x=time.strftime("%Y%m%d%H%M%S")}|}
   
If I execute 'Settings > List/Kill Abbreviations > Abbrev-List' Leo reports:

Abbreviations...
,,=__NEXT_PLACEHOLDER
ts;;={|{import time ; x=time.strftime("%Y%m%d%H%M%S")}|}

But when I type 'ts;;' in a given body node nothing happens :-(

What am I missing?

With kind regards,

Viktor

-- 
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/d7fc2e3b-5e6a-4dc4-9ad2-7705d95016dd%40googlegroups.com.

Reply via email to