rebind the behaviors of DEL, when region is selected, DEL will delete the selected region
encapsulate the (and transient-mark-mode mark-active) into a simple util function