From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83891 Path: news.gmane.org!not-for-mail From: Jan Tatarik Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-icalendar - RSVP handling Date: Tue, 19 Nov 2013 14:15:22 +0100 Message-ID: <87ob5g1qj9.fsf@nb-jtatarik2.xing.hh> References: <87bo1gprq7.fsf@topper.koldfront.dk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1384866971 1776 80.91.229.3 (19 Nov 2013 13:16:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 19 Nov 2013 13:16:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32147@lists.math.uh.edu Tue Nov 19 14:16:15 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 1VilA7-0004Hf-7n for ding-account@gmane.org; Tue, 19 Nov 2013 14:16:15 +0100 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 1Vil9X-0007d2-7U; Tue, 19 Nov 2013 07:15:39 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Vil9U-0007cn-HK for ding@lists.math.uh.edu; Tue, 19 Nov 2013 07:15:36 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Vil9S-0001DV-Ss for ding@lists.math.uh.edu; Tue, 19 Nov 2013 07:15:36 -0600 Original-Received: from mail-ea0-f175.google.com ([209.85.215.175]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Vil9R-0006uS-Ev for ding@gnus.org; Tue, 19 Nov 2013 14:15:33 +0100 Original-Received: by mail-ea0-f175.google.com with SMTP id z10so916802ead.34 for ; Tue, 19 Nov 2013 05:15:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type:content-transfer-encoding; bh=A9zA1loemS4pYaLLHEpMWqdSEl0VnHob13Hi3u0/M6I=; b=e2S9p6LtuyozsGrVJHfV6wrTcyWFG0YH/Jj3xdaHfLwGqowTU0o9hrMGOMv/igZh6d T3SLOL0X1O0gOvAmygcmWD0bZfye7fAHNVgFl15MYseaph1Sit5Zs5h/JPHPczwbKy3s 1TvvVjRlTcWRBVfVTndFQFg4L+srVvInsakuuZoJZmRTHjoSWlkpUQaNhpYbjJYt28+h 8iFt+tvVyz0+hrBmoGe+2QZxshfEZRyqPU2BFlP14+FLul2mWW3z9SRFQXSIBHp/knlp 5WXwM0xA7mQQ+xGKWhx4DEd1eWvtxMcSuuerPKxLw0WBER5wlCjytikHz7rJIBfz1Ika vr8Q== X-Received: by 10.14.241.136 with SMTP id g8mr134535eer.148.1384866927973; Tue, 19 Nov 2013 05:15:27 -0800 (PST) Original-Received: from nb-jtatarik2.xing.hh (office.xing.com. [82.112.107.65]) by mx.google.com with ESMTPSA id a45sm31582563eem.6.2013.11.19.05.15.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 19 Nov 2013 05:15:27 -0800 (PST) In-Reply-To: <87bo1gprq7.fsf@topper.koldfront.dk> ("Adam \=\?utf-8\?Q\?Sj\?\= \=\?utf-8\?Q\?\=C3\=B8gren\=22's\?\= message of "Tue, 19 Nov 2013 12:15:44 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -2.2 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83891 Archived-At: On Tue, Nov 19 2013, Adam Sj=C3=B8gren wrote: > Hi. > gnus-icalendar gives you Accept, Tentative, Decline-buttons if you are > an attendee and RSVP is true. > I just got an invitation addressed to a mailinglist. > So, no buttons, but an expectation from the sender that I Accept (or > Decline). > Maybe I should get the buttons by default if I am not in the list of > attendees? Not sure about this one. Imagine receiving a forwarded invitation, sent to you FYI. You will not be on the participant list, and definitely should not be able to respond to it. I would go with extending the gnus-icalendar-identities variable, which is used to identify you on the participant list. Currently it looks at your mail addresses only: #+BEGIN_SRC elisp (defvar gnus-icalendar-identities (apply #'append (mapcar (lambda (x) (if (listp x) x (list x))) (list user-full-name (regexp-quote user-mail-address) ; NOTE: this one can be a list gnus-ignored-from-addresses)))) #+END_SRC If we let the user specify a list of mailing lists he's subscribed to (or suck this info directly from gnus groups), we could add it to gnus-icalendar-identities and any RSVP sent to your mailing list will produce answer buttons for you. Is it OK?