From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tim Visher Subject: File Scoped Properties? Date: Thu, 5 Mar 2020 10:28:20 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000912d7205a01d32bf" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47124) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9sQv-0000hV-Gn for emacs-orgmode@gnu.org; Thu, 05 Mar 2020 10:29:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9sQu-0001yD-7L for emacs-orgmode@gnu.org; Thu, 05 Mar 2020 10:29:09 -0500 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:38501) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9sQu-0001xk-12 for emacs-orgmode@gnu.org; Thu, 05 Mar 2020 10:29:08 -0500 Received: by mail-wr1-x42f.google.com with SMTP id t11so7537898wrw.5 for ; Thu, 05 Mar 2020 07:29:07 -0800 (PST) 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: Emacs Org Mode mailing list --000000000000912d7205a01d32bf Content-Type: text/plain; charset="UTF-8" Hello, I'm trying to get org-attach to use a different data directory for a particular file. My understanding is that this is controlled by `org-attach-id-dir` by default but can be overridden at the file or entry level by use of the `DIR` property. I can successfully override it at the entry level by adding `DIR` to the entries properties but I can't figure out how to set it for all entries in the file. I tried: ``` #+DIR: ~/.foo/data ``` as the first line of the file. I _am_ able to get it to work by adding a file local variable like ``` # Local Variables: # org-attach-id-dir: "~/.foo/data" # End: ``` but then whenever I open the file it tells me it's possibly not safe to set that. Any ideas? -- In Christ, Timmy V. https://blog.twonegatives.com https://five.sentenc.es --000000000000912d7205a01d32bf Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

I'm trying to get org-attach= to use a different data directory for a particular file.

My understanding is that this is controlled by `org-attach-id-dir` = by default but can be overridden=C2=A0at the file or entry level by use of = the `DIR` property. I can successfully override it at the entry level by ad= ding `DIR` to the entries properties but I can't figure out how to set = it for all entries in the file.

I tried:

```
#+DIR: ~/.foo/data
```
as the first line of the file.

I _am_= able to get it to work by adding a file local variable like

=
```
# Local Variables:
# org-attach-id-dir: "~/.foo/d= ata"
# End:
```

but then whenever I= open the file it tells me it's possibly not safe to set that.

Any ideas?

--000000000000912d7205a01d32bf--