@theducks: thanks for the suggestions. I spent some hours over the last few days looking at similar ideas, but ran into too many problems. One can delete and add custom columns using the CLI, where popping up random questions is not usually appreciated. In the GUI, columns aren't actually deleted until calibre exits, where we no longer have the option of asking the user any questions. There isn't anyplace one could "paste" an archived rule. Some conditions such as "is set" can survive a type change so deleting the rules halfway through the delete/add process can be suboptimal.. And so on.
Of course all of these problems could be fixed, but it is more work than I am willing to do for a problem that is so rare. I think the solution I submitted plus Kovid's change take us far enough.
|