GNU bug report logs -
#42311
[PATCH] Wrap skeleton logic in atomic-change-group
Previous Next
Reported by: "Philip K." <philip <at> warpmail.net>
Date: Fri, 10 Jul 2020 15:44:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
"Philip K." <philip <at> warpmail.net> writes:
> I'm not sure if this is intended, but when expanding a skeleton
> (e.g. using sgml-tag), I sometimes change my mind and press C-g. I'm
> then left with a half finished HTML tag, like for example
>
> <a id="
>
> that is really never intended. The patch below ensures that all
> skeletons are either inserted correctly, or cleaned up as part of an
> atomic change group.
[...]
> - (skeleton-proxy-new ',skeleton str arg))))
> + (atomic-change-group
> + (skeleton-proxy-new ',skeleton str arg)))))
Thanks.
I'm not a heavy user of skeletons, but this looks sensible to me, so
I've applied it to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 292 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.