From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: Drag and drop patch for X, please review. Date: Sun, 18 Jan 2004 22:14:45 +0100 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <572848D6-49FB-11D8-8582-00039363E640@swipnet.se> 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 (Apple Message framework v609) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1074461396 18766 80.91.224.253 (18 Jan 2004 21:29:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 18 Jan 2004 21:29:56 +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:29:51 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 1AiKUR-0004RX-00 for ; Sun, 18 Jan 2004 22:29:51 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AiKUR-0005M1-00 for ; Sun, 18 Jan 2004 22:29:51 +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 1AiKRO-0002gS-8a for emacs-devel@quimby.gnus.org; Sun, 18 Jan 2004 16:26:42 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AiKQr-00027r-BL for emacs-devel@gnu.org; Sun, 18 Jan 2004 16:26:09 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AiKQC-0001dY-O1 for emacs-devel@gnu.org; Sun, 18 Jan 2004 16:25:59 -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 1AiKHt-0004Nw-JR; Sun, 18 Jan 2004 16:16:53 -0500 Original-Received: from [193.201.16.94] (helo=stubby.bodenonline.com) by mx20.gnu.org with esmtp (Exim 4.24) id 1AiKGf-0005Bz-O0; Sun, 18 Jan 2004 16:15:37 -0500 Original-Received: from accessno42.bodenonline.com (accessno42.bodenonline.com [193.201.16.44]) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id i0IM7iwq018663; Sun, 18 Jan 2004 23:07:45 +0100 In-Reply-To: Original-To: storm@cua.dk (Kim F. Storm) X-Mailer: Apple Mail (2.609) 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:19250 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:19250 >> 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. That is a very good suggestion, I'll try it. Jan D.