From: Nathan DeGruchy <nathan@degruchy.org>
To: Sharon Kimble <boudiccas@talktalk.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: auto-backing up your .emacs
Date: Sat, 21 Dec 2013 09:50:06 -0500 [thread overview]
Message-ID: <1A83F8AE-1E99-4646-B54B-15D510970864@degruchy.org> (raw)
In-Reply-To: <20131221142330.4927760a@london>
[-- Attachment #1: Type: text/plain, Size: 1195 bytes --]
You should look into version control, like Git. It makes this process easy and integrates with Emacs with the Magit package.
Nathan DeGruchy
nathan@degruchy.org
> On Dec 21, 2013, at 9:23 AM, Sharon Kimble <boudiccas@talktalk.net> wrote:
>
>
> 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 and timed copy of your .emacs in your
> ~/.emacs.d so that when you're trying things out and learning how to
> use .emacs you'll always have a backup copy. A case in point, last
> night I had org2blog working, today, after fiddling its stopped
> working, but if I'd had this operational I could just revert to a known
> and working .emacs. So, can you help please?
>
> Thanks
> Sharon.
> --
> A taste of linux = http://www.sharons.org.uk
> efever = http://www.efever.blogspot.com/
> efever = http://sharon04.livejournal.com/
> my git repo = https://bitbucket.org/boudiccas/dots
> Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2
> Registered Linux user 561944
[-- Attachment #2: Type: text/html, Size: 1942 bytes --]
next prev parent reply other threads:[~2013-12-21 14:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-21 14:23 auto-backing up your .emacs Sharon Kimble
2013-12-21 14:50 ` Nathan DeGruchy [this message]
2013-12-21 16:12 ` Alexander Baier
2013-12-21 16:16 ` Thierry Banel
2013-12-21 17:07 ` Sharon Kimble
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1A83F8AE-1E99-4646-B54B-15D510970864@degruchy.org \
--to=nathan@degruchy.org \
--cc=boudiccas@talktalk.net \
--cc=emacs-orgmode@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.