emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Re: weekly-view, cyclic tasks and planner-appts


From: Jim Ottaway
Subject: [emacs-wiki-discuss] Re: weekly-view, cyclic tasks and planner-appts
Date: Sat, 11 Mar 2006 10:31:12 +0000
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>>>>> Edgar Gonçalves <address@hidden> writes:
 
> (planner-appt-forthcoming-get-appts 0 t)) (let ((date (car appt)) ;;
> YYYY.MM.DD (text (cadr appt))) ;; @START-TIME | END-TIME | TEXT -
> format is'nt important (string-match
> "\\([0-9][0-9][0-9][0-9]\\).\\([0-9][0-9]\\).\\([0-9][0-9]\\)" date)
> (let ((year (string-to-number (match-string 1 date))) (month
> (string-to-number (match-string 2 date))) (day (string-to-number
> (match-string 3 date)))) (add-to-diary-list (list month day year) text
> ""))))) (add-hook 'list-diary-entries-hook
> planner-include-appt-entries)

> After looking interesting for the current week (it actually worked), I
> realized this wasn't going to work for future weeks:
> planner-appt-forthcoming-get-appts' retrieves appts for n days after
> the present day or the day after.

> Well, all I made (except to the trivial change to cal-desk-calendar.el
> ) didn't mess with other people's code. But changing planner-appt the
> way I need it to be is going to alter some functions (specifically
> those related to forthcoming appointments). So I'd like to ask if
> someone is planning to do this, or has thought about this before (or
> if there is some other way to get a weekly view - not list-based, but
> calendar-based). If you don't think it's necessary, I can make such
> changes on my local configuration, snarfing
> planner-appt-forthcoming-get-appts' code.

I think that if you want to do this, then others probably want to too,
so it would be good to include your changes to
planner-appt-forthcoming-get-appts.

I imagine that you have changed it so that the start date can be
specified as well as the number of days?

Regards,

-- 
Jim Ottaway





reply via email to

[Prev in Thread] Current Thread [Next in Thread]