diff options
| author | Po Lu | 2022-04-03 09:14:24 +0800 |
|---|---|---|
| committer | Po Lu | 2022-04-03 09:14:24 +0800 |
| commit | 1694f82e5f91f1ea96604c7c0aee4537fbada765 (patch) | |
| tree | 57940412128e124204b052e15c185f799ca89f3f /etc | |
| parent | 4afd34edd34ef734eda36efda08add5566a72fd9 (diff) | |
| download | emacs-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/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -196,6 +196,11 @@ If non-nil, this option allows scrolling a window while dragging text | |||
| 196 | around without a scroll wheel. | 196 | around without a scroll wheel. |
| 197 | 197 | ||
| 198 | +++ | 198 | +++ |
| 199 | ** New user options 'dnd-indicate-insertion-point' and 'dnd-scroll-margin'. | ||
| 200 | These options allow adjusting point and scrolling a window when | ||
| 201 | dragging items from another program. | ||
| 202 | |||
| 203 | +++ | ||
| 199 | ** New function 'command-query'. | 204 | ** New function 'command-query'. |
| 200 | This function makes its argument command prompt the user for | 205 | This function makes its argument command prompt the user for |
| 201 | confirmation before executing. | 206 | confirmation before executing. |