I am currently writing a paper. I would like to have the papers cateogrized in: TODO, excluded, included.
That means, a paper can be either TODO, excluded, included. Can I do that with groups? I started with “included” and “excluded”. However, these two groups are not mutually exclusive.
Two other approaches to create exclusive groups would be
Allow entries to only be within a single group. This would remove a valuable feature currently provided by Jabref: Allow entries to be within multiple groups.
Jabref acquires a mechanism that can mark a group as exclusive. The user would need to actively activate this option when creating a group or enabling it via preferences. There are at least two different variants of this:
Yet again, all entries that will be attached to this group can only be part of this group and none other. Jabref actively deletes all other groups from the entry and prevents the user to add such entries to other groups. Current Jabref is not able to do this i believe.
OR
All entries that will be attached to this group will not be able to be part of groups specified by the user under group options/preferences. This allows to only exclude specific groups instead of ALL groups. If i am not mistaken Create disjoint subgroups · Issue #7049 · JabRef/jabref · GitHub shows how this is currently handled.
With my crude understanding, the search functionality of Jabref (e.g. something like: ´NOT(group=excluded)´) would play a crucial part in all of the approaches, regardless if the user uses it, or if Jabref one day may use it automatically in the background.
Heureka , I found a solution for JabRef 5.6 January 2022:
It makes use of including additional conditions into the regular expression, to be exact other labels or keywords. The example uses readstatus=read and readstatus=skimmed to achieve this, but in theory other fields are possible too.
Configuration for the three groups included, excluded and to do:
Known problems:
Using this specific solution, entries cannot be manually moved from included to excluded group anymore using the add selected entries to this group button.
Thanks again to @aexel and his post that describes how to create a group based on readstatus.