Subject: bug#18841: 24.4; value of python-skeleton-autoinsert ignored

From: Andreas Röhler <[email-masked]>
Date: Mon, 27 Oct 2014 18:10:41 +0100

reopen #18841

On 27.10.2014 14:21, Stefan Monnier wrote:
>> Hmm, when starting from an empty abbrev-table, bug doesn't occur.
>> Seems some stuff was kept from history.
>
> Hmm... I can't think of how that would have happened.
>
>> Maybe close this.
>
> OK, closing.  Please re-open it if/when it occurs again,
>

Seeing a couple of things around meanwhile.

Basic problem seems writing to abbrev-file once python-skeleton-autoinsert is t.
This only occurs at start, i.e. changing it for session does not activate skeleton - a bug of its own.

When python-skeleton-autoinsert  is non-nil, skeleton-trigger are written into the abbrev-table.
Which seem to survive also when python-skeleton-autoinsert is set back to nil.
Thus causing the reported.