Hi !
I think I should cancel my first article, something must gone wrong
during the configuration of my calendar. This means, somehow it will
now correctly find diary entries like
12 Jun 1998
even when I have
(setq calendar-date-display-form
'((if dayname (concat dayname ", ")) day " " monthname
" " year))
Sorry for the waste of disk and time space.
I just also noted that diary entries of the form
Friday, 12 Jun 1998
are interpreted as diary entries for the current date as well as
weekly re-occuring events due to the occurence of `Friday'. This was
not what I expected hence the problems. I wanted the above entry to
just refer to one day exactly. So, please, just forget the workaround
I posted in the last mail since it will screw up your diary file.
However, I still believe that making calendar aware of language
specific settings would be a great idea, i.e. supplying calendar with
something like calendar-german-day-name-array etc. and setting
calendar-day-name-array to 'calendar-english-day-name-array per
default seems for me the best way to go. (So, the goal is
internationalization).
Holger
Just for the record, this is what I meant:
>>>"JM" == Jeff Miller schrieb am Thu, 11 Jun 1998
01:12:50 -0400 (EDT):
JM> whenever i try to go to european-diary-mode, i d inserts a day
JM> for me. (if i'm following what whet you are griping about.)
Yes, that's what it does for me, too. It inserts something
like
12 Jun 1998
into my diary file. However, if I set
(setq calendar-date-display-form
'((if dayname (concat dayname ", ")) day " " monthname
" " year))
which is what the info files recommend as european date-style, then
pressing d (which executes view-diary-entries) won't show this new
entry, because it has no dayname. So, what *should* happen, is that
insert-diary-entry and view-diary-entry should agree on the format of
the diary entries. But this is not the case, i.e. if I use the setting
of calendar-date-display-form shown above, insert-diary-entry is
totally unaware of it (no wonder here, insert-diary-entry stems from
diary, but calendar-date-display-form stems from calendar). This has
nothing at all to do with the setting of european-calendar-style.
So, there are two ways to go: go for a closer integration of calendar
and diary or at least make diary more configurable, so that one can
customize how diary-entries are done (not necessarily with the
customize-package).
--
---
http://www.coling.uni-freiburg.de/~schauer ---
Why people hate using Lisp:
"Are people suffering from parenthophobia-by-proxy, mistaking
`parens' for `parents'?" - Erik Naggum in comp.emacs.xemacs