From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: Attachment feature - Can I have custom directories? Date: Mon, 19 Jan 2009 16:52:11 +0530 Message-ID: References: <2df907590901101747m6df589a0v1a537a433642f924@mail.gmail.com> <83DF2B38-296E-4595-A3D7-AEFE0473D956@uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOsCu-00058y-Ay for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 06:22:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOsCs-00057A-H3 for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 06:22:15 -0500 Received: from [199.232.76.173] (port=60935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOsCs-000571-Cz for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 06:22:14 -0500 Received: from ti-out-0910.google.com ([209.85.142.187]:43897) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOsCr-0004g0-NV for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 06:22:14 -0500 Received: by ti-out-0910.google.com with SMTP id u5so1929539tia.10 for ; Mon, 19 Jan 2009 03:22:11 -0800 (PST) In-Reply-To: <83DF2B38-296E-4595-A3D7-AEFE0473D956@uva.nl> Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org On Mon, Jan 19, 2009 at 1:57 PM, Carsten Dominik wrote: > > On Jan 11, 2009, at 2:47 AM, Jason Jackson wrote: > >> There are many times where I would like to associate an org-mode item with >> a specific directory of my choosing for attachment directory. >> >> Such that, C-c C-a f would open for example ~/docs/project1 >> and C-c C-a o would open the file inside >> >> Of course, I still like the existing functionality of generating random >> directory names too. >> >> Can org-mode do this? > > > You know, I think this could be very useful, so I have > implemented it. Along with an idea I wanted to have in > myself: Using the same directory to an entire subtree, so > that a project may use a single attachment directory. > > If you get the new git version, `C-c C-a s' will allow to > select a directory of your choice. > > And `C-c C-a i' will mark an entry as a parent whose children > will inherit the attachment directory. This is great! Thank you. I attached an existing directory to a subtree. When I tried to open an attachment, it offered me all the files available in the directory. If it's supposed to offer all the files in the attachment directory then what is the significance of ATTACHMENTS? I was under impression that it will offer only the files explicitly listed/marked as attachments (may be it can offer all files when called with a prefix.) -- Manish