>>>>> Jim Ottaway <[EMAIL PROTECTED]> writes: >>>>> Oursoye <[EMAIL PROTECTED]> writes: >> Hi Jim, >> Thank you very much for the code :-)
>> It works except that the variable >> calendar-abbrev-length was not set >> and the line >> (setq calendar-abbrev-length 4) was to be added >> (maybe the variable could be defcustomed). > Hmm. It is defined in calendar. Obviously, it would require requiring > calendar at some stage. >> I also replaced the line >> (planner-filename-to-calendar-date (car a)) t) >> with the following: >> (planner-filename-to-calendar-date (car a)) >> calendar-abbrev-length nil) >> since the arguments of >> planner-filename-to-calendar-date were not consistent >> and the function didn't run. > Hmm, again. My version was correct for my calendar-day-name: the t > argument tells it to abbreviate the day name. > What version of Emacs do you have? And what does the documentation > for calendar-day-name say about its arguments? I have looked into this. calendar-abbrev-length is an addition in CVS Emacs. Here is another version modified in much the same way as you suggest. Can you check it works; if so, I think I will add it to planner-appt. I wonder whether it should be on or off by default?
planner-appt-new-forthcoming-format.el
Description: application/emacs-lisp
-- Jim Ottaway
_______________________________________________ emacs-wiki-discuss mailing list emacs-wiki-discuss@nongnu.org http://lists.nongnu.org/mailman/listinfo/emacs-wiki-discuss