Hello Edward,

Am Sonntag, 29. Dezember 2019 21:24:51 UTC+1 schrieb Viktor Ransmayr:

> Am Freitag, 27. Dezember 2019 21:54:11 UTC+1 schrieb Viktor Ransmayr:
>>
>> Am Fr., 27. Dez. 2019 um 14:55 Uhr schrieb Rob <[email protected]>:
>>
>>> Viktor, just wondering if you have tried a non-scripting abbreviation to 
>>> possibly isolate the issue? Create a new abbreviation (it can be anything) 
>>> and see if it 'triggers'. For example:
>>>
>>> myabrv=<|Viktor's Abbreviation|>
>>>
>>> If that works and the other posted example doesn't, perhaps it's an 
>>> issue with scripting. If this one doesn't work either, I don't know what 
>>> else to suggest.
>>>
>>
>> That part works :-) - I'm attaching the steps I took - as well as - the 
>> interesting logs:
>>
>> * Close the leo instance & restart using 'leo-m --trace=keys' ...
>> * Document traces after start of Leo-devel. - See "Log-001"
>> * Document traces when executing "Settings > List/Kill Abbreviations > 
>> Abbrev-List". - See "Log-002"
>> * Document traces when executing the abbreviation 'myabrv'. - See 
>> "Log-003"
>>
>> ...
>>
>> I'm still not understanding what's going on - but - at least more data 
>> (!)/ facts (?) are available for Leo's experts ...
>>
>
> Did you have any time looking into this issue?
>

Sorry for bothering you again related to this topic.

But I've now upgraded to Leo 6.2.1, am using a Linux VM with Fedora 30 
instead of a PC with Windows 10 - and - the problem still persists :-(

Here are my notes from today's session:

###

Investigate if abbreviations work in Leo 6.2 (now for me as well;-) - See 
my original message to the Leo community:

* https://groups.google.com/d/msg/leo-editor/s2gCfAhb97M/Xd_s8VY2AwAJ

Re-read the information provided in "Using abbreviations and templates". - 
See

* https://leoeditor.com/tutorial-pim.html#using-abbreviations-and-templates

No need to add to the configuration for "@bool enable-abbreviations" in 
'myLeoSettings.leo'.

* It is already set to True in 'LeoSettings.leo'.
* Set "@bool scripting-abbreviations" to True in 'myLeoSettings.leo'.
* Verify if global abbreviation "date;;" from 'LeoSettings.leo' works?
* Restart Leo ...
* date;; <- No!
* html;; <- No!

Document the output from 'Settings > List/Kill Abbreviations > Abbrev-List':

::

    Abbreviations...
    ,,=__NEXT_PLACEHOLDER
    date;;={|{x=time.asctime()}|}
    
html;;=<html>\n<head>\n<title><|title|></title>\n<style>\n</style>\n</head>\n<body>\n<|content|>\n</body>\n</html>

Document traces when starting Leo with the command line option 
"--trace=keys". - See "Log-001"

Document traces when stopping Leo. - See "Log-002"

###

Let me know, if I shall send you the mentioned Log files ...

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/60135aa0-1731-41a9-aa27-ea8390601076%40googlegroups.com.

Reply via email to