* Sched. Nx is wrong
@ 2008-06-06 17:35 Cezar Halmagean
2008-06-06 17:58 ` Thomas Baumann
0 siblings, 1 reply; 4+ messages in thread
From: Cezar Halmagean @ 2008-06-06 17:35 UTC (permalink / raw)
To: emacs-orgmode
I have a TODO entry that's scheduled for:
SCHEDULED: <2008-06-05 Thu>
and today in the agenda buffer I see :
project: Sched. 2x TODO my_task
Cezar
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Sched. Nx is wrong
2008-06-06 17:35 Sched. Nx is wrong Cezar Halmagean
@ 2008-06-06 17:58 ` Thomas Baumann
2008-06-06 18:18 ` Cezar Halmagean
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Baumann @ 2008-06-06 17:58 UTC (permalink / raw)
To: emacs-orgmode
Cezar Halmagean <cezar@mixandgo.ro> writes:
> I have a TODO entry that's scheduled for:
>
> SCHEDULED: <2008-06-05 Thu>
>
> and today in the agenda buffer I see :
>
> project: Sched. 2x TODO my_task
Nothing wrong with that, the entry was scheduled yesterday (1x) and today
(2x) :-)
But if you want to know, how many days you're late (which seems to be in
line with the docs) the following patch will help
"Text preceeding scheduled items in the agenda view.
This is a list with two strings. The first applies when the item is
scheduled on the current day. The second applies when it has been scheduled
previously, it may contain a %d to capture how many days ago the item was
scheduled."
Thomas
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index d248c87..ff88bd0 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -3465,7 +3465,7 @@ FRACTION is what fraction of the head-warning time has passed."
(if (= diff 0)
(car org-agenda-scheduled-leaders)
(format (nth 1 org-agenda-scheduled-leaders)
- (- 1 diff)))
+ (- 0 diff)))
head category tags timestr))))
(setq txt org-agenda-no-heading-message))
(when txt
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Sched. Nx is wrong
2008-06-06 17:58 ` Thomas Baumann
@ 2008-06-06 18:18 ` Cezar Halmagean
2008-06-08 11:01 ` Dominik, C.
0 siblings, 1 reply; 4+ messages in thread
From: Cezar Halmagean @ 2008-06-06 18:18 UTC (permalink / raw)
To: emacs-orgmode
Thomas Baumann <dtbaumann@yahoo.de> writes:
>
> But if you want to know, how many days you're late (which seems to be in
> line with the docs) the following patch will help
>
Carsten, can you add that if it makes sense to have it in org-mode ?
Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Re: Sched. Nx is wrong
2008-06-06 18:18 ` Cezar Halmagean
@ 2008-06-08 11:01 ` Dominik, C.
0 siblings, 0 replies; 4+ messages in thread
From: Dominik, C. @ 2008-06-08 11:01 UTC (permalink / raw)
To: Cezar Halmagean, emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 937 bytes --]
Hi Cezar, I think the current behavior is fine - the docs are inaccurate.
As Thomas said, the number indicates how many time this item has been scheduled.
I am modifying the docstring of the relevant variable.
- Carsten
-----Original Message-----
From: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org on behalf of Cezar Halmagean
Sent: Fri 6/6/2008 8:18 PM
To: emacs-orgmode@gnu.org
Subject: [Orgmode] Re: Sched. Nx is wrong
Thomas Baumann <dtbaumann@yahoo.de> writes:
>
> But if you want to know, how many days you're late (which seems to be in
> line with the docs) the following patch will help
>
Carsten, can you add that if it makes sense to have it in org-mode ?
Thanks.
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[-- Attachment #1.2: Type: text/html, Size: 1544 bytes --]
[-- Attachment #2: Type: text/plain, Size: 204 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-06-08 11:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-06 17:35 Sched. Nx is wrong Cezar Halmagean
2008-06-06 17:58 ` Thomas Baumann
2008-06-06 18:18 ` Cezar Halmagean
2008-06-08 11:01 ` Dominik, C.
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).