Am Thu, 16 Mar 2017 13:05:42 +0100 schrieb Nicolas Goaziou <m...@nicolasgoaziou.fr>:
> Hello, > > Eric S Fraga <e.fr...@ucl.ac.uk> writes: > > > Something has been bothering me (in an æsthetic way) for some > > time. When an event scheduled for the day before is displayed in > > the default agenda view, it displays the days overdue as "2" which > > seems wrong to me. I wonder if somebody can give me the > > justification for this? > > > > The code in question, with my own change to fix this to display "1" > > day overdue in such cases, is: > > > > @@ -6214,7 +6214,7 @@ scheduled items with an hour specification > > like [h]h:mm." (pcase-let ((`(,first ,past) > > org-agenda-scheduled-leaders)) ;; Show a reminder of a past > > scheduled today. (if (and todayp pastschedp) > > - (format past (1+ diff)) > > + (format past diff) > > first)) > > head level category tags time nil habitp)) > > (face (cond ((and (not habitp) pastschedp) > > I cannot reproduce it on maint nor on master. Wasn't that fixed some > time ago? I have a +2 for "something" scheduled for yesterday. Org git from the morning. Org mode version 9.0.5 (release_9.0.5-370-g9f3a02 --snippet from *Org Agenda* WMA: Sched. 2x: TODO something -- --snippet from my org-file **** TODO something SCHEDULED: <2017-03-15 Mi> -- Just as a data point. And a +1 to change this to 1x :-) Detlef > > Regards, > -- "Wisely and slow. Those stumble that run fast." Shakespeare -- Romeo and Juliet Dr. Detlef Steuer Helmut-Schmidt-Universität Fakultät WiSo Holstenhofweg 85 22043 Hamburg Tel: 040/6541-2819 mail: ste...@hsu-hh.de