> After I replaced my patch and merged Bastien's fix, I started seeingIf I may ask, why using %(org-set-tags) instead of %^g or %^G?
> the error though less frequently than before. It didn't occur in the
> template I posted, but I started seeing it again in another template.
>
> ("w" "org-protocol tag" entry (file "~/org/bookmarks.org")
> "* %:description %(org-set-tags)\n %i\n\n %:link\n%?
> "
> :prepend t :empty-lines-after 1 :clock-in t
> :clock-resume t)
> I switched back to my initial patch that was checking if the mark wasI think the right fix is to exclude `mark-active' from the local
> set before trying to access the region. This worked: the errors
> disappeared.
variable that are imported through `org-capture-steal-local-variables'.
I installed such a fix in maint, please update Org and let me know if
this works for you.
Thanks,
--
Bastien