Subject: Re: bug#6774: Cut and paste with C-w/mouse-2 not working?

From: Stefan Monnier <[email-masked]>
Date: Thu, 12 Aug 2010 10:29:01 +0200

>> So the C-f (or any other movement) would cause the selection of PRIMARY?
> When transient-mark-mode is on (including temporary one), I
> think yes.
>> That would have to be performed in some kind of post-command-hook, which
>> is undesirable.
> We can add a proper code to set_point_both like this code in
> init_iterator (xdisp.c).

Putting it in set_point_both would be much worse than on
post-command-hook (set-point-both is a very low-level function,
triggered in many more cases than just moving the cursor).

        Stefan