From mboxrd@z Thu Jan 1 00:00:00 1970 From: Skip Collins Subject: Re: Create sub-directories and files from within org Date: Mon, 21 Oct 2013 13:39:07 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYJRe-0002xp-1T for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 13:39:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYJRc-0001Vo-Qm for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 13:39:09 -0400 Received: from mail-oa0-x22b.google.com ([2607:f8b0:4003:c02::22b]:53760) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYJRc-0001Vi-I2 for emacs-orgmode@gnu.org; Mon, 21 Oct 2013 13:39:08 -0400 Received: by mail-oa0-f43.google.com with SMTP id m1so2269417oag.30 for ; Mon, 21 Oct 2013 10:39:07 -0700 (PDT) In-Reply-To: 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: John Kitchin Cc: "emacs-orgmode@gnu.org" , Chris Henderson On Sun, Oct 20, 2013 at 12:58 PM, John Kitchin wrote: > > I don't understand what you are trying to do here. you could write a lisp > function that you run in the ** project name heading that creates a directory > by that name. But what would the txt files in that directory be? I requested something like this functionality some time ago but never found an answer. I create new projects in projects.org, via capture or direct editing. Each project is a top-level heading that may sometimes contain sub-headings, todos, etc. Most often it remains a simple top-level heading containing a drawer but no body or subheadings. It takes one of the following states: PROJ, DONE, CANCELED, or DORMANT. I have several agenda views that track active projects (i.e. not done, not canceled, and not dormant), and other tag attributes (personal, professional, ...). I use a set of optional tags to track where project data is kept: :org:, :computer:, :email:, :file:, :binder:, etc. Many projects have the :computer: tag and a corresponding folder on my hard drive with various file types stored there including txt, docx, org, pdf, jpeg, etc. I would very much like a way to quickly create that folder with the unique project name that I assign in the top-level heading. It would be super nice if this automagic folder creation feature also creates a link to the folder inside my projects.org file.