improve emacs line copy and killing