emacs-orgmode
[Top][All Lists]
Advanced

[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: Alexander Baier
Subject: Re: [O] org-indent-mode corrupted most of a big org file
Date: Wed, 04 Dec 2013 10:43:42 +0100
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux)

On 13-12-03 19:30 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?
>
> Nick
>
Yes, you are right.  Although "/home/delexi/*" is a valid regexp, it
sure is not what I meant to express.  As you said, "/home/delexi/.*" is
the way I wanted to go.

Thanks,
-- 
 Alexander Baier



reply via email to

[Prev in Thread] Current Thread [Next in Thread]