hi bastien, the current behavior in maint is if you have an entry with no planning line. if you try to add a deadline with zero days of warning, it will tell you you can't do that. it will not add the deadline. and therefore will not add warning days.
you have to add the deadline and then modify it to have your warning days. two command invocations. the best i have discoverd is to add a deadline then go back and change warning days with c-u c-u c-d ret. this will add zero days. it is a lot of keystrokes. what would be good is c-u c-u c-d to add a deadline with warning days at the same time. this is better than being told you can't do that. if the warning days for this defaulted to the global variable for default warning days, that would be useless. you would be specifying the same as the global variable default that the agenda uses when nothing is specified. so the enterable warning days should either be specifiable in the global variable as a cons like (enterable-when-double-prefix . auto-the-agenda-uses), or merely default to zero. which would give the command c-u c-u c-d something to do instead of telling you it cannnot do anything. On 9/4/20, Bastien <b...@gnu.org> wrote: > Hi Samuel, > > Samuel Wales <samolog...@gmail.com> writes: > >> i think it would be less error prone if we allowed c-u c-u to work >> when adding a deadline to an entry. in maint it errors. > > Can you restate the detailed desired behavior vs. current behavior, > and what problem does it solve? > > Thanks, > > -- > Bastien > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html