all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* backup file save not saving to backups directory.
@ 2014-09-24 10:51 Sharon Kimble
  0 siblings, 0 replies; 4+ messages in thread
From: Sharon Kimble @ 2014-09-24 10:51 UTC (permalink / raw)
  To: help-gnu-emacs

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


I am using this code in my 'init.el' -
--8<---------------cut here---------------start------------->8---
;;; from Tassilo Horn 11/08/14
(setq version-control t
      delete-old-versions t
      kept-new-versions 7
      kept-old-versions 0
      backup-directory-alist '(("." . "~/.emacs.d/backup/")))
--8<---------------cut here---------------end--------------->8---

When a file is saved, it is saved to its destination, but there is no
backup copy in "~/.emacs.d/backup/". How can I get a backup copy please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.93.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backup file save not saving to backups directory.
       [not found] <mailman.9465.1411555938.1147.help-gnu-emacs@gnu.org>
@ 2014-09-24 11:18 ` Anssi Saari
  2014-09-25 15:26   ` Sharon Kimble
  2014-09-24 17:12 ` Will Parsons
  1 sibling, 1 reply; 4+ messages in thread
From: Anssi Saari @ 2014-09-24 11:18 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> I am using this code in my 'init.el' -
> ;;; from Tassilo Horn 11/08/14
> (setq version-control t
>       delete-old-versions t
>       kept-new-versions 7
>       kept-old-versions 0
>       backup-directory-alist '(("." . "~/.emacs.d/backup/")))
>
> When a file is saved, it is saved to its destination, but there is no
> backup copy in "~/.emacs.d/backup/". How can I get a backup copy please?

Those settings seem to work fine for me, the directory was created and
backups appeared in it. Are you sure the settings are actually in
effect?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backup file save not saving to backups directory.
       [not found] <mailman.9465.1411555938.1147.help-gnu-emacs@gnu.org>
  2014-09-24 11:18 ` backup file save not saving to backups directory Anssi Saari
@ 2014-09-24 17:12 ` Will Parsons
  1 sibling, 0 replies; 4+ messages in thread
From: Will Parsons @ 2014-09-24 17:12 UTC (permalink / raw)
  To: help-gnu-emacs

Sharon Kimble wrote:
> --=-=-=
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
>
>
> I am using this code in my 'init.el' -
>=2D-8<---------------cut here---------------start------------->8---
> ;;; from Tassilo Horn 11/08/14
> (setq version-control t
>       delete-old-versions t
>       kept-new-versions 7
>       kept-old-versions 0
>       backup-directory-alist '(("." . "~/.emacs.d/backup/")))
>=2D-8<---------------cut here---------------end--------------->8---
>
> When a file is saved, it is saved to its destination, but there is no
> backup copy in "~/.emacs.d/backup/". How can I get a backup copy please?

Are the files under revision control?  I think if they are, they don't
get saved backups by default.

-- 
Will


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: backup file save not saving to backups directory.
  2014-09-24 11:18 ` backup file save not saving to backups directory Anssi Saari
@ 2014-09-25 15:26   ` Sharon Kimble
  0 siblings, 0 replies; 4+ messages in thread
From: Sharon Kimble @ 2014-09-25 15:26 UTC (permalink / raw)
  To: Anssi Saari; +Cc: help-gnu-emacs

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

Anssi Saari <as@sci.fi> writes:

> Sharon Kimble <boudiccas@skimble.plus.com> writes:
>
>> I am using this code in my 'init.el' -
>> ;;; from Tassilo Horn 11/08/14
>> (setq version-control t
>>       delete-old-versions t
>>       kept-new-versions 7
>>       kept-old-versions 0
>>       backup-directory-alist '(("." . "~/.emacs.d/backup/")))
>>
>> When a file is saved, it is saved to its destination, but there is no
>> backup copy in "~/.emacs.d/backup/". How can I get a backup copy please?
>
> Those settings seem to work fine for me, the directory was created and
> backups appeared in it. Are you sure the settings are actually in
> effect?

I've found that I need to have "auto-save-buffers-enhanced" in my setup
and then it all works well.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
TGmeds = http://www.tgmeds.org.uk
Debian testing, fluxbox 1.3.5, emacs 24.3.93.1

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-25 15:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.9465.1411555938.1147.help-gnu-emacs@gnu.org>
2014-09-24 11:18 ` backup file save not saving to backups directory Anssi Saari
2014-09-25 15:26   ` Sharon Kimble
2014-09-24 17:12 ` Will Parsons
2014-09-24 10:51 Sharon Kimble

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.