From: Lars Ingebrigtsen <larsi@gnus.org>
To: Juri Linkov <juri@linkov.net>
Cc: 55579@debbugs.gnu.org
Subject: bug#55579: 29.0.50; Abbrevs not saved on exit anymore
Date: Mon, 23 May 2022 09:46:48 +0200 [thread overview]
Message-ID: <87pmk4r8rb.fsf@gnus.org> (raw)
In-Reply-To: <865ylxwqks.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 22 May 2022 20:10:43 +0300")
Juri Linkov <juri@linkov.net> writes:
> After a recent change, 'C-x C-c' doesn't ask anymore to save abbrevs with:
>
> Save abbrevs in ~/.emacs.d/abbrev_defs?
>
> It looks like the regression was caused by ce220524fcf.
> Before this change, save-buffers-kill-emacs unconditionally
> called save-some-buffers that also saves the abbrev table.
> But after the change, save-some-buffers that saves abbrevs
> is called only when files--buffers-needing-to-be-saved
> detects unsaved buffers.
Wow -- I had no idea that save-some-buffers also randomly saved abbrevs.
I've now separated that this out into a general mechanism that abbrev.el
now hooks into, while also fixing this `C-x C-c' bug.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-05-23 7:46 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-22 17:10 bug#55579: 29.0.50; Abbrevs not saved on exit anymore Juri Linkov
2022-05-23 7:46 ` Lars Ingebrigtsen [this message]
2022-05-24 18:42 ` Juri Linkov
2022-05-24 19:17 ` Lars Ingebrigtsen
2022-05-24 19:27 ` Eli Zaretskii
2022-05-25 5:51 ` Andreas Röhler
2022-05-25 6:37 ` Juri Linkov
2022-05-25 13:21 ` Eli Zaretskii
2022-05-25 17:34 ` Juri Linkov
2022-05-25 12:10 ` Lars Ingebrigtsen
2022-05-25 13:54 ` Eli Zaretskii
2022-05-27 10:21 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmk4r8rb.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=55579@debbugs.gnu.org \
--cc=juri@linkov.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).