From unknown Sat Sep 06 14:23:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41723: 26.3; Enable replying to an ical event even when not an attendee Resent-From: Christophe Troestler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 16:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 41723@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15913735395572 (code B ref -1); Fri, 05 Jun 2020 16:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Jun 2020 16:12:19 +0000 Received: from localhost ([127.0.0.1]:49677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhEx8-0001Ri-NI for submit@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 ) id 1jhEwv-0001RM-Iz for submit@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 ) id 1jhEwv-0006XE-Cj for bug-gnu-emacs@gnu.org; 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 ) id 1jhEws-00007l-T0 for bug-gnu-emacs@gnu.org; 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 Date: Fri, 05 Jun 2020 17:56:54 +0200 Message-ID: <87k10lld4p.fsf@poincare.umons.ac.be> 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 ) 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: 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@umons.ac.be; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 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> --=-=-=-- From unknown Sat Sep 06 14:23:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41723: 26.3; Enable replying to an ical event even when not an attendee Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 18:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41723 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Christophe Troestler Cc: 41723@debbugs.gnu.org Received: via spool by 41723-submit@debbugs.gnu.org id=B41723.159137994316169 (code B ref 41723); Fri, 05 Jun 2020 18:00:02 +0000 Received: (at 41723) by debbugs.gnu.org; 5 Jun 2020 17:59:03 +0000 Received: from localhost ([127.0.0.1]:49865 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhGcM-0004CL-40 for submit@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 ) id 1jhGcK-0004Bw-Tw for 41723@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@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" References: <87k10lld4p.fsf@poincare.umons.ac.be> Date: Fri, 05 Jun 2020 18:58:48 +0100 In-Reply-To: <87k10lld4p.fsf@poincare.umons.ac.be> (Christophe Troestler's message of "Fri, 05 Jun 2020 17:56:54 +0200") Message-ID: <87v9k5cs2v.fsf@tcd.ie> 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) reassign 41723 gnus,emacs tags 41723 + patch quit Christophe Troestler 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 > 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 From unknown Sat Sep 06 14:23:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41723: 26.3; Enable replying to an ical event even when not an attendee Resent-From: Christophe Troestler Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org, bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jun 2020 18:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41723 X-GNU-PR-Package: gnus,emacs X-GNU-PR-Keywords: patch To: "Basil L. Contovounesios" Cc: 41723@debbugs.gnu.org Received: via spool by 41723-submit@debbugs.gnu.org id=B41723.159138141227043 (code B ref 41723); Fri, 05 Jun 2020 18:24:01 +0000 Received: (at 41723) by debbugs.gnu.org; 5 Jun 2020 18:23:32 +0000 Received: from localhost ([127.0.0.1]:49904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhH07-000727-PN for submit@debbugs.gnu.org; Fri, 05 Jun 2020 14:23:32 -0400 Received: from mail-eopbgr20081.outbound.protection.outlook.com ([40.107.2.81]:56386 helo=EUR02-VE1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhH05-00071o-PT for 41723@debbugs.gnu.org; Fri, 05 Jun 2020 14:23:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YvecHL1na3+EXd2P6so5e7MQK6NXp/5une1OhnvOjpUIkZzDkDb0fTD6nO1Sw3bYQjwV15jNEtOFzrxx77wNYZNh6CwZ1/g93LfWPqqeIaB2HQqmHcJUtybAQWwuZGZJeEuBpPwftcfSrFtMcdZTbMyd2rqNkSUZ3BGxm1kno/reneWwzh+Ahl3DUajsu9jy3uKY+3cfKFM+zZhbeq20yVmNPu8mHPm1CAH88n7h+yLPOU+5HTh7mu1jL6H8NwPxHqdDRVM+3m4GfDwxJ1R0mI8GWGoanxILMaMdIEyz5tv6tqe4ktAyngoCXxc3Ahst2r5Ao3CF6wCiraoYEYdZWQ== 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=TCWdwC/AS66+S2qYoTa0vkB7J+/Rcp5fbyVkPqan3Y0=; b=lMUcB56ZF/jMFO9dEVuKuwis2vQiiiNatWuYi5Ct/Fx9qCdY3IcoitkYZvfFPK5ovSqCmNQa/us1XY9NjDNFog3vWAayJQrrc5gACqYC86KwWrrJPIACyafOCsfT4X6zVaa9zEvCw4UmpmT+6PESVdXoQom0jh6RiK8yT95iGlY0fXOY2mgxDOe4h8jGRvzrI+cu4qqVTrO0cPDfoXSN9TcRN8jEPo2imkTsV5+RpmHOMdAA14iG0tlNHdphHRJFmsYJtTKKxfMFWkPXgsbwGWiXGlM1HLxYl6DvSCnjIZy8Jn23sOwDGKGlhN5ydTXuAsPxyqXq5hDS/xoasTeOPQ== 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=TCWdwC/AS66+S2qYoTa0vkB7J+/Rcp5fbyVkPqan3Y0=; b=uLHd15J7Jg+u02mH+5bRx5DxOfzE+PovsXw2Aow9/gNwesSj/KHgLvHDs8z4OmSzZIi0REBrrFm3t+x0QQxroMkap2ycSKGh7KH9JxF+Z1y6qp87GkRYA/xFUBtTqtyzS5b/IupdqfrFZOOVj4YI7pN1BXdRBNc2NmU11vdMU/k= 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 DB7PR01MB4697.eurprd01.prod.exchangelabs.com (2603:10a6:10:6a::26) 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 18:23:21 +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 18:23:21 +0000 References: <87k10lld4p.fsf@poincare.umons.ac.be> <87v9k5cs2v.fsf@tcd.ie> User-agent: mu4e 1.5.1; emacs 26.3 From: Christophe Troestler In-reply-to: <87v9k5cs2v.fsf@tcd.ie> Date: Fri, 05 Jun 2020 20:23:19 +0200 Message-ID: <87sgf9jrs8.fsf@poincare.umons.ac.be> Content-Type: multipart/mixed; boundary="=-=-=" X-ClientProxiedBy: AM4PR0902CA0004.eurprd09.prod.outlook.com (2603:10a6:200:9b::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 AM4PR0902CA0004.eurprd09.prod.outlook.com (2603:10a6:200:9b::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 18:23:20 +0000 Received: from [::1] (helo=poincare) by poincare with esmtp (Exim 4.93) (envelope-from ) id 1jhGzv-007bki-Jy; Fri, 05 Jun 2020 20:23:19 +0200 X-Originating-IP: [2a02:a03f:c394:e400:a5b3:c7f5:da59:8dec] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 5e0020a5-4974-408d-4bf2-08d8097d86ba X-MS-TrafficTypeDiagnostic: DB7PR01MB4697: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:6430; X-Forefront-PRVS: 0425A67DEF X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: x4Bev1/nzgfLhGRVuzqaHlxppjupPgJFYmNB1Z4q/a/3epuIdvfWIufMYDf1n1d7SEK5IAG1zXND0AWOb+fyaI3/GhDVBht4pJVOiS/IuDnlaOatqLUjWJRp5h02Wn2Fai3U6k65cdlO11HtJ/N+z4Khmvon1H8+ODFNozWcHHb9e9msBCYn3gTNGY+TkoEG/FqckZkyABCUX2b2JZIUHh5f5ioFlIY6vE2FPmb4kHtqc1zejvpLVAsiOqKmeYssw5ooKpJz0VHvQL2eCUS94udMSYwJrdN8Pw4Wv1MfWD0BpFakRHsOTpSqaqqZQvtoMqdsFd1qUo7yyCPpdYyVtLRMQDJKt0B8bg+RYhFVGDU0MBCMUX1k1hg+g7tPNlxr 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)(376002)(366004)(396003)(346002)(136003)(39860400002)(2906002)(5660300002)(186003)(6916009)(44832011)(33964004)(426003)(53546011)(4326008)(52116002)(478600001)(66476007)(8936002)(8676002)(86362001)(66556008)(66946007)(83380400001)(786003)(66616009)(9786002)(316002)(130980200001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: 84DRosYCjxaBobV+iDyU5VXmwWn+hxQ8Z2re2TUEYVRI/jmdHNbCbRwy1WtcujCATA0t/kZjWenuWSYjxlJgNh515tSj/rLtz0uIXOIkdfc7/cbGdFUv0THLGvw9MRWoJw8AO5TbpDW4/ZDDrIFnhXgVhb+heSoGDlL50ZZJnBQxKpExnzfMiAD5pdfFWHbaNed+K+flET8fveZgO1DKr/DfAVhlltRDiLGrNNv912bs+srL7ZkwILK2Z2b43ERGSL0qRwTU+1H5ZaVuFJuLVJKMegU5GKjLxe0E4CNnprfKa84jso303h//94gB/bfMGQggtgw8ZaXs6GBuKD9FAFxtvP90q3jKALDe53Vs/zmBDSPgy0u1lhNgHY6zk6Aspmowyk7i0aBG7FSUA8UwwbFEKIgYaku7yiRudW1djP3O6TJn81liyMbFUXZxxau8khrterqgomqA+7mfabuSj2rWzbXbe3pmCq1XWIiycbYnhyn1boCpH+fedxoxPPhyjwpAz88swidwFWrNxna1+QFYB0Q7Il+oQQ4m356jrT1TOtr1NvdqzdrMVhNg0Gfy X-OriginatorOrg: umons.ac.be X-MS-Exchange-CrossTenant-Network-Message-Id: 5e0020a5-4974-408d-4bf2-08d8097d86ba X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jun 2020 18:23:21.0352 (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: qe0/vl3rROQLY6GBJGpSn/PZGoQiIE2twUN5Oa8l0uFOgsoUNrGyprnNr2RuBjbvzOOZ1/V1XEVxy8k2uFnBJg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR01MB4697 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi, Thanks for your comments. On 5 June 2020 at 19:58 CEST, Basil L. Contovounesios wr= ote: > > 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. Thanks, I have updated it. >> + (lwarn 'gnus :warning > ^^^^^ > Why not 'gnus-icalendar instead? I used =E2=80=9C'gnus=E2=80=9D as the umbrella but =E2=80=9C'gnus-icalendar= =E2=80=9D is fine too. Updated patch attached. Best, 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 46b02723e714aa0d0e740c61cc6fd7d05e426978 Mon Sep 17 00:00:00 2001 From: Christophe Troestler 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" * 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. 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..29d3e30780 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-icalendar :warning + "Could not find an event attendee matching given identity")) (mapconcat #'identity `("BEGIN:VEVENT" ,@(nreverse reply-event-lines) -- 2.26.2 --=-=-=-- From unknown Sat Sep 06 14:23:50 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41723: 26.3; Enable replying to an ical event even when not an attendee Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bugs@gnus.org, bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Aug 2020 16:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41723 X-GNU-PR-Package: gnus,emacs X-GNU-PR-Keywords: patch To: Christophe Troestler Cc: "Basil L. Contovounesios" , 41723@debbugs.gnu.org Received: via spool by 41723-submit@debbugs.gnu.org id=B41723.159664334014921 (code B ref 41723); Wed, 05 Aug 2020 16:03:02 +0000 Received: (at 41723) by debbugs.gnu.org; 5 Aug 2020 16:02:20 +0000 Received: from localhost ([127.0.0.1]:52061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Lrv-0003sb-Nw for submit@debbugs.gnu.org; Wed, 05 Aug 2020 12:02:19 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43202) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Lrt-0003sL-QA for 41723@debbugs.gnu.org; Wed, 05 Aug 2020 12:02:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Qe/+p4siD84dsdFGRfKrUSsqHnGOdTZGilEcwSGj2xY=; b=bOCmtna7MmYhsXGYqLYuSdSYUI /RInR0WsgqIgndWnMbZkzO2qx7SQzKA34Xuqw2KZESx5HRd/pG6EnOX/Uemcm0b6cbpLOkUFzfu7D 5WXGhXT8fav6+P1htJaZr15t77T4pYN3C2kgap3dRnNGWCUzWDOA/1h0wMk+TlfvFeMk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3Lri-0006P6-SA; Wed, 05 Aug 2020 18:02:11 +0200 From: Lars Ingebrigtsen References: <87k10lld4p.fsf@poincare.umons.ac.be> <87v9k5cs2v.fsf@tcd.ie> <87sgf9jrs8.fsf@poincare.umons.ac.be> Date: Wed, 05 Aug 2020 18:02:05 +0200 In-Reply-To: <87sgf9jrs8.fsf@poincare.umons.ac.be> (Christophe Troestler's message of "Fri, 05 Jun 2020 20:23:19 +0200") Message-ID: <874kphjd36.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Christophe Troestler writes: > I used =?UTF-8?Q?=E2=80=9C'gnus=E2=80=9D?= as the umbrella but =?UTF-8?Q?=E2=80=9C'gnus-icalendar=E2=80=9D?= is fine too. > > Updated patch attached. Thanks; applied to Emacs 28. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Christophe Troestler writes: > I used =E2=80=9C'gnus=E2=80=9D as the umbrella but =E2=80=9C'gnus-icalend= ar=E2=80=9D is fine too. > > Updated patch attached. Thanks; applied to Emacs 28. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 05 12:02:27 2020 Received: (at control) by debbugs.gnu.org; 5 Aug 2020 16:02:27 +0000 Received: from localhost ([127.0.0.1]:52064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ls3-0003sv-1W for submit@debbugs.gnu.org; Wed, 05 Aug 2020 12:02:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:43218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k3Ls1-0003si-HY for control@debbugs.gnu.org; Wed, 05 Aug 2020 12:02:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IuxRJNBk0lLDnMqeHHLKai2/5wm8cubk8KU5PH/WLzk=; b=JYKRqOK2RHydEyIiWUQft6As9B Gf4zcWPpdAMSGFbOCNdGm5mKY9RPlscot2zNPP9RB8BgnyD7yY2QvyHvLKAvCTETQtk43tJCMVBNn GNnSLVlALOut49NuCSHP6dnodMozrNkrraSLqgIoN1wGffAkYU7uKYTuEaUNt/MoFiBI=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k3Lrt-0006PE-Qn for control@debbugs.gnu.org; Wed, 05 Aug 2020 18:02:19 +0200 Date: Wed, 05 Aug 2020 18:02:16 +0200 Message-Id: <873651jd2v.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #41723 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 41723 fixed close 41723 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 41723 fixed close 41723 28.1 quit