]> git.eshelyaron.com Git - emacs.git/commitdiff
Document 'mouse-drag-and-drop-region' options and mention them in NEWS
authorTak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Fri, 22 Dec 2017 08:39:07 +0000 (09:39 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Fri, 22 Dec 2017 08:39:07 +0000 (09:39 +0100)
* doc/emacs/frames.texi (Drag and Drop):
* etc/NEWS (times): Document options for
'mouse-drag-and-drop-region' and mention them in NEWS.

doc/emacs/frames.texi
etc/NEWS

index 58e70eefaf5b2e05e1a63380d50f0ae2face8b9e..5a052600ce4e8b0937292981299a17eba9203eeb 100644 (file)
@@ -1114,6 +1114,15 @@ names a modifier key, such as @samp{shift}, @samp{control} or
 will copy it instead of cutting it, even if you drop on the same
 buffer as the one from which the text came.
 
+In order to cut text even when source and destination buffers differ,
+set the option
+@code{mouse-drag-and-drop-region-cut-when-buffers-differ} to a
+non-@code{nil} value.  By default, on a graphic display the selected
+text is shown in a tooltip and point moves together with the mouse
+cursor during dragging.  To suppress such behavior, set the options
+@code{mouse-drag-and-drop-region-show-tooltip} and/or
+@code{mouse-drag-and-drop-region-show-cursor} to @code{nil}.
+
 
 @node Menu Bars
 @section Menu Bars
index d751adde9b5760b284b3dd276839ebf28519d59b..7ad852ec7155cf78b3638ab0f08873356536c877 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -264,7 +264,11 @@ point to the beginning of the region.
 
 +++
 ** The new user option 'mouse-drag-and-drop-region' allows to drag the
-entire region of text to another place or another buffer.
+entire region of text to another place or another buffer.  Its
+behavior is customizable via the new options
+'mouse-drag-and-drop-region-cut-when-buffers-differ',
+'mouse-drag-and-drop-region-show-tooltip' and
+'mouse-drag-and-drop-region-show-cursor'.
 
 +++
 ** The new user option 'confirm-kill-processes' allows the user to