Re: [O] auto-backing up your .emacs

2013-12-21 Thread Nathan DeGruchy
You should look into version control, like Git. It makes this process easy and integrates with Emacs with the Magit package. Nathan DeGruchy nat...@degruchy.org On Dec 21, 2013, at 9:23 AM, Sharon Kimble boudic...@talktalk.net wrote: Can somebody help me please, I want to put this line

Re: [O] auto-backing up your .emacs

2013-12-21 Thread Alexander Baier
You could look into the backup utilities that emacs provides out of the box. See the manual for further explanation: (info (Emacs) Backup). On 2013-12-21 15:23 Sharon Kimble wrote: Can somebody help me please, I want to put this line into my .emacs - 'cp ~/.emacs ~/.emacs.d/.emacs-$(date

Re: [O] auto-backing up your .emacs

2013-12-21 Thread Thierry Banel
Sharon Kimble boudiccas at talktalk.net writes: Can somebody help me please, I want to put this line into my .emacs - 'cp ~/.emacs ~/.emacs.d/.emacs-$(date +%Y%m%d-%R)' but it works as part of a bash script, but I don’t know elisp to get it working in my .emacs. What it does is save a dated

Re: [O] auto-backing up your .emacs

2013-12-21 Thread Sharon Kimble
On Sat, 21 Dec 2013 16:16:20 + (UTC) Thierry Banel tbanelweb...@free.fr wrote: Sharon Kimble boudiccas at talktalk.net writes: Can somebody help me please, I want to put this line into my .emacs - 'cp ~/.emacs ~/.emacs.d/.emacs-$(date +%Y%m%d-%R)' but it works as part of a bash