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: 18 Jan 2004 23:10:00 +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> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1074460970 17486 80.91.224.253 (18 Jan 2004 21:22:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 21:22:50 +0000 (UTC) Cc: emacs-devel@gnu.org, Miles Bader Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sun Jan 18 22:22:44 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 1AiKNY-00040L-00 for ; Sun, 18 Jan 2004 22:22:44 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiKNY-0005FK-00 for ; Sun, 18 Jan 2004 22:22:44 +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 1AiKGj-0003O9-HN for emacs-devel@quimby.gnus.org; Sun, 18 Jan 2004 16:15:41 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AiKF3-0002C7-0y for emacs-devel@gnu.org; Sun, 18 Jan 2004 16:13:57 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AiKEK-0001kP-Vm for emacs-devel@gnu.org; Sun, 18 Jan 2004 16:13:48 -0500 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1AiKEK-0001hq-Lg; Sun, 18 Jan 2004 16:13:12 -0500 Original-Received: from [195.41.46.237] (helo=pfepc.post.tele.dk) by mx20.gnu.org with esmtp (Exim 4.24) id 1AiKBR-0004cz-EY; Sun, 18 Jan 2004 16:10:13 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepc.post.tele.dk (Postfix) with SMTP id ED1CD262AEF; Sun, 18 Jan 2004 22:10:00 +0100 (CET) Original-To: "Jan D." In-Reply-To: <2C5AAB61-49F7-11D8-A763-00039363E640@swipnet.se> Original-Lines: 25 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:19248 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19248 "Jan D." writes: > There is one problem with this, I need to know beforehand what Emacs > is going to to with the URL to tell the drop source if Emacs is > accepting > the URL or not. Consider dropping text that will be inserted in a > buffer. > It is not useful (or easy to make it work correctly) to drop that on the > tool bar, menu bar or scroll bar. If you have multiple windows in the > frame, it is hard to select the one the user intended. Also, if the > buffer is read only, we don't want to accept a drop there. So currently > these kind of drops are not accepted. In those cases, it could just copy the url to the kill-ring and print a suitable message in the echo area, e.g. Use C-y to insert the dropped URL. > But dropping a file on the menu > bar or on a read only buffer window is useful, it justs open the file > in a > new window. That's fine. -- Kim F. Storm http://www.cua.dk