[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 |
Folks,
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
(progn
; track mouse and inert cut/copied text at the mouse up location
)
(progn
(mouse-drag-region start-event)
)
)
)
(global-set-key [(down-mouse-1)] drag-cut-copy-paste)
- Drag and drop editing in emacs...,
Sandip Chitale <=