From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83678 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.gnus.general Subject: Re: iCalendar support: reply to invitations, sync to org Date: Tue, 06 Aug 2013 22:45:50 +0200 Message-ID: <5n5x2rwqnyczup.fsf@nb-jtatarik2.xing.hh> References: <5n5x2r38v8y3nk.fsf@nb-jtatarik2.xing.hh> <87d2ub63e0.fsf@randomsample.de> <87obbjtgls.fsf@lifelogs.com> <87k3m7i2v5.fsf@randomsample.de> <8738svt9ih.fsf@lifelogs.com> <87fvwvhzw4.fsf@randomsample.de> <87d2rzrtmb.fsf@lifelogs.com> <5n5x2rtxlbgdom.fsf@nb-jtatarik2.xing.hh> <5n5x2r8v0lfdu5.fsf@nb-jtatarik2.xing.hh> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1375821989 6746 80.91.229.3 (6 Aug 2013 20:46:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2013 20:46:29 +0000 (UTC) Cc: ding@gnus.org To: Lars Magne Ingebrigtsen Original-X-From: ding-owner+M31934@lists.math.uh.edu Tue Aug 06 22:46:28 2013 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V6o9E-000505-5m for ding-account@gmane.org; Tue, 06 Aug 2013 22:46:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1V6o8t-0001gF-Mt; Tue, 06 Aug 2013 15:46:07 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1V6o8s-0001fx-7K for ding@lists.math.uh.edu; Tue, 06 Aug 2013 15:46:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1V6o8n-0007UY-45 for ding@lists.math.uh.edu; Tue, 06 Aug 2013 15:46:05 -0500 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1V6o8l-000483-Kd; Tue, 06 Aug 2013 22:45:59 +0200 Original-Received: by mail-ee0-f44.google.com with SMTP id b47so446527eek.17 for ; Tue, 06 Aug 2013 13:45:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=g3da5TFCx+foExEv0Xs3ZOXSm4qBNhSCbKNTxnndQNk=; b=DyCud/8C6jynjs5RKBveYu68bmeWMoswPFCHEEpsgVnRg2nKA8zPRND6Unn2RvNv6V WkCp4csRjlTvTuOid0o+ugdgORDajDvT5Pup2nXbeZJGGTGtVHdgdCKX4HvuFHUbCrZ3 jDEW68lV2SKtHTDRxQt8oMV7p/f1mG/CheWHINWJFkSFaCKjmtfNTN6yAsTCSYgcMU+E e3nFz4H4sD9lzLS8tq+u3hLDMLaHFfq7oibP20Pq2FhJA2sXNxZkpjj8YqJgQpCrq5Y+ i+G1Hn7ZSwTOA9lHJWvbOtjA8kjVCU20L92WNNX9TPWYIri+mYqRNPys1bs8u+XbRm5Z TGYg== X-Received: by 10.15.110.10 with SMTP id cg10mr25eeb.57.1375821954246; Tue, 06 Aug 2013 13:45:54 -0700 (PDT) Original-Received: from nb-jtatarik2.xing.hh (e177248007.adsl.alicedsl.de. [85.177.248.7]) by mx.google.com with ESMTPSA id j2sm4649888eep.6.2013.08.06.13.45.52 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 06 Aug 2013 13:45:53 -0700 (PDT) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 01 Aug 2013 23:28:00 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83678 Archived-At: --=-=-= Content-Type: text/plain On Thu, Aug 01 2013, Lars Magne Ingebrigtsen wrote: > Lars Magne Ingebrigtsen writes: >> I've now included it in Ma Gnus. > It gives various errors in various Emacs versions. >"? [...] > XEmacs 21.5: > While compiling gnus-icalendar-event--decode-datefield in file /var/lib/buildbot/slaves/debian/build-xemacs21.5/build/lisp/gnus-icalendar.el: > !! error (("icalendar--decode-isodatetime called with 3 arguments, but accepts only 1-2")) > Hm... that function in XEmacs 21.5 doesn't take a timezone? *sigh* This should fix it. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=xemacs-timexone-fix.patch Content-Description: fix for missing timezone support in xemacs diff --git a/lisp/gnus-icalendar.el b/lisp/gnus-icalendar.el index 3a9e743e8ed98a0b694a2a2f1d597a6e69ae3142..8f8ccc2766ac7816de35731c7dfb9aec97d457fe 100644 --- a/lisp/gnus-icalendar.el +++ b/lisp/gnus-icalendar.el @@ -140,7 +140,10 @@ (icalendar--get-event-property-attributes ical field) zone-map)) - (date-decoded (icalendar--decode-isodatetime date nil date-zone))) + (date-decoded (if (featurep 'xemacs) + ;; XEmacs does not support timezone in this function + (icalendar--decode-isodatetime date) + (icalendar--decode-isodatetime date nil date-zone)))) (concat (icalendar--datetime-to-iso-date date-decoded "-") " " --=-=-=--