emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Detlef Steuer <steuer@unibw-hamburg.de>
To: emacs-orgmode@gnu.org
Subject: Re: query about past scheduled events display in agenda
Date: Thu, 16 Mar 2017 14:45:46 +0100	[thread overview]
Message-ID: <20170316144546.0618b527@gaia> (raw)
In-Reply-To: 87ziglfmuh.fsf@nicolasgoaziou.fr

Am Thu, 16 Mar 2017 13:05:42 +0100
schrieb Nicolas Goaziou <mail@nicolasgoaziou.fr>:

> Hello,
> 
> Eric S Fraga <e.fraga@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: steuer@hsu-hh.de

  reply	other threads:[~2017-03-16 13:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-16  6:44 query about past scheduled events display in agenda Eric S Fraga
2017-03-16 12:05 ` Nicolas Goaziou
2017-03-16 13:45   ` Detlef Steuer [this message]
     [not found]   ` <8bd8d4fb8cea4cff82b125f05ba756dd@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-16 19:10     ` Eric S Fraga
2017-03-16 20:08       ` Nicolas Goaziou
2017-03-16 21:38         ` Eric Abrahamsen
2017-03-16 21:41         ` Detlef Steuer
2017-03-17  7:42           ` Nicolas Goaziou
     [not found]           ` <7012a92309344f42a06f70734e960c7d@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-17  8:26             ` Eric S Fraga
     [not found]       ` <9e394e1f1cb44a288d889925ec89710b@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2017-03-17  6:59         ` Eric S Fraga
2017-03-16 21:55 ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170316144546.0618b527@gaia \
    --to=steuer@unibw-hamburg.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).