From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Chaganti Subject: Re: Solved the problem of org-capture apparently not working Date: Sat, 5 Feb 2011 09:57:24 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56895 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlZkR-0001BX-Rc for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 23:27:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlZkQ-0003ZE-QD for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 23:27:47 -0500 Received: from mail-ww0-f49.google.com ([74.125.82.49]:47712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlZkQ-0003Yp-Lz for emacs-orgmode@gnu.org; Fri, 04 Feb 2011 23:27:46 -0500 Received: by wwb17 with SMTP id 17so3026728wwb.30 for ; Fri, 04 Feb 2011 20:27:45 -0800 (PST) In-Reply-To: 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: Charles Cave Cc: emacs-orgmode@gnu.org Hi, On Sat, Feb 5, 2011 at 6:02 AM, Charles Cave wrote= : [..] > My suggestion to eliminate the problem is to modify the org-capture algor= ithm > so years have to match beginning of line + one asterisk + one space + the= year > > Similarly, months could match beginning of line + two asterisks + one spa= ce + > the year + hyphen + month number + space + Monthname. =C2=A0 =C2=A0But th= e chance of this > format heading appearing outside a date-tree would be very low. org-datetree currently checks if a buffer has an entry with a DATE_TREE property (any value), and if it finds one, the date tree will become a subtree under that entry. This change would break that feature. -- Puneeth