Stefan Monnier <monn...@iro.umontreal.ca> writes: >> The problem is in org-indent-refresh-section, which is run from a timer. >> This function first moves point and then calls remove-text-properties, >> which is considered a buffer change. Since the mark is active, the >> selection code saves the region to saved-region-selection, from which it >> is later saved to the primary selection. > > Shouldn't org-indent-refresh-section use with-silent-modifications > around the remove-text-properties call?
If we were starting from scratch, I think it's more sensible to make text property changes "silent" by default, while providing an explicit call to "unsilence" them when desired (which seem to be a minority of cases). I guess it's too late to change now, though. _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode