* backup of abbrev_defs
@ 2019-12-18 11:02 Sharon Kimble
2019-12-18 11:09 ` Fraga, Eric
0 siblings, 1 reply; 3+ messages in thread
From: Sharon Kimble @ 2019-12-18 11:02 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
This is slightly off topic but I really need some help.
How can I reliably backup my abbrev_defs file along with my usual
backups of my org files, every time that it is saved with a new addition
please?
I've tried using a symlink to the file held in another directory, but
when I restarted emacs the symlink wasn't followed and it created a new
abbrev_def file from somewhere, I don't know where. The new file was
only 5.7kbs, whereas the correct one is 10.4kbs! I had to copy over all
my savings to the new file so that it was able to be read and used.
Hopefully, thanks
Sharon.
--
A taste of linux = http://www.sharons.org.uk
DrugFacts = https://www.drugfacts.org.uk
Debian 10.1, fluxbox 1.3.7, emacs 26.3, org 9.3
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: backup of abbrev_defs
2019-12-18 11:02 backup of abbrev_defs Sharon Kimble
@ 2019-12-18 11:09 ` Fraga, Eric
2019-12-18 12:41 ` Neil Jerram
0 siblings, 1 reply; 3+ messages in thread
From: Fraga, Eric @ 2019-12-18 11:09 UTC (permalink / raw)
To: Sharon Kimble; +Cc: emacs-orgmode@gnu.org
On Wednesday, 18 Dec 2019 at 11:02, Sharon Kimble wrote:
> I've tried using a symlink to the file held in another directory, but
> when I restarted emacs the symlink wasn't followed and it created a new
> abbrev_def file from somewhere, I don't know where.
This is strange. I have my .abbrev_defs symlinked to elsewhere and it
works just fine. I've been doing this for years, probably from emacs
v22 onwards (but that's just a guess).
To answer your original question, I use version control (e.g. src or
git) to manage that file along with other dotfiles.
--
Eric S Fraga via Emacs 27.0.50, Org release_9.3-34-g2eee3c
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: backup of abbrev_defs
2019-12-18 11:09 ` Fraga, Eric
@ 2019-12-18 12:41 ` Neil Jerram
0 siblings, 0 replies; 3+ messages in thread
From: Neil Jerram @ 2019-12-18 12:41 UTC (permalink / raw)
To: Fraga, Eric; +Cc: Org Mode List, Sharon Kimble
[-- Attachment #1: Type: text/plain, Size: 790 bytes --]
On Wed, 18 Dec 2019, 11:10 Fraga, Eric, <e.fraga@ucl.ac.uk> wrote:
> On Wednesday, 18 Dec 2019 at 11:02, Sharon Kimble wrote:
> > I've tried using a symlink to the file held in another directory, but
> > when I restarted emacs the symlink wasn't followed and it created a new
> > abbrev_def file from somewhere, I don't know where.
>
> This is strange. I have my .abbrev_defs symlinked to elsewhere and it
> works just fine. I've been doing this for years, probably from emacs
> v22 onwards (but that's just a guess).
>
> To answer your original question, I use version control (e.g. src or
> git) to manage that file along with other dotfiles.
>
Likewise; I symlink from ~/.emacs to the real .emacs in my git-managed
repo, and that has been working well for me.
Best wishes,
Neil
[-- Attachment #2: Type: text/html, Size: 1270 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-12-18 12:41 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-18 11:02 backup of abbrev_defs Sharon Kimble
2019-12-18 11:09 ` Fraga, Eric
2019-12-18 12:41 ` Neil Jerram
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.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).