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 11:19:18 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

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

> >
> > I think it is better not to try to say yes and no in different Emacs
> > buffers.  We should treat all of the buffer text areas in a uniform way
> > as regards accepting drops there.
> 
> Okay, then we can put the data in the kill ring if it can't be inserted.
> 
> > However, the menu bars could be treated differently, since the C code
> > can tell whether the pointer is in a menu bar.  Likewise, maybe Emacs
> > could always reject drops in scroll bars, or in the echo area when the
> > minibuffer is inactive (or maybe always in the echo area).

IMO, dropping it in the echo area/mini buffer should mean to copy the
file-name/whatever to the kill-ring unconditionally.

> >
> > Mode lines also would have to be treated uniformly, I guess.
> > Is there a useful meaning for a drop in the mode line?
> 
> Well, if a drop of a file opens the file, it should do it for the
> mode line also I think.

But contrary to dropping it on the menu-bar (which does
find-file-other-window), I think that dropping it on the mode line of
a window should open the file in that window.


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





reply via email to

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