From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Attachment feature - Can I have custom directories? Date: Mon, 19 Jan 2009 09:27:35 +0100 Message-ID: <83DF2B38-296E-4595-A3D7-AEFE0473D956@uva.nl> References: <2df907590901101747m6df589a0v1a537a433642f924@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOpTy-0008Eo-Pk for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 03:27:42 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOpTy-0008EV-2m for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 03:27:42 -0500 Received: from [199.232.76.173] (port=34044 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOpTx-0008ES-RA for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 03:27:41 -0500 Received: from mx20.gnu.org ([199.232.41.8]:26305) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LOpTx-0005OR-7F for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 03:27:41 -0500 Received: from ug-out-1314.google.com ([66.249.92.173]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOpTw-0005Lt-BN for emacs-orgmode@gnu.org; Mon, 19 Jan 2009 03:27:40 -0500 Received: by ug-out-1314.google.com with SMTP id 36so240710uga.17 for ; Mon, 19 Jan 2009 00:27:38 -0800 (PST) In-Reply-To: <2df907590901101747m6df589a0v1a537a433642f924@mail.gmail.com> 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: Jason Jackson Cc: emacs-orgmode@gnu.org 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. Thanks for pushing this. > > ------------ > > Also I should mention C-c C-a l (for symbolic links) just copies the > file on the windows platform, can we have it create a shortcut > instead? `C-c C-a l' does not make symbolic links, it makes hard links. And there is as far as know no equivalent for this under Windows. - Carsten