From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: Drag-and-drop FROM Emacs to another editable application window under MacOS Date: Thu, 12 Oct 2017 09:23:47 -0400 Message-ID: References: <86fuaps9ip.fsf@misasa.okayama-u.ac.jp> <59DF2243.7080101@gmx.at> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="94eb2c05782018181b055b597551" X-Trace: blaine.gmane.org 1507815424 14471 195.159.176.226 (12 Oct 2017 13:37:04 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 13:37:04 +0000 (UTC) Cc: Tak Kunihiro , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 12 15:36:55 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2dfS-0002Xu-0q for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 15:36:54 +0200 Original-Received: from localhost ([::1]:45587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2dfZ-0005nY-GT for ged-emacs-devel@m.gmane.org; Thu, 12 Oct 2017 09:37:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48702) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2dTK-0003jM-L9 for emacs-devel@gnu.org; Thu, 12 Oct 2017 09:24:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2dTH-0003ZH-Dw for emacs-devel@gnu.org; Thu, 12 Oct 2017 09:24:22 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42881) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2dTH-0003Z8-A5 for emacs-devel@gnu.org; Thu, 12 Oct 2017 09:24:19 -0400 Original-Received: from mail-qk0-f171.google.com ([209.85.220.171]:56060) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1e2dTG-0007GY-Sn for emacs-devel@gnu.org; Thu, 12 Oct 2017 09:24:19 -0400 Original-Received: by mail-qk0-f171.google.com with SMTP id x82so1184520qkb.12 for ; Thu, 12 Oct 2017 06:24:18 -0700 (PDT) X-Gm-Message-State: AMCzsaXQhFdL6DmyxYJdJIslIDagWh90R8a2fjH1X5Emz0NkX86rhVG5 lDcJRgiXKLsXHr4QY1mlCKsprn8PmrPAKShnaGs= X-Google-Smtp-Source: ABhQp+RKzEtjn2CMuwdbkr8Xq1eru60KrQmlYcq2gOfVvgTsP390op8WACd100dm2NS5s+PvVxckHNlystPC+i0XSBg= X-Received: by 10.55.103.138 with SMTP id b132mr481629qkc.50.1507814658281; Thu, 12 Oct 2017 06:24:18 -0700 (PDT) Original-Received: by 10.237.34.225 with HTTP; Thu, 12 Oct 2017 06:23:47 -0700 (PDT) In-Reply-To: <59DF2243.7080101@gmx.at> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:219412 Archived-At: --94eb2c05782018181b055b597551 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Oct 12, 2017 at 4:05 AM, martin rudalics wrote: > > I wonder why it doesn't work to drop the text onto other applications. > > Probably because there's no standard protocol to drag and drop anything > =E2=80=8B=E2=80=8B > but files between different applications. =E2=80=8B=E2=80=8B Maybe not for every window system but on MacOS there is and many applications accept dragged text directly: =E2=80=8B=E2=80=8B https://developer.apple.com/documentation/uikit/drag_and_drop/making_a_view= _into_a_drag_source =E2=80=8B - source info=E2=80=8B =E2=80=8B=E2=80=8B https://stackoverflow.com/questions/27420016/osx-drag-and-drop-text-not-fil= e-to-app-dock-icon =E2=80=8B- destination info=E2=80=8B So this could be an addition to the macOS-specific drag-n-drop support. Bob --94eb2c05782018181b055b597551 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, Oct 12, 2= 017 at 4:05 AM, martin rudalics <rudalics@gmx.at> wrote:
> I wonder why it doesn't work to drop the text onto other appli= cations.

Probably because there's no standard protocol to drag and drop anything=
=E2=80=8B=E2=80=8B
but files between different applications= .
=E2=80=8B=E2=80=8B
Maybe not for every window system but = on MacOS there is and many applications accept dragged text directly:
=
=E2= =80=8B=E2=80=8B

So this coul= d be an addition to the macOS-specific drag-n-drop support.

Bob

--94eb2c05782018181b055b597551--