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: Kim F. Storm
Subject: Re: Drag and drop patch for X, please review.
Date: 22 Jan 2004 12:32:27 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

"Jan D." <address@hidden> writes:

> > IMO, dropping it in the echo area/mini buffer should mean to copy the
> > file-name/whatever to the kill-ring unconditionally.
> 
> Hmm, I think it is likely that someone might want to drop say a file
> name (i.e. mark a file name in some other application and drag it to
> Emacs) to the mini buffer, and really have the text inserted there.
> I am talking about dragging text here, not a uri-list, which currently
> opens the file instead (for example, dragging from a file manager).
> I think this operation is the same as doing copy/past with the mouse
> from another application to Emacs mini buffer.  Wouldn't it be strange
> if drag-drop and copy-paste behaved differently for the mini buffer?

Yes, you are right.

> That is what I am doing now, so if you have several windows in a frame,
> the one where a file is dropped is used.  This happens anywhere in the
> buffer, not just the mode line.

So if you drag a file name, the file opens in that window,
if you drag text, text is inserted in that window.

Sounds good.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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