From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: org-indent-mode corrupted most of a big org file Date: Wed, 04 Dec 2013 10:43:42 +0100 Message-ID: <87haap0x4h.fsf@gmail.com> References: <8738mb2rhq.fsf@gmail.com> <87y542147z.fsf@gmail.com> <529E1399.7040204@gmail.com> <87eh5t4ypo.fsf@alphaville.bos.redhat.com> <87li01254o.fsf@gmail.com> <87a9gh4wk1.fsf@alphaville.bos.redhat.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo905-0002qp-Le for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 04:44:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vo8zv-0003fs-KW for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 04:44:09 -0500 Received: from mail-ee0-x22b.google.com ([2a00:1450:4013:c00::22b]:61475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vo8zv-0003fm-Dm for emacs-orgmode@gnu.org; Wed, 04 Dec 2013 04:43:59 -0500 Received: by mail-ee0-f43.google.com with SMTP id c13so2184159eek.2 for ; Wed, 04 Dec 2013 01:43:58 -0800 (PST) In-Reply-To: <87a9gh4wk1.fsf@alphaville.bos.redhat.com> (Nick Dokos's message of "Tue, 03 Dec 2013 13:30:06 -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: Nick Dokos Cc: emacs-orgmode@gnu.org On 13-12-03 19:30 Nick Dokos wrote: > Alexander Baier 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