emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to set a date relative to the original date?
@ 2008-03-11 21:26 Wanrong Lin
  2008-03-11 22:35 ` Bastien Guerry
  2008-03-13 11:33 ` Carsten Dominik
  0 siblings, 2 replies; 4+ messages in thread
From: Wanrong Lin @ 2008-03-11 21:26 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I read the tutorial on
http://members.optusnet.com.au/~charles57/GTD/org_dates/
about how to use dates. The tutorial says I can use "++3d" to indicate 
"3 days after the default date". My understanding is the default date is 
the original date in the schedule.

So, if I do a "C-c C-s" and input "++3d" on the following,

* MAYBE A test
  SCHEDULED: <2008-02-11 Mon>

I should get

* MAYBE A test
  SCHEDULED: <2008-02-13 Wed>

But I found "++3d" produces the same result as "+3d", which is 3 days 
after today.

I remember quite a while ago people had some discussion on this and 
"++3d" was invented then. Did I miss anything in my usage of this 
feature? Thanks.

Wanrong

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set a date relative to the original date?
  2008-03-11 21:26 How to set a date relative to the original date? Wanrong Lin
@ 2008-03-11 22:35 ` Bastien Guerry
  2008-03-12  2:35   ` Wanrong Lin
  2008-03-13 11:33 ` Carsten Dominik
  1 sibling, 1 reply; 4+ messages in thread
From: Bastien Guerry @ 2008-03-11 22:35 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: emacs-orgmode

Hi Wanrong,

Wanrong Lin <wanrong.lin@gmail.com> writes:

> * MAYBE A test
>  SCHEDULED: <2008-02-13 Wed>
>
> But I found "++3d" produces the same result as "+3d", which is 3 days
> after today.

AFAIK, the difference between +2d and ++2d is only relevant when
*editing* the timestamp at point -- not when rescheduling with C-c C-s. 

Maybe this should be the case.

-- 
Bastien

-- 
Bastien

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set a date relative to the original date?
  2008-03-11 22:35 ` Bastien Guerry
@ 2008-03-12  2:35   ` Wanrong Lin
  0 siblings, 0 replies; 4+ messages in thread
From: Wanrong Lin @ 2008-03-12  2:35 UTC (permalink / raw)
  To: emacs-orgmode

Bastien Guerry wrote:
> Hi Wanrong,
>
> Wanrong Lin <wanrong.lin@gmail.com> writes:
>
>   
>> * MAYBE A test
>>  SCHEDULED: <2008-02-13 Wed>
>>
>> But I found "++3d" produces the same result as "+3d", which is 3 days
>> after today.
>>     
>
> AFAIK, the difference between +2d and ++2d is only relevant when
> *editing* the timestamp at point -- not when rescheduling with C-c C-s. 
>
> Maybe this should be the case.
>
>   
I tried again, and yes only with "C-c ." on an existing timestamp will 
the "++2d" work.
I agree it would be nice if this also works on "C-c C-s" and "C-c C-d", 
without changing the behavior of pressing "RET" after the prompt, which 
will set the date to today.

Wanrong

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to set a date relative to the original date?
  2008-03-11 21:26 How to set a date relative to the original date? Wanrong Lin
  2008-03-11 22:35 ` Bastien Guerry
@ 2008-03-13 11:33 ` Carsten Dominik
  1 sibling, 0 replies; 4+ messages in thread
From: Carsten Dominik @ 2008-03-13 11:33 UTC (permalink / raw)
  To: Wanrong Lin; +Cc: emacs-orgmode

Fixed, thanks.

- Carsten

On Mar 11, 2008, at 10:26 PM, Wanrong Lin wrote:

> Hi,
>
> I read the tutorial on
> http://members.optusnet.com.au/~charles57/GTD/org_dates/
> about how to use dates. The tutorial says I can use "++3d" to  
> indicate "3 days after the default date". My understanding is the  
> default date is the original date in the schedule.
>
> So, if I do a "C-c C-s" and input "++3d" on the following,
>
> * MAYBE A test
> SCHEDULED: <2008-02-11 Mon>
>
> I should get
>
> * MAYBE A test
> SCHEDULED: <2008-02-13 Wed>
>
> But I found "++3d" produces the same result as "+3d", which is 3  
> days after today.
>
> I remember quite a while ago people had some discussion on this and  
> "++3d" was invented then. Did I miss anything in my usage of this  
> feature? Thanks.
>
> Wanrong
>
>
> _______________________________________________
> 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-03-13 11:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-11 21:26 How to set a date relative to the original date? Wanrong Lin
2008-03-11 22:35 ` Bastien Guerry
2008-03-12  2:35   ` Wanrong Lin
2008-03-13 11:33 ` Carsten Dominik

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).