Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
54900736
Commit
54900736
authored
Feb 03, 2004
by
Jan Djärv
Browse files
* frames.texi (Drag and drop): New section.
parent
0074d3a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
0 deletions
+37
-0
man/ChangeLog
man/ChangeLog
+4
-0
man/frames.texi
man/frames.texi
+33
-0
No files found.
man/ChangeLog
View file @
54900736
2004-02-03 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* frames.texi (Drag and drop): New section.
2004-01-24 Richard M. Stallman <rms@gnu.org>
* emacs.texi (Acknowledgments): Renamed from Acknowledgements.
...
...
man/frames.texi
View file @
54900736
...
...
@@ -48,6 +48,7 @@ under X.
* Frame Parameters:: Changing the colors and other modes of frames.
* Scroll Bars:: How to enable and disable scroll bars; how to use them.
* Wheeled Mice:: Using mouse wheels for scrolling.
* Drag and drop:: Using drag and drop to open files and insert text.
* Menu Bars:: Enabling and disabling the menu bar.
* Tool Bars:: Enabling and disabling the tool bar.
* Dialog Boxes:: Controlling use of dialog boxes.
...
...
@@ -795,6 +796,38 @@ generating appropriate events for Emacs.
@code{mouse-wheel-scroll-amount} determine where and by how much
buffers are scrolled.
@node Drag and drop
@section Drag and drop in Emacs.
@cindex drag and drop
Emacs supports drag and drop so that dropping of files and text is handeled.
There is no drag support yet. When text is dropped, Emacs will insert the
text where it is dropped. When a file is dragged from a file manager to
Emacs, Emacs will open that file.
As a special case, if a file is dropped on a dired buffer the file will
be copied or moved (depends on exactly how it is dragged and the application
is was dragged from) to the directory the dired buffer is displaying.
A file is normally opened in the window it is dropped on, but if you
prefer the file to be opened in a new window, you can customize the variable
@code{x-dnd-open-file-other-window}.
@vindex x-dnd-types-alist
If you want to change the way Emacs handles drop of different types,
or add a new type, you shall customize @code{x-dnd-types-alist}. This
requires detailed knowledge of what types other applications use
for drag and drop.
@vindex x-dnd-protocol-alist
When an URL is dropped on Emacs, it may be a file, but it may also be
another URL type (ftp, http, etc.). Emacs first checks
@code{x-dnd-protocol-alist} to determine what to do with the URL. If there
is no match there, and if @code{browse-url-browser-function} is an alist,
Emacs looks for a match there. If no match is found, the text for the URL
is inserted. If you want to alter Emacs behaviour you can customize these
variables.
@node Menu Bars
@section Menu Bars
@cindex Menu Bar mode
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment