GNU bug report logs - #41723
26.3; Enable replying to an ical event even when not an attendee

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: gnus,emacs; Reported by: Christophe Troestler <christophe.troestler@HIDDEN>; Keywords: patch; dated Fri, 5 Jun 2020 16:13:02 UTC; Maintainer for gnus is bugs@HIDDEN.
Added tag(s) patch. Request was from "Basil L. Contovounesios" <contovob@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug No longer marked as found in versions 26.3. Request was from "Basil L. Contovounesios" <contovob@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug reassigned from package 'emacs' to 'gnus,emacs'. Request was from "Basil L. Contovounesios" <contovob@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 41723 <at> debbugs.gnu.org:


Received: (at 41723) by debbugs.gnu.org; 5 Jun 2020 17:59:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 13:59:03 2020
Received: from localhost ([127.0.0.1]:49865 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhGcM-0004CL-40
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:59:03 -0400
Received: from mail-wm1-f41.google.com ([209.85.128.41]:53924)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <contovob@HIDDEN>) id 1jhGcK-0004Bw-Tw
 for 41723 <at> debbugs.gnu.org; Fri, 05 Jun 2020 13:58:57 -0400
Received: by mail-wm1-f41.google.com with SMTP id l26so9212249wme.3
 for <41723 <at> debbugs.gnu.org>; Fri, 05 Jun 2020 10:58:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=tcd-ie.20150623.gappssmtp.com; s=20150623;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=EQEDd71k965FO6DxgIKFHNM7LBFbJJcpWPz4WjK2qao=;
 b=b0wzbrs/MPLTLG8GJWoi/5AgPIKB3jWqJacCoVE78o6nJw1UGaKrs0zQEcPLSK3ZBp
 nBgtKAHTrZj2StllvKQgBzuxyqjq8jdquV4N/lpTI6kLB2ZXqiQfYezJqe7XXbAHKxmL
 C4u310L0EUq9WjZYKcgVuPu9DEONpF656sDi+K+000GFwyrLo41nqPE8crSbTOHQBWcC
 3QE6tvSTzXmFIL69Af8JIIIgRRULD3eCnoumGEzope3XU4U6Rn/eTia+mcpaGssS4Hws
 y6j0hmN8yeG3gcVzKgHNd39wDIFugzJuWv9+YABu3iFj0dfxZajieWtLsnuWOZx6XFRQ
 X21Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=EQEDd71k965FO6DxgIKFHNM7LBFbJJcpWPz4WjK2qao=;
 b=FIAooOwCDJjadPGoQQuvjYXsnOfxAvdnv/0MOH5GCjyoUxhQ6+uyZ8ksF/4Lo+qae6
 ZxSQPFx9ZTmsO/3y9JVJ4v1O3SWvfNWmkqYBB63gGYO/0DPBvSzVVKhrkOJnM+Fid+IV
 OHbI2+1DklgTl4ZXhC8m57m/bADoE6rHew8VEMSAJ4LHaxrI5+XXxxX1RO0xnm3WZEfS
 W0eAWbJ+/MTxxElQ3odpLKOk1NDaJlFYXSeXUy2tcWrMkDLLS3aKvmWjIrMDEbIQTUIm
 bEAVAEv4Ird3okk00cbgSrXkMzM4zXKPldPVbyOn3qQ8wqaFqenHuMj11j5VWHIBldgL
 2zsg==
X-Gm-Message-State: AOAM532Gg3Djs42WBIamD0OlypD+rpuiuysj90mfNFG7KN/vYaGipUU8
 zM19vrztfEK7q68hyDsBGHgyZQ==
X-Google-Smtp-Source: ABdhPJzeFLNQtOcaAj3Yb4w5Nh+GEdsDS3K01F81NFLKW3N8gKgeCgvYF2FCLcDPMqqMI0t9Fn4Isg==
X-Received: by 2002:a1c:4d14:: with SMTP id o20mr3687632wmh.164.1591379930460; 
 Fri, 05 Jun 2020 10:58:50 -0700 (PDT)
Received: from localhost ([2a02:8084:20e2:c380:1f68:7ff5:120d:64e])
 by smtp.gmail.com with ESMTPSA id r4sm12875600wro.32.2020.06.05.10.58.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 05 Jun 2020 10:58:49 -0700 (PDT)
From: "Basil L. Contovounesios" <contovob@HIDDEN>
To: Christophe Troestler <christophe.troestler@HIDDEN>
Subject: Re: bug#41723: 26.3; Enable replying to an ical event even when not
 an attendee
References: <87k10lld4p.fsf@HIDDEN>
Date: Fri, 05 Jun 2020 18:58:48 +0100
In-Reply-To: <87k10lld4p.fsf@HIDDEN> (Christophe Troestler's
 message of "Fri, 05 Jun 2020 17:56:54 +0200")
Message-ID: <87v9k5cs2v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 41723
Cc: 41723 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

reassign 41723 gnus,emacs
tags 41723 + patch
quit

Christophe Troestler <christophe.troestler@HIDDEN> writes:

> When one receives en ical event and the user identity is not present in the
> attendee list, an error is triggered making replying to such an event impossible
> (the reply message not being even composed).  This patch replaces it with a
> warning.  This is necessary because one may receive (I just did) events that the
> organizer did not set up well and it is up to the user (not Emacs) to decide
> whether or not to reply to them.

Thanks.  Sounds fine to me, but I'm not familiar with this part of Gnus,
so I can only offer a couple of nitpicks.

> From a7c5289908d40b54e0c474b970d3f3786bc941af Mon Sep 17 00:00:00 2001
> From: Christophe Troestler <Christophe.Troestler@HIDDEN>
> Date: Fri, 5 Jun 2020 17:35:48 +0200
> Subject: [PATCH] Enable replying to an ical event even when not an attendee
> Content-Type: text/plain; charset="utf-8"
>
> When the user identity is not present in the attendee list, an error
> is triggered making replying to such an event impossible (the reply
> message not being even composed).  This replaces it with a warning.
> This is necessary because one may receive events that the organizer
> did not set up well and it is up to the user to decide whether or not
> to reply to them.

The commit message conventions followed by Emacs are described in the
file CONTRIBUTE and also under (info "(emacs) Format of ChangeLog").
It's fine to include the free-standing prose, but the commit message
should also mention the file and definition being changed, e.g.:

* lisp/gnus/gnus-icalendar.el
(gnus-icalendar-event--build-reply-event-body): Display a warning
instead of barfing when user is missing from attendee list.

> diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
> index 305e17fd8f..f7b9a954d6 100644
> --- a/lisp/gnus/gnus-icalendar.el
> +++ b/lisp/gnus/gnus-icalendar.el
> @@ -312,7 +312,8 @@ gnus-icalendar-event--build-reply-event-body
>  
>        (unless (gnus-icalendar-find-if (lambda (x) (string-match "^ATTENDEE" x))
>  				      reply-event-lines)
> -        (error "Could not find an event attendee matching given identity"))
> +        (lwarn 'gnus :warning
                  ^^^^^
Why not 'gnus-icalendar instead?

> +               "Could not find an event attendee matching given identity"))

-- 
Basil




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#41723; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Jun 2020 16:12:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 05 12:12:19 2020
Received: from localhost ([127.0.0.1]:49677 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1jhEx8-0001Ri-NI
	for submit <at> debbugs.gnu.org; Fri, 05 Jun 2020 12:12:19 -0400
Received: from lists.gnu.org ([209.51.188.17]:47266)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <Christophe.TROESTLER@HIDDEN>)
 id 1jhEwv-0001RM-Iz
 for submit <at> debbugs.gnu.org; Fri, 05 Jun 2020 12:12:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33990)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Christophe.TROESTLER@HIDDEN>)
 id 1jhEwv-0006XE-Cj
 for bug-gnu-emacs@HIDDEN; Fri, 05 Jun 2020 12:12:05 -0400
Received: from mail-eopbgr30056.outbound.protection.outlook.com
 ([40.107.3.56]:55015 helo=EUR03-AM5-obe.outbound.protection.outlook.com)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <Christophe.TROESTLER@HIDDEN>)
 id 1jhEws-00007l-T0
 for bug-gnu-emacs@HIDDEN; Fri, 05 Jun 2020 12:12:04 -0400
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
 b=gUMd2NSZp6sS2HS809pY5b5L+yR9wWihojoiFJkTrCctDH8+emWPrqKA8o2qZOaLuBzHxvbRppD1H91/4A9qZrS7fINs1UWJMj6WtIyvvO9FzhP8qzFGgRMnkAMcBSB3I9oUxqc6Yj8KrxyEUmv5RaVRhVnmQErelWhbwINP7+4eT9LuvYyvxWdr5w8TE9ascIn/72oYc/THok/laASB79IFi4m3So9zCpA+QldkGO/pBHp6Pc7kNGvpXrGio+8xSCsS/opicG5PqUSL3HX9eaXS+RoEzF8UH5ntMFfiDwxdgIqu3Yc5I/PXGvQOt08ckhROQkCeWYZfi5K3DYHEWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; 
 s=arcselector9901;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=pcQPIfD51UyfNbJNvVxjV3mjfYYwcitfhZMYwY0dc54=;
 b=LgFUEtwOIHAGWX1iaDXbWlPGkBCuBHc1NYl7ri3oWOx5wa9hpjO5bs+8RhIWoftQOUe/1k82yJ0adQHDvQYZf0MLGDz0i8LuFvugbIjDlb/f36FpIlPHxoCYS4m2Ht7DIuQWSdUT6bdT99+H4eeLiAF9m1yVSkgnoHNsdj2p+fv5YZSbCLnuyoNROwUSCFDu7kXBMt3WdwXf9uF2WJCDELtVLxOplF+cAdEHxrVIEq76MlY1hpLBIUIgrPu2p6F5qrLh9ctmwLajYYw4gZIQWuLpYaOf9xiS0MbbBzEchevqvghzueytlD0hoJkXFe/O1FaJIBm1X4kfSdlWD+yevw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=umons.ac.be; dmarc=pass action=none header.from=umons.ac.be;
 dkim=pass header.d=umons.ac.be; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=alumniumonsac.onmicrosoft.com; s=selector1-alumniumonsac-onmicrosoft-com;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=pcQPIfD51UyfNbJNvVxjV3mjfYYwcitfhZMYwY0dc54=;
 b=lVaS4SfrMkk85qarjY8v3eW4bvWG4a7zucRKhOUX4nvxFrOc/C3sisOi2w0b5SKPhNVr5PNqvEgsXo4+Sn6oOoyUeX3JiUG75C8+HPL9KiBe48ZgXg5jc8J6R+ZoRa+XD9d7Q9sitVjPy4DRDkpfM0vZ118AxuvxTwYe0V50As8=
Authentication-Results: umons.ac.be; dkim=none (message not signed)
 header.d=none;umons.ac.be; dmarc=none action=none header.from=umons.ac.be;
Received: from DB7PR01MB5259.eurprd01.prod.exchangelabs.com
 (2603:10a6:10:84::12) by DB7PR01MB4588.eurprd01.prod.exchangelabs.com
 (2603:10a6:10:6c::23) with Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3066.18; Fri, 5 Jun
 2020 15:56:56 +0000
Received: from DB7PR01MB5259.eurprd01.prod.exchangelabs.com
 ([fe80::94d3:d168:1c3e:76c9]) by DB7PR01MB5259.eurprd01.prod.exchangelabs.com
 ([fe80::94d3:d168:1c3e:76c9%3]) with mapi id 15.20.3066.022; Fri, 5 Jun 2020
 15:56:56 +0000
User-agent: mu4e 1.5.1; emacs 26.3
From: Christophe Troestler <christophe.troestler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 26.3; Enable replying to an ical event even when not an attendee
Date: Fri, 05 Jun 2020 17:56:54 +0200
Message-ID: <87k10lld4p.fsf@HIDDEN>
Content-Type: multipart/mixed; boundary="=-=-="
X-ClientProxiedBy: AM4P190CA0004.EURP190.PROD.OUTLOOK.COM
 (2603:10a6:200:56::14) To DB7PR01MB5259.eurprd01.prod.exchangelabs.com
 (2603:10a6:10:84::12)
MIME-Version: 1.0
X-MS-Exchange-MessageSentRepresentingType: 1
Received: from poincare (2a02:a03f:c394:e400:a5b3:c7f5:da59:8dec) by
 AM4P190CA0004.EURP190.PROD.OUTLOOK.COM (2603:10a6:200:56::14) with Microsoft
 SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id
 15.20.3066.18 via Frontend Transport; Fri, 5 Jun 2020 15:56:55 +0000
Received: from [::1] (helo=poincare)	by poincare with esmtp (Exim
 4.93)	(envelope-from <christophe.troestler@HIDDEN>)	id 1jhEiE-007Wuy-9B;
 Fri, 05 Jun 2020 17:56:54 +0200
X-Originating-IP: [2a02:a03f:c394:e400:a5b3:c7f5:da59:8dec]
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id: a678ac82-8cba-4d61-bcc9-08d809691252
X-MS-TrafficTypeDiagnostic: DB7PR01MB4588:
X-MS-Exchange-Transport-Forked: True
X-Microsoft-Antispam-PRVS: <DB7PR01MB458856826BB038C29D460CEFCE860@HIDDEN>
X-MS-Oob-TLC-OOBClassifiers: OLM:1107;
X-Forefront-PRVS: 0425A67DEF
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: GVGFQkRrNTrRFHd9LYQHJtl+yYyPcaZajkv6nuusA9NWmnMVI41SSa5/Y901/Z1yV27kL0qzpDY3Ex7qf6Fxh5FByIp/BC3VnYeBb1Ds9aJImkEtl9Ih2BhJ7PowMKlOfOdArNLzFv41RX5Ssm1X22Bb2jjYac0HhSDB4rxkfk2BqIoI++upaIaQZCkQ3sHiuGygYaC+qgZpQDr0kcctr9CGWBmSRDUB7wJGKjaSI6+BNAlc4MO+pfQyO8y4ocugsxnLofOk6fvIUPbyKN1HLTvfJZNnoSECGKPdXxAwMj7Ppjh6AXVyWhKcGtMddjWDZUeV4Uf66UMyiOPfEIFjSB60Ax24P1VwzXeh0CSOoHE2FiBjQd9ePTM0DZOt0bUz
X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
 IPV:NLI; SFV:NSPM; H:DB7PR01MB5259.eurprd01.prod.exchangelabs.com; PTR:;
 CAT:NONE; SFTY:;
 SFS:(4636009)(39860400002)(366004)(376002)(396003)(346002)(136003)(8936002)(66576008)(478600001)(83380400001)(5660300002)(44832011)(66946007)(66476007)(66556008)(186003)(2906002)(426003)(8676002)(786003)(316002)(30864003)(53546011)(9786002)(52116002)(86362001)(6916009)(130980200001);
 DIR:OUT; SFP:1101; 
X-MS-Exchange-AntiSpam-MessageData: XJAjYHE4cwEyAw8Kk+CH8F62awm4P0QMr9LPWLWBAYpm0ZRCwwSa9BbXAXa6VregyZC3KI089sfJvW4Rbx+qr4E1/+vZwS9hfeHS2l92aPdAUJivFIYJMYmct4AroiEMKux9J3Nd8aB9jvJI8d/ZmrQyA14zYp9ycYN0e+84Q6jSzsCBq143UCWPa0RxMFc5QLegBTCsKNY37mRr370RjlorSbrTA5qHV87DBeD2kya2U6fke+m97AZ/SXY51aCxuRsFsrcgyrnQXO+UjoEu2TaGllbsUmu16YQlWS2b/1+2Ka3NB367rk6AZnvLrxdsdKTABwpClVWpWt9VLStV18a+k07x6OnARsPeoU2/GWWcrtSmNPU38js3DVqEIOhs+lTghKuhWiyigZ6h1kIC+TATFbDewcREyT4sSAZbjIcDcLwTfzLdb3WODBoukXOzjanL5U72v0tByvEskUnkZR4nGbeXduK5wARnYGFzIqrDLeA9mUAorEiokEruxJOuXJs2dC/6V5wPp+Nc/e4P+231zaPtCY6knLEZhpfExyKg6PngykM0liLeKL/WG2VN
X-OriginatorOrg: umons.ac.be
X-MS-Exchange-CrossTenant-Network-Message-Id: a678ac82-8cba-4d61-bcc9-08d809691252
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2020 15:56:56.2550 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-CrossTenant-Id: 488bed9d-d6a7-48d5-ba1f-ebec3823b357
X-MS-Exchange-CrossTenant-MailboxType: HOSTED
X-MS-Exchange-CrossTenant-UserPrincipalName: wSKXM2Tb+a9bfeZ/kVPzr8gtfB9v+LHhnQc5HKL/Porpj5a1gXsfE3aRWOfVItuX+7JrBQL27OLa9Y7BKNmTYA==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR01MB4588
Received-SPF: pass client-ip=40.107.3.56;
 envelope-from=Christophe.TROESTLER@HIDDEN;
 helo=EUR03-AM5-obe.outbound.protection.outlook.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/05 12:12:00
X-ACL-Warn: Detected OS   = Windows NT kernel [generic] [fuzzy]
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=0.001,
 DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MSGID_FROM_MTA_HEADER=0.001,
 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


Hi,

When one receives en ical event and the user identity is not present in the attendee list, an error is triggered making replying to such an event impossible (the reply message not being even composed).  This patch replaces it with a warning.  This is necessary because one may receive (I just did) events that the organizer did not set up well and it is up to the user (not Emacs) to decide whether or not to reply to them.

Best regards,
C.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline;
 filename=0001-Enable-replying-to-an-ical-event-even-when-not-an-at.patch
Content-Description: Enable replying to an ical event even when not an
 attendee

From a7c5289908d40b54e0c474b970d3f3786bc941af Mon Sep 17 00:00:00 2001
From: Christophe Troestler <Christophe.Troestler@HIDDEN>
Date: Fri, 5 Jun 2020 17:35:48 +0200
Subject: [PATCH] Enable replying to an ical event even when not an attendee
Content-Type: text/plain; charset="utf-8"

When the user identity is not present in the attendee list, an error
is triggered making replying to such an event impossible (the reply
message not being even composed).  This replaces it with a warning.
This is necessary because one may receive events that the organizer
did not set up well and it is up to the user to decide whether or not
to reply to them.
---
 lisp/gnus/gnus-icalendar.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lisp/gnus/gnus-icalendar.el b/lisp/gnus/gnus-icalendar.el
index 305e17fd8f..f7b9a954d6 100644
--- a/lisp/gnus/gnus-icalendar.el
+++ b/lisp/gnus/gnus-icalendar.el
@@ -312,7 +312,8 @@ gnus-icalendar-event--build-reply-event-body
 
       (unless (gnus-icalendar-find-if (lambda (x) (string-match "^ATTENDEE" x))
 				      reply-event-lines)
-        (error "Could not find an event attendee matching given identity"))
+        (lwarn 'gnus :warning
+               "Could not find an event attendee matching given identity"))
 
       (mapconcat #'identity `("BEGIN:VEVENT"
                               ,@(nreverse reply-event-lines)
-- 
2.26.2


--=-=-=
Content-Type: text/plain






In GNU Emacs 26.3 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20)
 of 2020-05-17, modified by Debian built on x86-csail-01
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description:	Debian GNU/Linux bullseye/sid

Recent messages:
Checking spelling of RECEIVE...
RECEIVE is correct
Checking spelling of ORGANISER...
Saving file /home/trch/software/emacs/.git/COMMIT_EDITMSG...
Wrote /home/trch/software/emacs/.git/COMMIT_EDITMSG
Auto-saving...done
Saving file /home/trch/software/emacs/.git/COMMIT_EDITMSG...
Wrote /home/trch/software/emacs/.git/COMMIT_EDITMSG
Git finished
End of buffer

Configured using:
 'configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --enable-libsystemd --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --build
 x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd
 --with-pop=yes
 --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/26.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/26.3/site-lisp:/usr/share/emacs/site-lisp
 --with-sound=alsa --without-gconf --with-mailutils --with-x=yes
 --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2
 -fdebug-prefix-map=/build/emacs-mHAik2/emacs-26.3+1=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time
 -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro'

Configured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB
NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM THREADS LIBSYSTEMD LCMS2

Important settings:
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_GB.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: mu4e-headers

Minor modes in effect:
  TeX-PDF-mode: t
  global-magit-file-mode: t
  diff-auto-refine-mode: t
  magit-auto-revert-mode: t
  global-git-commit-mode: t
  async-bytecomp-package-mode: t
  shell-dirtrack-mode: t
  desktop-save-mode: t
  hl-line-mode: t
  show-paren-mode: t
  global-edit-server-edit-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
~/software/OCaml/dune/editor-integration/emacs/dune-flymake hides /home/trch/.opam/4.08.1/share/emacs/site-lisp/dune-flymake
~/software/OCaml/dune/editor-integration/emacs/dune hides /home/trch/.opam/4.08.1/share/emacs/site-lisp/dune
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/deb-view hides /usr/share/emacs/site-lisp/elpa/debian-el-37/deb-view
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-bug hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-bug
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/apt-utils hides /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-utils
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/preseed hides /usr/share/emacs/site-lisp/elpa/debian-el-37/preseed
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/apt-sources hides /usr/share/emacs/site-lisp/elpa/debian-el-37/apt-sources
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-autoloads hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-autoloads
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-autoloads
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/gnus-BTS hides /usr/share/emacs/site-lisp/elpa/debian-el-37/gnus-BTS
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa/debian-el-37/debian-el-pkg
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/deb-view hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/deb-view
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/apt-utils hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-utils
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/preseed hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/preseed
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-bug hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-bug
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/apt-sources hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/apt-sources
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-autoloads
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el-autoloads hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-autoloads
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/gnus-BTS hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/gnus-BTS
/home/trch/.emacs.d/elpa/debian-el-20200401.1622/debian-el-pkg hides /usr/share/emacs/site-lisp/elpa-src/debian-el-37/debian-el-pkg
/home/trch/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /usr/share/emacs/26.3/lisp/emacs-lisp/let-alist

Features:
(shadow emacsbug magit-extras bug-reference gnus-cite smiley qp texmathp
face-remap shr-color color view misearch multi-isearch eieio-opt
help-fns radix-tree cl-print debug cus-start cus-load visual-fill-column
sort mm-archive mail-extr org-rmail org-mhe org-irc org-info org-gnus
nnir org-docview org-bibtex org-bbdb org-w3m merlin-ac auto-complete
popup tuareg caml-help find-file latexenc make-mode reftex-auc preview
prv-emacs tex-buf reftex-dcr reftex reftex-loaddefs reftex-vars flyspell
ispell latex latex-flymake tex-ispell tex-style tex-mode vc-git flycheck
json map elec-pair php-mode mode-local speedbar sb-image ezimage dframe
etags xref project cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs php-face php php-project
font-latex tex dbus bibtex dune-flymake flymake-proc flymake compile
warnings dune skeleton smie merlin-cap merlin caml-types caml-emacs
magit-bookmark magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func imenu magit-diff smerge-mode diff-mode magit-core
magit-autorevert magit-margin magit-transient magit-process magit-mode
git-commit transient magit-git magit-section magit-utils crm log-edit
pcvs-util add-log with-editor cl-extra async-bytecomp async shell subr-x
dash erc-goodies erc erc-backend erc-compat twittering-mode url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util org-mu4e org-agenda mu4e-icalendar gnus-icalendar
mu4e-contrib esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg
esh-groups eshell esh-module esh-mode esh-util bookmark pp mu4e desktop
frameset mu4e-org mu4e-main mu4e-headers mu4e-view thingatpt gnus-art
mm-uu mml2015 mm-view mml-smime smime dig mailcap gnus-sum gnus-group
gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls
utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus
nnheader wid-edit mu4e-compose mu4e-context mu4e-draft mu4e-actions
org-capture ido rfc2368 smtpmail sendmail mu4e-mark mu4e-proc mu4e-utils
doc-view jka-compr image-mode mu4e-lists mu4e-message shr svg xml dom
browse-url flow-fill hl-line mu4e-vars message rmc puny dired
dired-loaddefs rfc822 mml mml-sec gnus-util rmail rmail-loaddefs
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mailabbrev mail-utils gmm-utils mailheader mu4e-meta
adoc-mode tempo markup-faces org-element avl-tree generator org
org-macro org-footnote org-pcomplete pcomplete org-list org-faces
org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob
ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint comint
ansi-color ring ob-core ob-eval org-compat org-macs org-loaddefs
format-spec find-func epa-file epa derived epg cl quail help-mode
mm-util mail-prsvr autorevert filenotify edmacro kmacro paren icalendar
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs edit-server
advice server finder-inf tex-site debian-el gh-common marshal
eieio-compat rx w3m-load info package easymenu epg-config url-handlers
url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv
cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win
term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list replace newcomment text-mode elisp-mode lisp-mode
prog-mode register page menu-bar rfn-eshadow isearch timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech european ethiopic indian cyrillic
chinese composite charscript charprop case-table epa-hook jka-cmpr-hook
help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs
button faces cus-face macroexp files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readable
backquote threads dbusbind inotify lcms2 dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty make-network-process emacs)

Memory information:
((conses 16 812280 153228)
 (symbols 48 67308 1)
 (miscs 40 3516 2658)
 (strings 32 250206 31367)
 (string-bytes 1 7636583)
 (vectors 16 85697)
 (vector-slots 8 2208501 176972)
 (floats 8 662 986)
 (intervals 56 10251 6253)
 (buffers 992 126))
<#secure method=smime mode=sign>

--=-=-=--




Acknowledgement sent to Christophe Troestler <christophe.troestler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#41723; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 5 Jun 2020 18:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.