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: Wed, 25 Apr 2018 00:42:19 +1200 Message-ID: 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1524573670 12791 195.159.176.226 (24 Apr 2018 12:41:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 24 Apr 2018 12:41:10 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cc: 30929@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 24 14:41:05 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1fAxFp-0003Cz-6M for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2018 14:41:05 +0200 Original-Received: from localhost ([::1]:58329 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAxHv-0002SE-Od for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Apr 2018 08:43:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57800) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fAxHm-0002R4-Oq for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fAxHi-00008A-Sd for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:43:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58109) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fAxHi-000086-ME for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fAxHi-0003dA-CL for bug-gnu-emacs@gnu.org; Tue, 24 Apr 2018 08:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Helm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Apr 2018 12:43:02 +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.152457375713925 (code B ref 30929); Tue, 24 Apr 2018 12:43:02 +0000 Original-Received: (at 30929) by debbugs.gnu.org; 24 Apr 2018 12:42:37 +0000 Original-Received: from localhost ([127.0.0.1]:37773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAxHI-0003cX-Q3 for submit@debbugs.gnu.org; Tue, 24 Apr 2018 08:42:36 -0400 Original-Received: from mail-me1aus01on0125.outbound.protection.outlook.com ([104.47.116.125]:19478 helo=AUS01-ME1-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fAxHE-0003cH-FD for 30929@debbugs.gnu.org; Tue, 24 Apr 2018 08:42:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jHk3u+wLsH6M3djUBCvdMMKg3Tm/JJEdtLeBmA5OyTQ=; b=QDhHw//8ymbmiy14Z4cOoFYuDoAQqHE2FZ0YoHWl3ddmGuCtiUth3Cq2MZZSYHqXJ/pInqLcXo/C4kmX5znZ9RIG11z9ofUby9BSolO6Fv3jz/+4aiobenDYZZwLnSaIGkOYzgJuk3jRwrgTaKApTqdzR3P7IEcxmGfOTRjn2wE= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Original-Received: from jupiter.local (125.239.174.80) by ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.696.12; Tue, 24 Apr 2018 12:42:23 +0000 In-Reply-To: <20180413183334.GA39515@breton.holly.idiocy.org> (Alan Third's message of "Fri, 13 Apr 2018 19:33:34 +0100") X-Originating-IP: [125.239.174.80] X-ClientProxiedBy: SYXPR01CA0093.ausprd01.prod.outlook.com (2603:10c6:0:2e::26) To ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 3:Aiwx9Dc8Qd83m10mVqnNwOf2jLSCTMpaNsNdyS5nvs2j5j/sFZyCOm08JdI1M5dTlWfUdqoub/FNrVBXkWP8eck886j5UXeIECf/WZVZyz8HebRNe3WvB75okVp7hdRGIAFRJMCqbanqQmwjXkMeDHg4wIr25wSUJPVXnEa3jE2Bj6yA4Fk1w7vWki+oOWTXDfY1LpCsxvy0Cgf9KL7b6E7u8Eqf/vdOYi8XajyyPnXZlfzsqjKm1zbMXUMMYNFY; 25:avd0XaT+3VjJ8k/qS+ks/3rEoc4Nv/as8zFHCUuPRUH5FAE0tCRHQjxnjwvkLzunIQ26A1gKIxZxpy3rku6eLkvE6kWOTvd8sbTOZBgnQ/S4+TY/W9qAsCHcturOFJ+9rzYRcFEX8876bMe3ozS+Jgp4BW2klTqmiTf39/Faq3hbr3M/9vjiPbhapY+m7mSEBvfRf3R7DjacEuR2svchFiqaob4vy5CW8Gs2sWJiFyc+9WGcjiWPjdH2YnZWJhn7hB1OQWgLSf75kjMbHovnSsCfC+2j/xBY4v3zqC14nF5W4OeT1ig9NAWii91pe+IOgK/uDkpVVs68ZoNYaW5OSw==; 31:sc2vJITAUnmBKtrTlq0jh+7rqOEbgNy6AVSud5Ne+7fhPf+CVVK01V5Wv7hAJsq19lL/qByL7td63G2LKF1r1slXd12PWqoj5H91yjtzwDeJN7nfdxh9sFL0XdGp939myO34X2QAXKWt7vOR8btli976OS/GfB0JYl1x+ZwFdBI36tnE5FzJeD1aoYLXS+h7zYhizM/513w86j8bljeZreHdik7TBiwAewHMUL30n X-MS-TrafficTypeDiagnostic: ME2PR01MB2899: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3231232)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6041310)(20161123558120)(20161123562045)(2016111802025)(20161123560045)(20161123564045)(6043046)(6072148)(201708071742011); SRVR:ME2PR01MB2899; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 4:eXf8KHxNBNUhv4XRBUoVFz2bycSQTkh7CDf7/ZN+BFFNf9+OzCZ7vH3ymSBCxYFR0w+O8DpESXbjzLagEEsjyVE2UjEqsY/ME80jJZCL2Ly1XLGpXqXy6WEzfH1j6OrYa3NzPaXAZraXd9BgmzNZrS9v0BzQaRlNcyfB1U/oqHlltoIRokVix5SqKPFJUrPNtT2OU095pSeCYvPR1FmoEwUyWgAf1867eIZZquAB3di0kdrCfKLS38I/5lVRzQX6/kfnVy+QsJ9RGSRQz9jt/g== X-Forefront-PRVS: 0652EA5565 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(396003)(366004)(346002)(39380400002)(376002)(39830400003)(199004)(189003)(8676002)(66066001)(26005)(6506007)(47776003)(76176011)(36756003)(386003)(6916009)(68736007)(52146003)(23676004)(2486003)(105586002)(5660300001)(52116002)(2906002)(6116002)(50466002)(6666003)(3846002)(305945005)(53936002)(7736002)(86362001)(6246003)(8936002)(478600001)(74482002)(8746002)(6512007)(106356001)(476003)(25786009)(2616005)(316002)(81156014)(956004)(81166006)(4326008)(486006)(229853002)(11346002)(6486002)(97736004)(58126008)(16526019)(446003)(93886005)(186003); DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2899; H:jupiter.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 23:8wcd3RIH1C8iO3qyKTJ2zo9DEo7Bfhuy9zfiBNtbcJ7pdMvJ2+fEiiI7BFTLjRufGVvi7KALh4r+NjULEl/HIdpjH6d79ZBtNMPXpfnrfQLCjEKstXjF15H8Ocp8/UM4MqbovQk/8NonqWW/A74gjjS8Tzqt8uXKZ/Ar85bZU9GO9xqfI4Fe3MivQtCRiv4c7R8i0JXwTspTV8GSMm6SLjK9FMh2E8GnAXV58HJKZ6amPeIZ2tigh2RZBeFcUn0oMJ9Gz6sELYjIBPaSTQHPhqzpqNnC842YHvAdv4EgLySj4K352eYuFSX/eMkjtKVBKDuN1O9C6zwAAH9py9D89XyJ1xhVZ3HBP25G9ERi5p79NnPMs9L3BQRQ3f7R0hUexg3izAOqtPBkXl7RJF3rwaSIjZOJH+OFts4q2OyMY+EYAO9jBTgFdf1ftkZ+pwxUr1lHP68pY5MQkQIZnO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NW3TnsrNEgqa/us3yfx15Y6hCw==; 5:MVKsPiedxRBgUZDqGOCJiLT/zo8r1aO3+hk5hlvlYTAofAm2tfBODKlM97io+wnQNOB+194Rb9OBUX/g9HqJW+EYTjwNEjT5cm7Uh7Qnim0vXFTJo5571vYQGoWY9CylXasLEjI+v6FNUwrerDuM2kafzlY+rSEKjxEsod+HeYQ=; 24:IjAYuRA2AqjH8U8nGJV62Q4Vf6y6NKSd35UHT49DAtzLSutYhUeD2a9sChi36qZvT8Jvqm1LDRaIn35/rn8i5/My8fUVnnTInLFZ5HLlI4E= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 7:EJLgOE7Dccs/ktu2kfL7xw5VmjsjqJYqoZ1B0KHhjt8tuB1NBDOr9/Vz8gtD/5Ek8lxsPWR3NqLsfRsE+BBaMnCIrTxeF5vhIT0cUM/c/kEvj5+u4FyPErOFqiQm/kfKRi4Z1AiMN85kK0AyyP+Jhs46IGFOoAuAv0H9qjMaVbj9JezArLdwzgaJ6cuorS5pJUSM921DBLBUcr0OLoiKLIjh7XUX4/Gfqo1FuSWcMN5jg69E1AKT/keTmJ15dIH2 X-MS-Office365-Filtering-Correlation-Id: e3e86168-3462-41d0-dd7b-08d5a9e0d44c X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Apr 2018 12:42:23.9556 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e3e86168-3462-41d0-dd7b-08d5a9e0d44c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2899 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:145728 Archived-At: On Sat, 14 Apr 2018 at 06:33:34 +1200, Alan Third wrote: > On Thu, Apr 12, 2018 at 05:34:17PM +1200, Nick Helm wrote: >> On Wed, 11 Apr 2018 at 07:38:24 +1200, Alan Third wrote: >>=20 >> > On Mon, Apr 09, 2018 at 01:51:58PM +1200, Nick Helm wrote: >>=20 >> > This is probably a better idea, we pass the string, the type (from the >> > PB) and the mask to lisp, and then let ns-drag-n-drop sort it out. >> > Like you say, if an expert wants to do something different they can >> > then write their own function. >> > >> > So in C we just construct something like: >> > >> > '(file >> > (ns-drag-operation-copy >> > ns-drag-operation-link) >> > "filename") >> > >> > Are you wanting to give this a go? I=E2=80=99m happy to work on it if = not. >>=20 >> Ok, I see what you mean. Yep, I can have a go at it. > > I look forward to it. I've spent many many hours on this but I'm afraid I can't get it to work. There are just too many permutations. I give up, sorry.