>>>>> Edgar Gonçalves <[EMAIL PROTECTED]> 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 _______________________________________________ emacs-wiki-discuss mailing list emacs-wiki-discuss@nongnu.org http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss