[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-indent-mode corrupted most of a big org file
From: |
Sebastien Vauban |
Subject: |
Re: [O] org-indent-mode corrupted most of a big org file |
Date: |
Tue, 03 Dec 2013 20:29:37 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) |
Nick Dokos,
Nick Dokos wrote:
> Alexander Baier <address@hidden> writes:
>
>> I used to set up backup-directory-alist the same way you have, but
>> changed it, when I noticed emacs putting backups of files I edited as
>> root into that directory. That was something I did not want to do.
>>
>
> OK - I haven't lived with this setup long enough to know better.
>
> On another subject:
>
>> (setq backup-directory-alist
>> '(("/home/delexi/*" . "/home/delexi/.emacs.d/backup")))
>
> the docstring says that the car of each dotted pair in the alist is a
> regexp: I presume an emacs regexp, not a shell glob pattern. So the
> setting should be
>
> (setq backup-directory-alist '(("/home/delexi/.*" . "/some/dir")))
>
> - no?
Yes, I do have (for years) the following:
--8<---------------cut here---------------start------------->8---
(setq backup-directory-alist
'((".*" . "~/.emacs.d/backups/")))
--8<---------------cut here---------------end--------------->8---
Emacs will `make-directory' it, if necessary.
Best regards,
Seb
--
Sebastien Vauban
- Re: [O] org-indent-mode corrupted most of a big org file, (continued)
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/02
- Re: [O] org-indent-mode corrupted most of a big org file, Nicolas Richard, 2013/12/02
- Re: [O] org-indent-mode corrupted most of a big org file, Johann Spies, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Johann Spies, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Nick Dokos, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Nick Dokos, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file,
Sebastien Vauban <=
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/04
- Re: [O] org-indent-mode corrupted most of a big org file (solved backups), Johann Spies, 2013/12/03
- Re: [O] org-indent-mode corrupted most of a big org file, Johann Spies, 2013/12/06
- Re: [O] org-indent-mode corrupted most of a big org file, Alexander Baier, 2013/12/07
- Re: [O] org-indent-mode corrupted most of a big org file, Nicolas Goaziou, 2013/12/04
- Re: [O] org-indent-mode corrupted most of a big org file, Rainer Stengele, 2013/12/12