1

If I click and drag my mouse within a buffer, garbage text appears all around the mouse.

I have tried (global-set-key [drag-mouse-1] 'mouse-set-region) with no effect. I have otherwise no explicit remapping of mouse-1. How can I redefine normal drag-mouse-1 behaviour or at least disable the current action?

2
  • You're using emacs in a terminal? It sounds like you may be interested in xterm-mouse-mode. – PythonNut Jan 11 '16 at 16:32
  • The drag-mouse-1 event is generated at the end of the drag, not during the drag. – Stefan Jan 12 '16 at 15:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.