GNU bug report logs -
#55579
29.0.50; Abbrevs not saved on exit anymore
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Sun, 22 May 2022 17:13:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
Message #34 received at 55579 <at> debbugs.gnu.org (full text, mbox):
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Juri Linkov <juri <at> linkov.net>, 55579 <at> debbugs.gnu.org
> Date: Wed, 25 May 2022 14:10:31 +0200
>
> Eli Zaretskii <eliz <at> gnu.org> writes:
>
> >> BTW, I noticed that ~/.emacs.d/abbrev_defs
> >> is visited without font-locking. Here's the fix:
> >
> > Won't that make loading abbrevs slower and more expensive? that file
> > is normally not edited interactively, only if the user explicitly
> > wants to do so. So why is font-lock in it important?
>
> `read-abbrev-file' just uses `load' on the file, so the mode cookie
> doesn't do anything non-interactively.
Then let's have a comment where the cookie is written to explain
that it assumes 'load', and let's have another comment where we load
the file to explain why using another function should consider this
aspect.
This bug report was last modified 3 years and 82 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.