emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* DEADLINE ignored?
@ 2017-09-04 10:08 Pdj
  2017-09-04 10:21 ` Eric S Fraga
  0 siblings, 1 reply; 7+ messages in thread
From: Pdj @ 2017-09-04 10:08 UTC (permalink / raw)
  To: emacs-orgmode

Hello, I am observing this (funky?) behavior:
in the agenda, the deadline seems to be identified only if it 
immediately follows the headline, and it is ignored otherwise.
Am I missing something?   Thank you, Paolo.


1) DEADLINE is identified and used.

** TODO Phone call
DEADLINE: <2017-09-06 Wed>
Maria's bill

-> agenda
capture:    In   2 d.:  TODO Phone call   [<2017-09-06 Wed>]


2) DEADLINE is ignored

** TODO Phone call
Maria's bill
DEADLINE: <2017-09-06 Wed>

-> agenda
nothing


3) DEADLINE is ignored

** TODO Phone call

DEADLINE: <2017-09-06 Wed>
Maria's bill

-> agenda
nothing

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-09-04 10:08 DEADLINE ignored? Pdj
@ 2017-09-04 10:21 ` Eric S Fraga
  2017-12-14 10:59   ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Eric S Fraga @ 2017-09-04 10:21 UTC (permalink / raw)
  To: Pdj; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 641 bytes --]

On Monday,  4 Sep 2017 at 12:08, Pdj wrote:
> Hello, I am observing this (funky?) behavior:
> in the agenda, the deadline seems to be identified only if it
> immediately follows the headline, and it is ignored otherwise.
> Am I missing something?   Thank you, Paolo.

You are not missing something.  As the manual says:

    A timestamp may be preceded by special keywords to facilitate
    planning.  Both the timestamp and the keyword have to be positioned
    immediately after the task they refer to.

I guess immediately means not even a blank line.

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-723-g23eba9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-09-04 10:21 ` Eric S Fraga
@ 2017-12-14 10:59   ` Rainer Stengele
  2017-12-14 13:41     ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Rainer Stengele @ 2017-12-14 10:59 UTC (permalink / raw)
  To: Pdj, emacs-orgmode

Am 04.09.2017 um 12:21 schrieb Eric S Fraga:
> On Monday,  4 Sep 2017 at 12:08, Pdj wrote:
>> Hello, I am observing this (funky?) behavior:
>> in the agenda, the deadline seems to be identified only if it
>> immediately follows the headline, and it is ignored otherwise.
>> Am I missing something?   Thank you, Paolo.
> 
> You are not missing something.  As the manual says:
> 
>      A timestamp may be preceded by special keywords to facilitate
>      planning.  Both the timestamp and the keyword have to be positioned
>      immediately after the task they refer to.
> 
> I guess immediately means not even a blank line.
> 
Hi,

it looks like

* TODO task
DEADLINE: <2017-12-14 Do>
SCHEDULED: <2017-12-14 Do>

will find the DEADLINE and SCHEDULE timestamp and display correctly in the agenda while

* TODO task
SCHEDULED: <2017-12-14 Do>
DEADLINE: <2017-12-14 Do>

will still find the SCHEDULED tinestamp but no more the DEADLINE.
I had this sequence in my org templates in the past and had no issues as far as I remember.
Has this behaviour changed?

Freshly creating a new SCHEDULED and DEADLINED timestamp results in the structure below.
Do all tasks now need to have both items in the same line like here:

* TODO task
SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do>

Thank you.
Regards, Rainer

Org mode version 9.1.4 (release_9.1.4-206-g4b80c6.dirty ..

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-12-14 10:59   ` Rainer Stengele
@ 2017-12-14 13:41     ` Nicolas Goaziou
  2017-12-14 15:28       ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-12-14 13:41 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode, Pdj

Hello,

Rainer Stengele <rainer.stengele@online.de> writes:

> it looks like
>
> * TODO task
> DEADLINE: <2017-12-14 Do>
> SCHEDULED: <2017-12-14 Do>
>
> will find the DEADLINE and SCHEDULE timestamp and display correctly in
> the agenda while

Sheer luck, I would say.

> * TODO task
> SCHEDULED: <2017-12-14 Do>
> DEADLINE: <2017-12-14 Do>
>
> will still find the SCHEDULED tinestamp but no more the DEADLINE.
> I had this sequence in my org templates in the past and had no issues as far as I remember.
> Has this behaviour changed?

I cannot remember Org supporting this syntax, actually. I don't think
anything changed.

> Freshly creating a new SCHEDULED and DEADLINED timestamp results in the structure below.
> Do all tasks now need to have both items in the same line like here:
>
> * TODO task
> SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do>

They do, but it's not new.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-12-14 13:41     ` Nicolas Goaziou
@ 2017-12-14 15:28       ` Rainer Stengele
  2017-12-14 15:39         ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: Rainer Stengele @ 2017-12-14 15:28 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Pdj, emacs-orgmode

Am 14.12.2017 um 14:41 schrieb Nicolas Goaziou:
> Hello,
> 
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> it looks like
>>
>> * TODO task
>> DEADLINE: <2017-12-14 Do>
>> SCHEDULED: <2017-12-14 Do>
>>
>> will find the DEADLINE and SCHEDULE timestamp and display correctly in
>> the agenda while
> 
> Sheer luck, I would say.
> 
>> * TODO task
>> SCHEDULED: <2017-12-14 Do>
>> DEADLINE: <2017-12-14 Do>
>>
>> will still find the SCHEDULED tinestamp but no more the DEADLINE.
>> I had this sequence in my org templates in the past and had no issues as far as I remember.
>> Has this behaviour changed?
> 
> I cannot remember Org supporting this syntax, actually. I don't think
> anything changed.
> 
>> Freshly creating a new SCHEDULED and DEADLINED timestamp results in the structure below.
>> Do all tasks now need to have both items in the same line like here:
>>
>> * TODO task
>> SCHEDULED: <2017-12-14 Do> DEADLINE: <2017-12-14 Do>
> 
> They do, but it's not new.
> 
> Regards,
> 
Thanks, Nicolas.

I am concerned hearing you say "sheer luck" because I am relying on such double entries, which seem to have worked well in the past:

* TODO [#A] Change tyres spring/autumn
DEADLINE: <2018-05-01 Di> SCHEDULED: <2018-04-21 Sa +1y>
DEADLINE: <2018-11-10 Sa> SCHEDULED: <2018-11-03 Sa +1y>

So is that working only by sheer luck?

Thank you.
Regards, Rainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-12-14 15:28       ` Rainer Stengele
@ 2017-12-14 15:39         ` Nicolas Goaziou
  2017-12-14 22:06           ` Rainer Stengele
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Goaziou @ 2017-12-14 15:39 UTC (permalink / raw)
  To: Rainer Stengele; +Cc: emacs-orgmode, Pdj

Rainer Stengele <rainer.stengele@online.de> writes:

> I am concerned hearing you say "sheer luck" because I am relying on such double entries, which seem to have worked well in the past:
>
> * TODO [#A] Change tyres spring/autumn
> DEADLINE: <2018-05-01 Di> SCHEDULED: <2018-04-21 Sa +1y>
> DEADLINE: <2018-11-10 Sa> SCHEDULED: <2018-11-03 Sa +1y>
>
> So is that working only by sheer luck?

Definitely. Planning info is a single line, right below the heading.
Most related code relies on that assumption.

Regards,

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: DEADLINE ignored?
  2017-12-14 15:39         ` Nicolas Goaziou
@ 2017-12-14 22:06           ` Rainer Stengele
  0 siblings, 0 replies; 7+ messages in thread
From: Rainer Stengele @ 2017-12-14 22:06 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: Pdj, emacs-orgmode

Am 14.12.2017 um 16:39 schrieb Nicolas Goaziou:
> Rainer Stengele <rainer.stengele@online.de> writes:
> 
>> I am concerned hearing you say "sheer luck" because I am relying on such double entries, which seem to have worked well in the past:
>>
>> * TODO [#A] Change tyres spring/autumn
>> DEADLINE: <2018-05-01 Di> SCHEDULED: <2018-04-21 Sa +1y>
>> DEADLINE: <2018-11-10 Sa> SCHEDULED: <2018-11-03 Sa +1y>
>>
>> So is that working only by sheer luck?
> 
> Definitely. Planning info is a single line, right below the heading.
> Most related code relies on that assumption.
> 
> Regards,
> 
> 
Thanks for clarifying, I will adjust and use multiple tasks.

Regards
Rainer

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-12-14 22:06 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-04 10:08 DEADLINE ignored? Pdj
2017-09-04 10:21 ` Eric S Fraga
2017-12-14 10:59   ` Rainer Stengele
2017-12-14 13:41     ` Nicolas Goaziou
2017-12-14 15:28       ` Rainer Stengele
2017-12-14 15:39         ` Nicolas Goaziou
2017-12-14 22:06           ` Rainer Stengele

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).