[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus-icalendar errors in emacs 24.5 [FIXED]
From: |
Kostas Zorbadelos |
Subject: |
Re: gnus-icalendar errors in emacs 24.5 [FIXED] |
Date: |
Tue, 23 Feb 2016 12:35:52 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Jan Tatarik <jan.tatarik@gmail.com> writes:
>
>> How about this? It's a patch against the emacs-25 branch, I was not able
>> to connect to the gnus git.
>
> The Gnus git repository is now read-only (and only with anonymous
> access).
>
>> diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
>> index 4faef06..82a649f 100644
>> --- a/lisp/gnus/gnus-icalendar.el
>> +++ b/lisp/gnus/gnus-icalendar.el
>> @@ -401,8 +401,8 @@ gnus-icalendar-event:org-timestamp
>> (end-time (format-time-string "%H:%M" end))
>> (end-at-midnight (string= end-time "00:00"))
>> (start-end-date-diff (/ (float-time (time-subtract
>> - (date-to-time end-date)
>> - (date-to-time start-date)))
>> + (org-time-string-to-time end-date)
>> + (org-time-string-to-time
>> start-date)))
>
> Yes, this seems to fix the problem. I'll apply to emacs-25 and push.
This seems to work as well in 24.5. My proposal broke the dates in the
agenda buffer.
Now I have a different problem, showing Greek (or other international
text I guess) in calendar invitations. I will start a new thread for
this.
Thanks,
Kostas
--
Kostas Zorbadelos http://gr.linkedin.com/in/kzorba