]> git.eshelyaron.com Git - emacs.git/commit
Allow dragging files from Dired to other programs
authorPo Lu <luangruo@yahoo.com>
Fri, 18 Mar 2022 05:17:19 +0000 (13:17 +0800)
committerPo Lu <luangruo@yahoo.com>
Fri, 18 Mar 2022 05:17:19 +0000 (13:17 +0800)
commit45609c347e7810b20c54bedc1ce5355182f240e5
treedacf08d61bf7c25006caa9647ec12f6728e627b9
parente781cbb2d3ec3b4cfd35cd29ccba8e1c265fad4a
Allow dragging files from Dired to other programs

* etc/NEWS: Announce new user option `dired-mouse-drag-files'.
* lisp/dired.el (dired-mouse-drag-files): New user option.
(dired-mouse-drag): New command.
(dired-mouse-drag-files-map): New variable.
(dired-insert-set-properties): Add additional keymap if mouse
dragging is enabled.

* lisp/select.el (xselect-convert-to-targets): Handle new
form of selection converters.
(xselect-convert-to-username):
(xselect-convert-to-text-uri-list):
(xselect-uri-list-available-p): New functions.
(selection-converter-alist): Add them as selection converters.

* src/xselect.c (x_get_local_selection): Handle new form of
selection converters.
(syms_of_xselect): Update doc strings.
etc/NEWS
lisp/dired.el
lisp/select.el
src/xselect.c