appreviations intermittently not working when editing headline

17 views
Skip to first unread message

jkn

unread,
Feb 5, 2026, 6:11:32 AM (3 days ago) Feb 5
to leo-editor
Hi all
    I am seeing an odd error related to abbreviations recently.

I have some simple abbreviations to just quickly insert boilerplate text. There are defined in myLeoSettings.leo

On some invocations of Leo, ie. only sometimes, these do not seem to be working properly when editing a headline (which is their use case)

Something seems to be happening, as when I type the second semicolon ';'  of the abbreviation, is seems as though a CR has been entered (editing the headline stops). However the replacement text has not been inserted.

When editing in the node Body, things seem fine.

I tried restarting Leo but the behaviour stayed the same. However, it is a bit 'it worked yesterday, but not today'.

I mention this just now in case anyone has seen anything similar. I will try to narrow down the problem further.

I am on:
    Leo 6.8.8-devel, devel branch, build bcc90881ac
    2026-01-30 04:42:02 -0600
    Python 3.12.3, PyQt version 6.9.1
    linux

    Regards, J^n

Edward K. Ream

unread,
Feb 6, 2026, 5:24:56 AM (2 days ago) Feb 6
to leo-e...@googlegroups.com
On Thu, Feb 5, 2026 at 5:11 AM jkn <jkn...@nicorp.co.uk> wrote:
Hi all
    I am seeing an odd error related to abbreviations recently.

I have some simple abbreviations to just quickly insert boilerplate text. There are defined in myLeoSettings.leo

On some invocations of Leo, ie. only sometimes, these do not seem to be working properly when editing a headline (which is their use case)

Thanks for this report. Please file an issue with as much detail as possible.

Editing headlines is inherently tricky. I'll review recent changes to the abbreviation code.

Edward

jkn

unread,
Feb 6, 2026, 5:35:59 AM (2 days ago) Feb 6
to leo-editor
Hi Edward
    sure - will do once I can be a bit more definitive. It is working fine today (on this machine...).

I tried starting up leo explicitly:

    $ python3 launchLeo.py

but didn't see any errors when misbehaviour occurred. I will see if I can learn more.

    J^n
Reply all
Reply to author
Forward
0 new messages