Re: FR: allow adding a deadline with warning days [was Re: deadline warning days entry]
Hi Samuel, indeed, letting org-schedule and org-deadline to accept more metadata, such as warning delays, would be good. If someone wants to try writing a patch for this, please go ahead. Best, -- Bastien
Re: FR: allow adding a deadline with warning days [was Re: deadline warning days entry]
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 wrote: > Hi Samuel, > > Samuel Wales 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
Re: FR: allow adding a deadline with warning days [was Re: deadline warning days entry]
Hi Samuel, Samuel Wales 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
FR: allow adding a deadline with warning days [was Re: deadline warning days entry]
i think the following boils down to: 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. thank you. On 7/22/20, Samuel Wales wrote: > i tend to want either zero or some number [like 4 or 8] for deadline > warning days for deadline timestamps [tses]. > > so i set the deadline warning days variable to a nonzero positive > number as a default. and then manually add -0d to individual tses > when i want -0d. > > however, manual editing feels quite error prone and it is > typing/concentration-intensive. the failure mode could include not > being warned or even not showing the deadline at all. > > > the existing command has a prefix option, but it does not solve the > problem. > > c-u c-u will ask you for a warning date, but for less chance of error, > i want an interval or number of dasys instead. this would also be > slightly more consistent with the variable, which takes an integer. a > warning date requires you to think about date arithmetic. > > another problem with c-u -cu is that it requires you to enter the ts, > then do c-u c-u. i.e. you can't enter a deadline with c-u c-u. > > if those two problems were fixed, i would have no issue. > > > i'd like to know if anybody has any code for changing the deadline > warning days of a deadline ts to an interval or ndays. [the minus > sign would not be needed.] this would be for new tses and existing > tses. in my case it would default to my alternate interval [0d]. > > this could be thought of as a feature request, but i don't know if it > is of enough interest, and i figured perhaps somebody already has some > code for this or likes the idea above also. > > thank you. > > -- > The Kafka Pandemic > > What is misopathy? > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html > -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html