emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@talktalk.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: auto-backing up your .emacs
Date: Sat, 21 Dec 2013 14:23:30 +0000	[thread overview]
Message-ID: <20131221142330.4927760a@london> (raw)

[-- Attachment #1: Type: text/plain, Size: 904 bytes --]


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: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

             reply	other threads:[~2013-12-21 14:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-21 14:23 Sharon Kimble [this message]
2013-12-21 14:50 ` auto-backing up your .emacs Nathan DeGruchy
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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131221142330.4927760a@london \
    --to=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 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).