aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Djärv2004-02-03 18:02:45 +0000
committerJan Djärv2004-02-03 18:02:45 +0000
commit549007363da5ee3d6eba2c5ef6609b3955b85df5 (patch)
treebee363e2c98ab06497d01436f79875da2d539342
parent0074d3a09565a15a27a1347f216d110fdd9ada1e (diff)
downloademacs-549007363da5ee3d6eba2c5ef6609b3955b85df5.tar.gz
emacs-549007363da5ee3d6eba2c5ef6609b3955b85df5.zip
* frames.texi (Drag and drop): New section.
-rw-r--r--man/ChangeLog4
-rw-r--r--man/frames.texi33
2 files changed, 37 insertions, 0 deletions
diff --git a/man/ChangeLog b/man/ChangeLog
index 0cb867e5af1..9c9334bf1f5 100644
--- a/man/ChangeLog
+++ b/man/ChangeLog
@@ -1,3 +1,7 @@
12004-02-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * frames.texi (Drag and drop): New section.
4
12004-01-24 Richard M. Stallman <rms@gnu.org> 52004-01-24 Richard M. Stallman <rms@gnu.org>
2 6
3 * emacs.texi (Acknowledgments): Renamed from Acknowledgements. 7 * emacs.texi (Acknowledgments): Renamed from Acknowledgements.
diff --git a/man/frames.texi b/man/frames.texi
index 2663a417b10..9a0882e3e5a 100644
--- a/man/frames.texi
+++ b/man/frames.texi
@@ -48,6 +48,7 @@ under X.
48* Frame Parameters:: Changing the colors and other modes of frames. 48* Frame Parameters:: Changing the colors and other modes of frames.
49* Scroll Bars:: How to enable and disable scroll bars; how to use them. 49* Scroll Bars:: How to enable and disable scroll bars; how to use them.
50* Wheeled Mice:: Using mouse wheels for scrolling. 50* Wheeled Mice:: Using mouse wheels for scrolling.
51* Drag and drop:: Using drag and drop to open files and insert text.
51* Menu Bars:: Enabling and disabling the menu bar. 52* Menu Bars:: Enabling and disabling the menu bar.
52* Tool Bars:: Enabling and disabling the tool bar. 53* Tool Bars:: Enabling and disabling the tool bar.
53* Dialog Boxes:: Controlling use of dialog boxes. 54* Dialog Boxes:: Controlling use of dialog boxes.
@@ -795,6 +796,38 @@ generating appropriate events for Emacs.
795@code{mouse-wheel-scroll-amount} determine where and by how much 796@code{mouse-wheel-scroll-amount} determine where and by how much
796buffers are scrolled. 797buffers are scrolled.
797 798
799@node Drag and drop
800@section Drag and drop in Emacs.
801
802@cindex drag and drop
803 Emacs supports drag and drop so that dropping of files and text is handeled.
804There is no drag support yet. When text is dropped, Emacs will insert the
805text where it is dropped. When a file is dragged from a file manager to
806Emacs, Emacs will open that file.
807As a special case, if a file is dropped on a dired buffer the file will
808be copied or moved (depends on exactly how it is dragged and the application
809is was dragged from) to the directory the dired buffer is displaying.
810
811 A file is normally opened in the window it is dropped on, but if you
812prefer the file to be opened in a new window, you can customize the variable
813@code{x-dnd-open-file-other-window}.
814
815@vindex x-dnd-types-alist
816 If you want to change the way Emacs handles drop of different types,
817or add a new type, you shall customize @code{x-dnd-types-alist}. This
818requires detailed knowledge of what types other applications use
819for drag and drop.
820
821@vindex x-dnd-protocol-alist
822 When an URL is dropped on Emacs, it may be a file, but it may also be
823another URL type (ftp, http, etc.). Emacs first checks
824@code{x-dnd-protocol-alist} to determine what to do with the URL. If there
825is no match there, and if @code{browse-url-browser-function} is an alist,
826Emacs looks for a match there. If no match is found, the text for the URL
827is inserted. If you want to alter Emacs behaviour you can customize these
828variables.
829
830
798@node Menu Bars 831@node Menu Bars
799@section Menu Bars 832@section Menu Bars
800@cindex Menu Bar mode 833@cindex Menu Bar mode