help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: diary questions


From: Kevin Rodgers
Subject: Re: diary questions
Date: Wed, 28 Dec 2005 11:39:54 -0700
User-agent: Mozilla Thunderbird 0.9 (X11/20041105)

Emabela wrote:
> > > 2a)
> > > I would like that if I insert a yearly entry (i y), then emacs
> > > would put an entry into ~/diary like
> > >
> > > full-monthname-as-in-calendar-month-name-array day. THE-IMPORTANT-EVENT-ON-THIS-DAY
> >
> > You can't, because the insert-*-diary-entry commands all explicitly
> > specify a non-nil ABBREVIATE argument when they call
> > calendar-date-string, e.g.
> >
> > (make-diary-entry (calendar-date-string (calendar-cursor-to-date t) t) arg)
>
> Perhaps in the next/cvs version?

It would be easy to (defvar diary-entry-abbreviate t) and replace the
ABBREVIATE argument with diary-entry-abbreviate.  Then users like
yourself could just (setq diary-entry-abbreviate nil).

> > > 2b)
> > > How can I change the american format MM DD YYYY used in
> > > diary-anniversary to YYYY MM DD?
> >
> > I've no idea.  diary-anniversary is unreadable, with all its free
> > references to dynamically bound variables.
>
> There must be a solution for this, because
> (european-calendar) changes this from MM DD YYYY to DD MM YYYY,
> according to the documentation.

Indeed.  Try frobbing american-date-diary-pattern.

> Thanks for your help.

You're welcome!
--
Kevin





reply via email to

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