From: jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo)
To: emacs-orgmode@gnu.org
Subject: org-archive-save-context-info as local variable
Date: Fri, 21 Nov 2014 13:00:13 -0500 [thread overview]
Message-ID: <8761e8xwlu.fsf@yale.edu> (raw)
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.
next reply other threads:[~2014-11-21 18:02 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 18:00 Jorge A. Alfaro-Murillo [this message]
2014-11-21 20:57 ` org-archive-save-context-info as local variable Kyle Meyer
2014-11-21 20:58 ` Jorge A. Alfaro-Murillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8761e8xwlu.fsf@yale.edu \
--to=jorge.alfaro-murillo@yale.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).