From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Backing up abbrev_defs?
Date: Tue, 30 Jul 2019 17:57:31 +0300 [thread overview]
Message-ID: <83zhkvin8k.fsf@gnu.org> (raw)
In-Reply-To: <87a7cvprre.fsf@skimble.plus.com> (message from Sharon Kimble on Tue, 30 Jul 2019 14:37:57 +0100)
> From: Sharon Kimble <boudiccas@skimble.plus.com>
> Date: Tue, 30 Jul 2019 14:37:57 +0100
>
> I want to backup my abbrev_defs file exactly the same as everything else is backed up, i.e. when there is a change to it, a backup is triggered to save it in ~/.emacs.d/backups. Although the position is slightly complicated as its not normally open in any buffer, so the backup would presumably have to be triggered on the source files changing.
>
> I've googled but haven't found any instances of it being backed up, so there isn't anything seemingly available for me to hack from or with. So can some kind soul help with some working code, or guidance to a non-programmer to achieve this please?
I don't understand the question. Are you saying that when you save
your abbrevs, Emacs doesn't create a backup file for abbrev_defs, as
it does for any other file you save?
next prev parent reply other threads:[~2019-07-30 14:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-30 13:37 Backing up abbrev_defs? Sharon Kimble
2019-07-30 14:57 ` Eli Zaretskii [this message]
2019-07-30 15:12 ` Sharon Kimble
2019-07-30 15:38 ` Eli Zaretskii
2019-07-30 21:07 ` Sharon Kimble
2019-08-02 9:13 ` Eli Zaretskii
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=83zhkvin8k.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).