Finally solved shift+up select problem in emacs