Re: backup of abbrev_defs
On Wed, 18 Dec 2019, 11:10 Fraga, Eric, 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
Re: backup of abbrev_defs
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
backup of abbrev_defs
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 signature.asc Description: PGP signature