From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: auto-backing up your .emacs Date: Sat, 21 Dec 2013 14:23:30 +0000 Message-ID: <20131221142330.4927760a@london> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/tupd5BfwL6fIf_uf3guGiB8"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuNT2-0001KX-Cm for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 09:23:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuNSx-0001fq-L3 for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 09:23:48 -0500 Received: from out1.ip03ir2.opaltelecom.net ([62.24.128.239]:28524) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuNSx-0001fV-F2 for emacs-orgmode@gnu.org; Sat, 21 Dec 2013 09:23:43 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "emacs-orgmode@gnu.org" --Sig_/tupd5BfwL6fIf_uf3guGiB8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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=E2=80=99t know elisp to get it working in my .e= macs. 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. --=20 =EF=BB=BFA taste of linux =3D http://www.sharons.org.uk efever =3D http://www.efever.blogspot.com/ efever =3D http://sharon04.livejournal.com/ my git repo =3D https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.3.2 Registered Linux user 561944 --Sig_/tupd5BfwL6fIf_uf3guGiB8 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQIcBAEBAgAGBQJStaRsAAoJEDaBgBkK+INb7rgQAJnK/geTeeBrJ8cyRqEFoZnp g/BRH09ZSXNiFVoM3jGHZv7YbjLzblYss85L6BNJrx3nlNHO1ilq+wINA0WUprTd 2JirlZsBoKj7AV0mLJiHuK72lNZd9iPizGkR3Nrjd21t69jhO9WqRA+dtCIE00gM WOIEXMO0pZHxuwwSA4iofAc7P6OuuDJPaFJ+xNtFRBezJ/dGCcOZdLNO20S7ib+2 j/BDv5ThKFJi+2hLmAr5P84Prcruyk2exSXP9VX8UnmAwTejHvajgixxAOexR+MS KG6kTyMhkIRERpUbx4rwZH9MNftQO5qytz0PZF6fyVdRucqYIQ4M8zIueWEL7RS4 lM7CTcxo8fkVCghznJfIf5hFJqdExDYs0JcDhedmkOvNKTbsujCpr0VN2s9lv4eb P4IcgNssSIeuq0UA7PhwEgWnmc5nqK2Z/h3eRuxqrsmP5s13WVRFHty3ajjBbwsw vyJ+euiErZ0UXxHjzDGyxciJY2z52MvfbkDqPx806aI7wvpk79jZU+ogtFKMlaqg XkDnlmkPb3X5J3kI7lhXa25cWvEV5C4oR/8pcCDt8/1WM/0AVVAiuTAZtVNx4gK6 /j5ArRp+viQGECGVMpKpGvVXL2/zzDzwy0pbgSr7NXOxphGTKMz7e5d3Q4DIZt+L BbISmcT4ku1vA+rup4vh =5YCg -----END PGP SIGNATURE----- --Sig_/tupd5BfwL6fIf_uf3guGiB8--