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: Nick Dokos
Subject: Re: [O] org-indent-mode corrupted most of a big org file
Date: Tue, 03 Dec 2013 12:43:31 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Johann Spies <address@hidden> writes:

> Hello Alexander,
>
> Thanks for your attention.
>>
>> that is strange.  I cannot remember doing something else besides putting
>> the mentioned code into my init file.  I can only think of these
>> "trivial" reason why this does not work for you:
>>
>> - Did you evaluate the code or restarted your emacs?
>
> Yes, I killed emacs (daemon) and restarted it.  How do you evaluate
> (reload) ~/.emacs from emacs running?
>
>> - Are the files you are editing somewhere under /home/js/?
>
> Yes: in /home/js/DropBox/orgmode  and then /home/js/.emacs
>
>> - Did you really edit and save a file since adding the code to your init
>>    file?
> Yes
>
>> - In case you are editing files under version control: Did you turn on
>>    vc-make-backup-files?
>
> None of those files are under version control.
>
> I have done this on two computers - at work (the earlier message) and home.
>

The docstring for backup-directory-alist says

,----
| For the common case of all backups going into one directory, the alist
| should contain a single element pairing "." with the appropriate
| directory name.
`----

FWIW, I tried

 (setq backup-directory-alist '(("." . "/home/nick/.emacs.d/backup-dir")))

and it seems to work. I don't remember if I had to create the backup-dir
beforehand.

Nick







reply via email to

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