* Arthur Dent born in May?
@ 2009-06-30 9:27 Stefan Vollmar
2009-06-30 10:23 ` Eric S Fraga
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Vollmar @ 2009-06-30 9:27 UTC (permalink / raw)
To: Org Mode
Hello,
this might be an important glitch in org-mode's documentation:
%%(diary-anniversary 14 5 1956) Arthur Dent is %d years old
probably should read
%%(diary-anniversary 05 14 1956) Arthur Dent is %d years old
if Douglas Adams had May in mind for Mr Dent.
So according to the Emacs documentation the format is "month day year"
which feels distinctly alien to me (I am used to "day month year"). Is
there another way to have the same functionality with a different date
format?
Warm regards,
Stefan
--
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213 FAX +49-221-4726-298
Tel.: +49-221-478-5713 Mobile: 0160-93874279
Email: vollmar@nf.mpg.de http://www.nf.mpg.de
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Arthur Dent born in May?
2009-06-30 9:27 Arthur Dent born in May? Stefan Vollmar
@ 2009-06-30 10:23 ` Eric S Fraga
2009-06-30 10:48 ` Ian Barton
0 siblings, 1 reply; 4+ messages in thread
From: Eric S Fraga @ 2009-06-30 10:23 UTC (permalink / raw)
To: Stefan Vollmar; +Cc: Org Mode
At Tue, 30 Jun 2009 11:27:22 +0200,
Stefan Vollmar wrote:
>
> Hello,
>
> this might be an important glitch in org-mode's documentation:
>
> %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old
>
> probably should read
>
> %%(diary-anniversary 05 14 1956) Arthur Dent is %d years old
>
> if Douglas Adams had May in mind for Mr Dent.
>
> So according to the Emacs documentation the format is "month day year"
> which feels distinctly alien to me (I am used to "day month year"). Is
> there another way to have the same functionality with a different date
> format?
The format of dates in Emacs' Diary is controlled by diary-date-forms
which you can customise if you wish. There are pre-defined forms for
european, american and iso-date. Type
C-h v diary-date-forms
for full help.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Arthur Dent born in May?
2009-06-30 10:23 ` Eric S Fraga
@ 2009-06-30 10:48 ` Ian Barton
2009-06-30 11:04 ` Eric S Fraga
0 siblings, 1 reply; 4+ messages in thread
From: Ian Barton @ 2009-06-30 10:48 UTC (permalink / raw)
To: Org Mode
>> this might be an important glitch in org-mode's documentation:
>>
>> %%(diary-anniversary 14 5 1956) Arthur Dent is %d years old
>>
>> probably should read
>>
>> %%(diary-anniversary 05 14 1956) Arthur Dent is %d years old
>>
>> if Douglas Adams had May in mind for Mr Dent.
>>
>> So according to the Emacs documentation the format is "month day year"
>> which feels distinctly alien to me (I am used to "day month year"). Is
>> there another way to have the same functionality with a different date
>> format?
>
> The format of dates in Emacs' Diary is controlled by diary-date-forms
> which you can customise if you wish. There are pre-defined forms for
> european, american and iso-date. Type
>
> C-h v diary-date-forms
>
> for full help.
>
You can just put (european-calendar) in your .emacs to get dates in the
"proper" format (customize will do the same thing).
Ian.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Arthur Dent born in May?
2009-06-30 10:48 ` Ian Barton
@ 2009-06-30 11:04 ` Eric S Fraga
0 siblings, 0 replies; 4+ messages in thread
From: Eric S Fraga @ 2009-06-30 11:04 UTC (permalink / raw)
To: lists; +Cc: Org Mode
At Tue, 30 Jun 2009 11:48:04 +0100,
Ian Barton wrote:
> [...]
> You can just put (european-calendar) in your .emacs to get dates in
> the "proper" format (customize will do the same thing).
True but note (from the description of that command):
,----
| This function is obsolete since 23.1; use `calendar-set-date-style' instead.
`----
so maybe the calendar function noted in this message is the best route
for future-proofing?
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-30 11:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-30 9:27 Arthur Dent born in May? Stefan Vollmar
2009-06-30 10:23 ` Eric S Fraga
2009-06-30 10:48 ` Ian Barton
2009-06-30 11:04 ` 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).