From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oB3OAL2PVmN0DgEAbAwnHQ (envelope-from ) for ; Mon, 24 Oct 2022 15:14:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6IJoO7yPVmPGaQAAG6o9tA (envelope-from ) for ; Mon, 24 Oct 2022 15:14:36 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A4C7CE7C for ; Mon, 24 Oct 2022 15:14:36 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1omx6n-0007re-PU; Mon, 24 Oct 2022 09:03:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omx6N-0007jk-6s for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 09:02:47 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1omx6F-0007Xj-PO for emacs-orgmode@gnu.org; Mon, 24 Oct 2022 09:02:46 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4B8FE240104 for ; Mon, 24 Oct 2022 15:02:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666616557; bh=SjaCRqph++G9WaJi66A+vvU4tP6+Qx+FCRI68Ri2D5U=; h=From:To:Cc:Subject:Date:From; b=OHl5J3WONYQ1hHZ49HVO+vege9sISqMDfF8CUAQP5LvziBPOqvONgG6qHsBixqjTw QQWqmuXbvNCXgxZXGR7M38g6xacJMaQPJ+IYUYu1S1J25S7m0Nzx/xreU1FMvMOdHY vr4DLD7g1YXntQf6RCgjiV24MV5IsaLpHHhjADbAAD2ZjuTJ9lYNEhMAnGiaL6oq6i qjMa9P2vDTewvtP0X5l02guMMJLz0tH4BRu1757Ky7h18hlEFHyrK+KJIl6L/HNqSu MDtJBHECJR7MChijOku2LeoC3HGUhT/rREfKJGO4rMa+28g/f2Innx8Bvu2FrAyAP/ n96NNvOxv3kQg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MwwGM73Mrz6trV; Mon, 24 Oct 2022 15:02:35 +0200 (CEST) From: Ihor Radchenko To: Mark Kerr Cc: emacs-orgmode@gnu.org Subject: Re: [O] Bug: Bulk adding tags in agenda does not respect radio groups In-Reply-To: References: Date: Mon, 24 Oct 2022 13:03:19 +0000 Message-ID: <878rl5v0fc.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666617276; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eV0FM9ma/AFIFP00SmAqnQzaFFqxYQhnyYLdkcOvKxc=; b=Q4IvpM5SfZQWfnHQ977Cq+XGGGqb7EeLNFHaRb73O97/FS68rBVJXho6+vm3U4DNBUxxkg LPZgTzhAFNWpoB8waufI/+IyzECy1+AJrtz7At6k/w4LDS7nGbPTj5B89/+fCFECj879xO v+kkgDPagDj5KYXvNQkSzGeS6RohJWi9eMB4FCJvY3GsihvpXowqXE/t+8sn1fJti7E4yd rOCg5OH7WOkngdWz0k7WewiJkK5wfkgC2nJMulD9A5wXuZiYWrimOaAINXIV5on4hDC9EI s0TdaYXr+BFh2ou9Dxxaa70Rqyi0lffGX6/FDqLQ/C3/qaGbfjWIkD9yPsqLjA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666617276; a=rsa-sha256; cv=none; b=by0eJG7FUnkQurlWfdjHuqtoRFn78yElde4MuyC6mFEif7Ibm6p8iARnH2Dp4UPfrHk8V6 4UQoogmkiC73cyizboHDQ2R2p0qSIZOoKsvi12ZqkqaGVgu+qh2NvFsRcmjiMSBz8AuLny evjGJcd5sqzS+HpP+V+X6JqFuSKzKC0Befc8eO4Kz85yb5QL5HTMSEFZGnBxyBrA5Eaao3 A4gA7IRTqGvZLqKU9NMQ+cLx+p0trwDsBQUJSW1yXfCxyUljws7UzIiaq2aU+3R0wKwSkC WYMUlviaxET9CRCrMfdTiGp9tRY15mlLmEatWoKGEOzP10s0ATgJurkaKJy55g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OHl5J3WO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OHl5J3WO; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7A4C7CE7C X-Spam-Score: -2.10 X-Migadu-Scanner: scn1.migadu.com X-TUID: Pyo8k2728mFO Mark Kerr writes: > I have a radio group of 3 tags defined in org-tag-alist: now. next, later. > This tag group works correctly when editing the tags directly in the > original org files or when the tags are edited individually in the agenda > using ':'. > > When editing tags via the agenda's bulk editing command, however, adding a > tag from that radio group does not remove any pre-existing tags from that > group. > > For example, say an item is already tagged "now", and the tag "next" is > added to it via bulk editing. The expected result is that the tag "next" is > added and the tag "now" is removed. Instead, the result is ":now:next:", as > the pre-existing tag is not removed. > > I have version 9.2.3 Sorry for the late reply. This is yet another case where limited tag group support shows up. Note that Org mode support for group tags is mostly tailored for agenda matching. Commands are not well-adapted. The fix will require careful review of Org code and is not trivial. Patches always welcome though. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at