Given 2 absolute numbers (compatible with region-beginning
, region-end
).
How can these numbers be used to set the selection?
Edit: If you use evil mode you may want to check this question, at the time of asking I wasn't aware this required a different method in some cases.
(setq deactivate-mark nil)
may need to be set in some cases (as you found when looking into why setting selection sometimes fails). – ideasman42 Aug 15 '17 at 02:03