unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Drag and drop editing in emacs...
@ 2003-02-09 16:47 Sandip Chitale
  2003-02-09 21:49 ` Christopher J. White
  0 siblings, 1 reply; 2+ messages in thread
From: Sandip Chitale @ 2003-02-09 16:47 UTC (permalink / raw)



[-- Attachment #1.1: Type: text/plain, Size: 519 bytes --]

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)
   


[-- Attachment #1.2: Type: text/html, Size: 1422 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-02-09 21:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-09 16:47 Drag and drop editing in emacs Sandip Chitale
2003-02-09 21:49 ` Christopher J. White

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).