emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: Bulk adding tags in agenda does not respect radio groups
@ 2019-06-10  1:37 Mark Kerr
  2022-10-24 13:03 ` [O] " Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Kerr @ 2019-06-10  1:37 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 683 bytes --]

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

- Mark Kerr

[-- Attachment #2: Type: text/html, Size: 874 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [O] Bug: Bulk adding tags in agenda does not respect radio groups
  2019-06-10  1:37 Bug: Bulk adding tags in agenda does not respect radio groups Mark Kerr
@ 2022-10-24 13:03 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-10-24 13:03 UTC (permalink / raw)
  To: Mark Kerr; +Cc: emacs-orgmode

Mark Kerr <mark@kerrsolutions.ca> 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 <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-24 13:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-10  1:37 Bug: Bulk adding tags in agenda does not respect radio groups Mark Kerr
2022-10-24 13:03 ` [O] " Ihor Radchenko

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).