emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Timestamp question
@ 2009-06-26 15:10 Louis A. Turk
  2009-06-27  1:12 ` Bernt Hansen
  2009-06-27 10:54 ` Eric S Fraga
  0 siblings, 2 replies; 7+ messages in thread
From: Louis A. Turk @ 2009-06-26 15:10 UTC (permalink / raw)
  To: Emacs-orgmode

Hi,

I've been using org-mode for several weeks now, and like it very much.
Many thanks to the developers!

The following doesn't work, but will give you an idea of what I'm trying
to do.

Meeting <%%(diary-float t 2 1) 13:00>--<%%(diary-float t 2 1) 15:00 +1m
+3d>

1. I need a repeating time/date range for the first Tuesday of each
month, with a 3 day warning period before the meeting.

2. I would also like a reminder window to pop up 15 minutes before the
meeting starts.

3. My ultimate goal is to have a report tell me how many hours are left
in a work week after all the hours consumed by meetings and other
non-project activities are subtracted.  

Are these things possible? If yes, how?

Lou

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

* Re: Timestamp question
  2009-06-26 15:10 Timestamp question Louis A. Turk
@ 2009-06-27  1:12 ` Bernt Hansen
  2009-06-27  1:20   ` Bernt Hansen
  2009-06-27 10:54 ` Eric S Fraga
  1 sibling, 1 reply; 7+ messages in thread
From: Bernt Hansen @ 2009-06-27  1:12 UTC (permalink / raw)
  To: lou; +Cc: Emacs-orgmode

"Louis A. Turk" <lou@dayspringpublisher.com> writes:

> I've been using org-mode for several weeks now, and like it very much.
> Many thanks to the developers!
>
> The following doesn't work, but will give you an idea of what I'm trying
> to do.
>
> Meeting <%%(diary-float t 2 1) 13:00>--<%%(diary-float t 2 1) 15:00 +1m
> +3d>
>
> 1. I need a repeating time/date range for the first Tuesday of each
> month, with a 3 day warning period before the meeting.
>
> 2. I would also like a reminder window to pop up 15 minutes before the
> meeting starts.
>
> 3. My ultimate goal is to have a report tell me how many hours are left
> in a work week after all the hours consumed by meetings and other
> non-project activities are subtracted.  
>
> Are these things possible? If yes, how?

This works:

* TODO Meeting
  DEADLINE: <%%(diary-float t 5 4) 21:30>--<%%(diary-float t 2 1) 22:00 +1m -3d>

You'll need to set up appt for your 15 minute reminder.  I get mine 12
minutes before as set up by appt-message-warning-time.  appt only beeps
the terminal bell but there are other reminder setups available -- but I
haven't tried any of them.  Appt works for me.

HTH,

Bernt

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

* Re: Timestamp question
  2009-06-27  1:12 ` Bernt Hansen
@ 2009-06-27  1:20   ` Bernt Hansen
  2009-06-27 11:18     ` Dirk-Jan C. Binnema
  2009-06-27 11:21     ` Dirk-Jan C. Binnema
  0 siblings, 2 replies; 7+ messages in thread
From: Bernt Hansen @ 2009-06-27  1:20 UTC (permalink / raw)
  To: lou; +Cc: Emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> "Louis A. Turk" <lou@dayspringpublisher.com> writes:
>
>> I've been using org-mode for several weeks now, and like it very much.
>> Many thanks to the developers!
>>
>> The following doesn't work, but will give you an idea of what I'm trying
>> to do.
>>
>> Meeting <%%(diary-float t 2 1) 13:00>--<%%(diary-float t 2 1) 15:00 +1m
>> +3d>
>>
> * TODO Meeting
>   DEADLINE: <%%(diary-float t 5 4) 21:30>--<%%(diary-float t 2 1) 22:00 +1m -3d>

Sorry that should be

* TODO Meeting
  DEADLINE: <%%(diary-float t 2 1) 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d>

I was just messing with the times to see if I get a reminder now or not
if the meeting is pending.

You need to use -3d not +3d to state you want a warning 3 days _before_
the due date in the agenda.  But it looks like the early warning days
feature only works for standard deadline dates

e.g.

* TODO Meeting
  DEADLINE: <2009-06-27 Sat -3d>

so I don't think your 3 day warning will work with the diary-float entry.

-Bernt

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

* Re: Timestamp question
  2009-06-26 15:10 Timestamp question Louis A. Turk
  2009-06-27  1:12 ` Bernt Hansen
@ 2009-06-27 10:54 ` Eric S Fraga
  1 sibling, 0 replies; 7+ messages in thread
From: Eric S Fraga @ 2009-06-27 10:54 UTC (permalink / raw)
  To: lou; +Cc: Emacs-orgmode

At Fri, 26 Jun 2009 23:10:52 +0800, Louis A. Turk wrote:
> 
> 2. I would also like a reminder window to pop up 15 minutes before the
> meeting starts.

Bernt has answered your first question.  For this one, have a look at these links:

;; and from RichardRiley's entry: http://www.emacswiki.org/emacs/OrgMode-OSD
;; and from Nick Dokos: http://article.gmane.org/gmane.emacs.orgmode/5271

(from my comments in my .emacs which sets up org-mode for window
popups) which interface org-mode, Emacs's own appointment mechanism
and on-screen display features in Linux.

HTH.

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

* Re: Re: Timestamp question
  2009-06-27  1:20   ` Bernt Hansen
@ 2009-06-27 11:18     ` Dirk-Jan C. Binnema
  2009-06-27 12:34       ` Bernt Hansen
  2009-06-27 11:21     ` Dirk-Jan C. Binnema
  1 sibling, 1 reply; 7+ messages in thread
From: Dirk-Jan C. Binnema @ 2009-06-27 11:18 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: Emacs-orgmode

(HANACHIRUSATO)
Organization: DJCBSoftware

>>>>> "BH" == Bernt Hansen <bernt@norang.ca> writes:

    BH> Sorry that should be

    BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1)
    BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d>

However, it seems it does not recur; ie., org does not see it as a recurring
item, so once you mark it as 'DONE', it marks it as CLOSED and the item does
not show up in your agenda anymore -- including future occurences.

diary-sexps and recurring items don't mix, it seems.

Best wishes,
Dirk.

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

* Re: Re: Timestamp question
  2009-06-27  1:20   ` Bernt Hansen
  2009-06-27 11:18     ` Dirk-Jan C. Binnema
@ 2009-06-27 11:21     ` Dirk-Jan C. Binnema
  1 sibling, 0 replies; 7+ messages in thread
From: Dirk-Jan C. Binnema @ 2009-06-27 11:21 UTC (permalink / raw)
  To: Emacs-orgmode

(HANACHIRUSATO)
Organization: DJCBSoftware

>>>>> "BH" == Bernt Hansen <bernt@norang.ca> writes:

    BH> Sorry that should be

    BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1)
    BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d>

However, it seems it does not recur; ie., org does not see it as a recurring
item, so once you mark it as 'DONE', it marks it as CLOSED and the item does
not show up in your agenda anymore -- including future occurences.

diary-sexps and recurring items don't mix, it seems. Or?

Best wishes,
Dirk.

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

* Re: Re: Timestamp question
  2009-06-27 11:18     ` Dirk-Jan C. Binnema
@ 2009-06-27 12:34       ` Bernt Hansen
  0 siblings, 0 replies; 7+ messages in thread
From: Bernt Hansen @ 2009-06-27 12:34 UTC (permalink / raw)
  To: Dirk-Jan C. Binnema; +Cc: Emacs-orgmode

"Dirk-Jan C. Binnema" <djcb@djcbsoftware.nl> writes:

> (HANACHIRUSATO)
> Organization: DJCBSoftware
>
>>>>>> "BH" == Bernt Hansen <bernt@norang.ca> writes:
>
>     BH> Sorry that should be
>
>     BH> * TODO Meeting DEADLINE: <%%(diary-float t 2 1)
>     BH> 13:00>--<%%(diary-float t 2 1) 15:00 +1m -3d>
>
> However, it seems it does not recur; ie., org does not see it as a recurring
> item, so once you mark it as 'DONE', it marks it as CLOSED and the item does
> not show up in your agenda anymore -- including future occurences.
>
> diary-sexps and recurring items don't mix, it seems.

Ah sorry I didn't try to close it.  I just noticed that it did show up
on the agenda for multiple months in the future.

-Bernt

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

end of thread, other threads:[~2009-06-27 12:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-26 15:10 Timestamp question Louis A. Turk
2009-06-27  1:12 ` Bernt Hansen
2009-06-27  1:20   ` Bernt Hansen
2009-06-27 11:18     ` Dirk-Jan C. Binnema
2009-06-27 12:34       ` Bernt Hansen
2009-06-27 11:21     ` Dirk-Jan C. Binnema
2009-06-27 10:54 ` Eric S Fraga

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