An macro to enable region support for emacs command