Package: emacs Version: 23.0.60 Severity: normal Tags: patch The select-active-regions in-tree does not work in all cases - it works when the region is changed by moving the mark but not when it is changed by certain other means e.g. moving the point with the keyboard. (Workaround: C-x C-x C-x C-x ...). There were a couple of approaches tried a while back (see emacs-devel "Improved X Selections" thread). The idle timer seemed to work best in practice, despite (or because of) "coarse graining" i.e. a bunch of small region changes in a row don't reupdate the selection for each change, only kicks in when emacs has idled. Attached patch is a simple idle-timer based implementation. Concerns here may also apply to the activate-mark-hook (which states in its documentation that it is rerun when region changes). Having that work similarly with the same method would probably mean that active region timer would have to be enabled whenever the mark is active, not just when select-active-regions is on.