When I copy some selected text (
M-w), I automatically lose my selection. I have tried with Transient Mark Mode with no luck. (Note that I'm not using CUA Mode.)
The best solution is using
C-x C-x to reactivate the mark.
But if you want to really keep the selection you can use:
(defun copy-keep-highlight (beg end) (interactive "r") (prog1 (kill-ring-save beg end) (setq deactivate-mark nil)))