From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.bugs Subject: bug#30929: 26.0.91; Text drag and drop does not work Date: Sun, 06 Jan 2019 02:05:57 +1300 Message-ID: <17f6792bc79ba45c3c3be0bc00288ebb452275ec.camel@tenpoint.co.nz> References: <20180325115732.GA52626@breton.holly.idiocy.org> <20180407150119.GA1190@breton.holly.idiocy.org> <20180410193824.GA15361@breton.holly.idiocy.org> <20180413183334.GA39515@breton.holly.idiocy.org> <20180424181933.GA48133@breton.holly.idiocy.org> <20180426204442.GB48707@breton.holly.idiocy.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1546693514 23427 195.159.176.226 (5 Jan 2019 13:05:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 5 Jan 2019 13:05:14 +0000 (UTC) User-Agent: Evolution 3.30.3 (3.30.3-1.fc29) Cc: 30929@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 05 14:05:10 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfldS-0005ua-CD for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jan 2019 14:05:07 +0100 Original-Received: from localhost ([127.0.0.1]:58862 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gflfY-0007PZ-VW for geb-bug-gnu-emacs@m.gmane.org; Sat, 05 Jan 2019 08:07:16 -0500 Original-Received: from eggsout.gnu.org ([209.51.188.92]:42900 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gflfO-0007Oo-R4 for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 08:07:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gflfM-00086t-3B for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 08:07:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49667) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gflfK-00085C-83 for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 08:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gflfJ-0003Ij-S1 for bug-gnu-emacs@gnu.org; Sat, 05 Jan 2019 08:07:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nick Helm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Jan 2019 13:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30929 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30929-submit@debbugs.gnu.org id=B30929.154669357012619 (code B ref 30929); Sat, 05 Jan 2019 13:07:01 +0000 Original-Received: (at 30929) by debbugs.gnu.org; 5 Jan 2019 13:06:10 +0000 Original-Received: from localhost ([127.0.0.1]:47341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfleU-0003HT-El for submit@debbugs.gnu.org; Sat, 05 Jan 2019 08:06:10 -0500 Original-Received: from new4-smtp.messagingengine.com ([66.111.4.230]:46807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gfleS-0003HF-Hr for 30929@debbugs.gnu.org; Sat, 05 Jan 2019 08:06:09 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 3217DBF5C; Sat, 5 Jan 2019 08:06:03 -0500 (EST) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sat, 05 Jan 2019 08:06:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpoint.co.nz; h=message-id:subject:from:to:cc:date:in-reply-to:references :content-type:mime-version:content-transfer-encoding; s=fm1; bh= Z1QtipkOOa3w+TiPs6+XcnSXTLr09UEhbG+mhZAvU+Q=; b=qAS2x/WrNejR1Yjd d+nATerjEApPOMK7JxpCXMp2vWxz1n9rZHrlggNOINSMd7mVSbkCtWb1WtfeWXjX plJhpMi6gCB7Pf9eBwYe8egdVy9/jmgpIr73+Heox8KEMwZVs+jWwKa9ai9lYD5S SrE9RCLa+ZRKvbLwQqOLLfDt/YLO4vUbucp+4Uqi3yD8Ny4VCmKryM2jyMbh8cYO UVywrlrK7g1m7eVJI5naIR43RD65L5GnvKZiV4CTQ4QROxXZzbmmUMVDRNW1TSrS kGVDmLQ319IfLaTTeDtDF9L6Rw1X8QO+eh+nxfvJ4lXi9/gY5oFYqIGtRxBN7GyA 1W1lZQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=Z1QtipkOOa3w+TiPs6+XcnSXTLr09UEhbG+mhZAvU +Q=; b=ysY9UTbTH/HcD1BZJsWDjvFYxM2WhekH12er/u/kNTCL68DrDpg2rryPg ttf9D9NpnZEnQmdAaw92z+2S46mFUQKc1RLl2+yK40gCEnAuI+YglMa5WatrAJwN dAulkSFRs8DDE9Rga556Zs2OnogU3OIiydQ7um5LMX38FsxCc8/VgWwX2vNx4kFg UFpTrwm1S7lVz67kQomQhQtiYiItKilpRUIWpRvMEGKeXj2qr3pZQ6Z1YDDk7PG/ HX92uWaZzPzVqbJunO2+15/erT5kKXZ8nNWt2JYWmtHecumOby5CVbQqvWiGKGcU dsp8ll1jJxwPaiH2QRp/FoTfC6Yaw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrvdefgdehtdculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkffuhffvffgjfhgtfggggfesthekredttderjeenucfhrhhomheppfhitghk ucfjvghlmhcuoehnihgtkhesthgvnhhpohhinhhtrdgtohdrnhiiqeenucfkphepuddvhe drvdefledrudejhedruddtheenucfrrghrrghmpehmrghilhhfrhhomhepnhhitghkseht vghnphhoihhnthdrtghordhniienucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from jupiter (125-239-175-105-vdsl.sparkbb.co.nz [125.239.175.105]) by mail.messagingengine.com (Postfix) with ESMTPA id 0DEEF100B8; Sat, 5 Jan 2019 08:06:00 -0500 (EST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154164 Archived-At: On Sat, 2019-01-05 at 10:27 +0000, Alan Third wrote: > Nick Helm writes: > > > On Fri, 27 Apr 2018 at 08:44:42 +1200, Alan Third wrote: > > > > > On Thu, Apr 26, 2018 at 11:16:32AM +1200, Nick Helm wrote: > > > > My main problem is the bewildering number of different data > > > > types that > > > > have be to handled, in particular casting every possibility > > > > from > > > > ObjC -> C -> Lisp and interpreting them at the end. > > > > > > When we pass the data to lisp we *always* want it in plain > > > text, so if it’s a file then the filepath, a URL is plaintext > > > anyway, > > > as is text. > > > > > > Anything else we can ignore or reject. > > > > OK, this is helpful. I was thinking we'd need to handle all the > > uniform > > type identifiers. For example, yes a NSURLPboardType is always text > > but > > it might conform to public.text, public.plain-text, > > public.utf8-plain-text, public.url, public.file-url, etc. But I > > guess > > Emacs couldn't care less about all that. The current code simply > > converts to a UTF8 string and sends it on, so I'll do that too. > > Hi Nick, did you make any progress on the drag and drop stuff? Hi Alan. Sorry, no I never managed to get it working they way I wanted.