[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drag and drop editing in emacs...

From: Sandip Chitale
Subject: Drag and drop editing in emacs...
Date: Sun, 09 Feb 2003 16:47:06 GMT

    GNU Emacs alllows draggin mouse to create selection.
I was wondering why is isn't there a drag and drop editing support also.
Could something like the following be done ?
(defun drag-cut-copy-paste (start-event)
"Drag and drop editing."
  (interactive "e")
  (if mark-active
; track mouse and inert cut/copied text at the mouse up location
          (mouse-drag-region start-event)
(global-set-key [(down-mouse-1)] drag-cut-copy-paste)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]