From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: Drag and drop patch for X, please review. Date: 22 Jan 2004 12:32:27 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <200401171729.i0HHT1wq016912@stubby.bodenonline.com> <20040118004009.GA24635@fencepost> <2C5AAB61-49F7-11D8-A763-00039363E640@swipnet.se> <74293710-4B62-11D8-89AF-00039363E640@swipnet.se> <39277C06-4B8A-11D8-AF87-00039363E640@swipnet.se> <6DDE2AC7-4C61-11D8-89BA-00039363E640@swipnet.se> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074767773 2346 80.91.224.253 (22 Jan 2004 10:36:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 22 Jan 2004 10:36:13 +0000 (UTC) Cc: emacs-devel@gnu.org, rms@gnu.org, monnier@iro.umontreal.ca, miles@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jan 22 11:36:04 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjcBw-00087S-00 for ; Thu, 22 Jan 2004 11:36:04 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AjcBw-0006hX-00 for ; Thu, 22 Jan 2004 11:36:04 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ajc9d-0007ui-Rn for emacs-devel@quimby.gnus.org; Thu, 22 Jan 2004 05:33:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Ajc95-0007ub-JK for emacs-devel@gnu.org; Thu, 22 Jan 2004 05:33:07 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Ajc8Z-0007in-99 for emacs-devel@gnu.org; Thu, 22 Jan 2004 05:33:06 -0500 Original-Received: from [212.88.64.25] (helo=mail-relay.sonofon.dk) by monty-python.gnu.org with smtp (Exim 4.24) id 1Ajc8Y-0007ig-NI for emacs-devel@gnu.org; Thu, 22 Jan 2004 05:32:34 -0500 Original-Received: (qmail 94274 invoked from network); 22 Jan 2004 10:32:33 -0000 Original-Received: from unknown (HELO kfs-l.imdomain.dk.cua.dk) (213.83.150.2) by 0 with SMTP; 22 Jan 2004 10:32:33 -0000 Original-To: "Jan D." In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:19424 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19424 "Jan D." 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 http://www.cua.dk