GNU bug report logs -
#14349
org-agenda does not handle diary appointments with days
Previous Next
Reported by: Nic Ferrier <nferrier <at> ferrier.me.uk>
Date: Sat, 4 May 2013 18:28:02 UTC
Severity: normal
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 14349 in the body.
You can then email your comments to 14349 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14349
; Package
emacs
.
(Sat, 04 May 2013 18:28:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Nic Ferrier <nferrier <at> ferrier.me.uk>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 04 May 2013 18:28:04 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Sample ~/diary file:
29/7/2000 wedding anniversary
May 13, 2013
12:00 Meeting, Nic and Pat
Tuesday, May 14, 2013
11:00 Meeting to be decided.
Now do org-agenda-list, here is what we get:
Month-agenda (W18-W23):
Saturday 4 May 2013
Sunday 5 May 2013
Monday 6 May 2013 W19
Tuesday 7 May 2013
Diary: 11:00...... Meeting to be decided.
Diary: May 14, 2013
Wednesday 8 May 2013
Thursday 9 May 2013
Friday 10 May 2013
Saturday 11 May 2013
Sunday 12 May 2013
Monday 13 May 2013 W20
Diary: 12:00...... Meeting | Nic and Pat, (GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London.
Tuesday 14 May 2013
Diary: 11:00...... Meeting to be decided.
Diary: May 14, 2013
Wednesday 15 May 2013
Thursday 16 May 2013
Friday 17 May 2013
Saturday 18 May 2013
Sunday 19 May 2013
Monday 20 May 2013 W21
Tuesday 21 May 2013
Diary: 11:00...... Meeting to be decided.
Diary: May 14, 2013
The meeting with the specified day name from the diary file is being
inserted at every Tuesday.
Unfortunately, the day-name is standard in the output from
the function calendar-date-string which is used to automatically add
entries to the diary file.
The problem appears unrelated to org-agenda but is something to do with
the way diary mode understands it's entries. You can get the same broken
behaviour viewing the calendar and marking diary entries.
Nic Ferrier
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14349
; Package
emacs
.
(Sat, 04 May 2013 18:47:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 14349 <at> debbugs.gnu.org (full text, mbox):
Nic Ferrier wrote:
> Sample ~/diary file:
>
> 29/7/2000 wedding anniversary
> May 13, 2013
> 12:00 Meeting, Nic and Pat
> Tuesday, May 14, 2013
> 11:00 Meeting to be decided.
This example doesn't make sense. The first entry is European format.
The second entry doesn't match anything in diary-european-date-forms.
The third just matches "Tuesday".
So either you need to customize diary-date-forms, or use more standard
diary entries.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14349
; Package
emacs
.
(Sat, 04 May 2013 19:36:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 14349 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Nic Ferrier wrote:
>
>> Sample ~/diary file:
>>
>> 29/7/2000 wedding anniversary
>> May 13, 2013
>> 12:00 Meeting, Nic and Pat
>> Tuesday, May 14, 2013
>> 11:00 Meeting to be decided.
>
> This example doesn't make sense. The first entry is European format.
> The second entry doesn't match anything in diary-european-date-forms.
> The third just matches "Tuesday".
>
> So either you need to customize diary-date-forms, or use more standard
> diary entries.
I disagree.
Take that first entry out and it's the same problem.
The problem is the addition of the day. But the day is added by default
by `calendar-date-string'.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14349
; Package
emacs
.
(Sat, 04 May 2013 20:38:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 14349 <at> debbugs.gnu.org (full text, mbox):
Nic Ferrier wrote:
> Take that first entry out and it's the same problem.
Sure. The first line is simply the only thing that tells me you are
using European date format. It isn't the default and you didn't say.
> The problem is the addition of the day. But the day is added by default
> by `calendar-date-string'.
?
emacs -Q -f calendar
i d
-> May 4, 2013
(no day)
Please give a complete recipe starting from emacs -Q.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#14349
; Package
emacs
.
(Sat, 11 May 2013 18:27:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 14349 <at> debbugs.gnu.org (full text, mbox):
Glenn Morris <rgm <at> gnu.org> writes:
> Nic Ferrier wrote:
>
>> Take that first entry out and it's the same problem.
>
> Sure. The first line is simply the only thing that tells me you are
> using European date format. It isn't the default and you didn't say.
>
>> The problem is the addition of the day. But the day is added by default
>> by `calendar-date-string'.
>
> ?
>
> emacs -Q -f calendar
> i d
> -> May 4, 2013
>
> (no day)
>
> Please give a complete recipe starting from emacs -Q.
Thanks for taking the time here. I've always found the calendar and
diary to be a bit "difficult".
But I didn't say anything about the diary insert functions available
from calendar. Specifically I called out:
(calendar-date-string '(05 13 2013))
=> "Monday, May 13, 2013"
This is used by the Outlook integration I was referring to on the devel
list:
https://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00067.html
The reason that function behaves like that is because the function is
supposed to be separately customized with calendar-date-display-form.
You're right, my emacs does have:
calendar-date-style => 'european
so calendar-date-string should be expected to insert in that style
should it not?
I've tested from -Q and it all looks good, but that makes sense.
When you have:
calendar-date-style => 'american
and no customization of:
calendar-date-display-form
then inserting dates with calender-date-string is fine.
But when you have:
calendar-date-style => 'european
and no customization of:
calendar-date-display-form
then inserting dates with calender-date-string is not fine, it's broken
in the way I described.
Which means we should either tie calendar-date-style and
calendar-date-display-form together or nor use
calendar-date-display-form to insert directly into the diary?
Nic
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Sun, 12 May 2013 01:36:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Nic Ferrier <nferrier <at> ferrier.me.uk>
:
bug acknowledged by developer.
(Sun, 12 May 2013 01:36:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 14349-done <at> debbugs.gnu.org (full text, mbox):
Version: 24.4
(Please keep the debbugs address cc'd.)
Nic Ferrier wrote:
> (calendar-date-string '(05 13 2013))
> => "Monday, May 13, 2013"
>
> This is used by the Outlook integration I was referring to on the devel
Then I guess diary-outlook-format-1 needs to pass the NODAYNAME argument
to calendar-date-string.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 09 Jun 2013 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 309 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.