From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marco Wahl Subject: Re: DEADLINE: position in entry Date: Wed, 09 Nov 2016 15:20:26 +0100 Message-ID: <84twbg7n11.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c4Tkx-0006YP-LV for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 09:21:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c4Tks-000690-MF for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 09:21:39 -0500 Received: from [195.159.176.226] (port=38816 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c4Tks-00068f-Ee for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 09:21:34 -0500 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1c4TkE-0000Mq-0F for emacs-orgmode@gnu.org; Wed, 09 Nov 2016 15:20:54 +0100 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" To: emacs-orgmode@gnu.org Hi! Alan Tyree writes: > Is this the way it should be? The first DEADLINE: shows up both as a > warning and on the due date in the agenda, but the second one does not. It > only works for me if the DEADLINE: is the first line after the heading. > Version 9, emacs 24 > > *** test 1 > DEADLINE: <2016-11-19 Sat> > > *** test 2 > > DEADLINE: <2016-11-19 Sat> > > > Thanks, > Alan Currently http://orgmode.org/worg/dev/org-syntax.html says: A planning is an element with the following pattern: HEADLINE PLANNING (and DEADLINE is e.g. a PLANNING) ... In particular, no blank line is allowed between PLANNING and HEADLINE. So your example 'test 2' does not have a DEADLINE according to the org-syntax document. Ciao, -- Marco