aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPo Lu2022-04-03 09:14:24 +0800
committerPo Lu2022-04-03 09:14:24 +0800
commit1694f82e5f91f1ea96604c7c0aee4537fbada765 (patch)
tree57940412128e124204b052e15c185f799ca89f3f /etc
parent4afd34edd34ef734eda36efda08add5566a72fd9 (diff)
downloademacs-1694f82e5f91f1ea96604c7c0aee4537fbada765.tar.gz
emacs-1694f82e5f91f1ea96604c7c0aee4537fbada765.zip
Add user options to move point and scroll window during DND
* doc/emacs/frames.texi (Drag and Drop): * etc/NEWS: Document new options 'dnd-scroll-margin' and 'dnd-indicate-insertion-point'. * lisp/dnd.el (dnd-protocol-alist): (dnd-open-remote-file-function): (dnd-open-file-other-window): Add right group to defcustoms. (dnd-scroll-margin, dnd-indicate-insertion-point): New user options. (dnd-handle-movement): New function. * lisp/x-dnd.el (x-dnd-handle-xdnd): (x-dnd-handle-motif): Call `dnd-handle-movement' when appropriate.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 199f07a0334..037a9724d8a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -196,6 +196,11 @@ If non-nil, this option allows scrolling a window while dragging text
196around without a scroll wheel. 196around without a scroll wheel.
197 197
198+++ 198+++
199** New user options 'dnd-indicate-insertion-point' and 'dnd-scroll-margin'.
200These options allow adjusting point and scrolling a window when
201dragging items from another program.
202
203+++
199** New function 'command-query'. 204** New function 'command-query'.
200This function makes its argument command prompt the user for 205This function makes its argument command prompt the user for
201confirmation before executing. 206confirmation before executing.