emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and drop patch for X, please review.


From: Jan D.
Subject: Re: Drag and drop patch for X, please review.
Date: Tue, 20 Jan 2004 21:33:26 +0100


2004-01-20 kl. 19.43 skrev Stefan Monnier:

Dropping a file name on the menu bar currently opens the file in a new
window.  I think that is useful (i.e. I use it all the time :-)

It might be useful, but I'd find it confusing.

It is how it works on most applications, and indeed in Emacs when running
on W32 (at least it did a couple of years ago, when I ran Emacs on W32).
For most people, the biggest benefit of supporting DND is to be able to
open a file by dragging it from a file manager to the appropriate
application (Emacs in this case). Inserting the file name in a buffer is a very non-standard behaviour. For example, all Gnome and KDE text editors
behave this way.  Since Emacs is relative new in the DND game, I'd like
Emacs to behave like other applications in this regard (but not in any
other function obviously :-).  I find it harder to explain to a user why
a drop on the tool bar and the menu bar is not acceptable to open a file.
If we do that, I think we will get bug reports on it.


If dropping text onto File, the user might reasonable expect the text
to be pasted into window 1, because it is closest.  Dropping on Tools
can be expected to paste the text into window 3.

For me that would spell more confusion.
I'd much rather drop directly into the window or maybe the modeline (in
case you want the "drop into window" to insert the file's path instead).

Yes of course.  But then we are back to the question, shall we reject
the drop in this case, or accept it.  It sounds like you want to reject
it in this case, which is what I tried to do initially.

        Jan D.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]