From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Feature Request: Per-file attachment directories Date: Mon, 24 Sep 2012 17:02:28 -0400 Message-ID: <4445.1348520548@alphaville.americas.hpqcorp.net> References: <87ipb3qxj0.wl%ded-law@ddoherty.net> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47114) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGFnW-0001Zr-Hp for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:02:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TGFnS-00024Q-Gb for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:02:34 -0400 Received: from g5t0008.atlanta.hp.com ([15.192.0.45]:16527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TGFnS-00024L-BB for emacs-orgmode@gnu.org; Mon, 24 Sep 2012 17:02:30 -0400 In-Reply-To: Message from Daniel E. Doherty of "Mon, 24 Sep 2012 09:57:07 CDT." <87ipb3qxj0.wl%ded-law@ddoherty.net> 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: "Daniel E. Doherty" Cc: Org-mode List Daniel E. Doherty wrote: > > Org Mode-erists: > > I like the attachment facility of Org for organizing external files > related to a project, but it seems to lack an obvious feature. > > I use a separate org file for each major project, which in my case are > law suits. I would like to have a custom attachment directory specified > at the top of the file for all attachments related to the project, have > it inherited by all headings, and be able to specify a custom directory > for a heading relative to that file-wide attachment directory. > > I have tried this: > > #+PROPERTY: :ATTACH_DIR_INHERIT: t > #+PROPERTY: :ATTACH_DIR: ~/cases/Client Name/Case Name/ > > but it does not work. When I C-c C-a f to open up the attachment > directory on a headline, it gives me an ID-based directory in the data > directory instead of the file-wide default. > Try losing the colons around the property names - the following seems to work OK (modulo the possible problem of filenames starting with . - I had to rename .emacs -> dot.emacs for it to work): ,---- | #+PROPERTY: ATTACH_DIR ./attachments | | | * bar :ATTACH: | :PROPERTIES: | :Attachments: dot.emacs | :END: | | Make an attachment. `---- Nick > Also, when I C-c C-a s to set a custom attachment directory, it defaults > to my org directory. > > Using the data directory would be fine if I only wanted to access files > through Org Mode (and perhaps I should), but I occassionaly have to open > a file from outside emacs (say, a spreadsheet from excel on a Windows > machine) and finding the file in the ID-based heirarchy is tough. > > How hard would this be to implement? With this, I can thing of my > org-mode file as a kind of annotated dired for a project. > > Regards, > -- > ==================================================== > Daniel E. Doherty > ded-law@ddoherty.net >