emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] org-archive-save-context-info as local variable


From: Jorge A. Alfaro-Murillo
Subject: [O] org-archive-save-context-info as local variable
Date: Fri, 21 Nov 2014 13:00:13 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

Hi list,

I am planning to collaborate on a project with another org-mode user (such a joy). For each org file we want to keep an archive as well in the git repository. With this work flow it does not make sense to keep track of the file property in `org-archive-save-context-info', since it will be different depending on the location of the repository in each computer. And since I did not want force a global configuration for this variable, I tried to add the variable as local in the first line of the file:

# -*- mode: org; org-archive-save-context-info: (time olpath todo); -*- This sets the variable as local fine, but when I call `org-archive-subtree', it seems like this command still uses the global value of `org-archive-save-context-info' and keeps information on the file location in the archive.

Does someone know why setting this variable as local does not work with `org-archive-subtree'? Is there another approach for setting org-mode variables on a per file basis?

Best,

--
Jorge.




reply via email to

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