From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Cecilio Pardo Newsgroups: gmane.emacs.bugs Subject: bug#73258: 31.0.50; w32 drag-n-dropping multiple files is broken Date: Sat, 14 Sep 2024 21:33:00 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------Ef2MHH9OQMcMOatTvpTlMznv" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird To: 73258@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 14 21:34:08 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1spYX2-0006yo-9I for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 14 Sep 2024 21:34:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spYWn-0001Zr-G7; Sat, 14 Sep 2024 15:33:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spYWl-0001Za-Fn for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 15:33:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spYWl-0003tP-6Q for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 15:33:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=nblf3BFpjivg0kfAjI3dphCOox+T1tnGbPBSxi5ipNI=; b=ZBI4ZWAKQPxJ14oE/gWnjVdFF3LJB2XDiDBvKYc8pHMrqi3qrMUfdTYNSHXGQomwp6t8W9wdMRPO6cUmhOVkn0swhnOHskxInIno6vraNVBBvrGadON0QVbQ/gKrVoPc1ME2xW8Pj2fPAbK3pmjKNOL0xutbqGfwxsgeQF1B5iLcBwZWDrsh67hBXvmFa8w2CcDDNqQzQsZC5uInj47y+hwMdVbZDoK4fo2lsbh4i+sLAcdsUZo3SpGLmrlUJFniy/8t2iOBn4jOqnkC/7fGS0W+Vv+NmtG/pRHiYFODoQw8Ztzv+XQiWeYDyqQm+uQVzAUM0X3vNCN/vvPXhYHNHw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spYWw-0002fJ-1V for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 15:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Cecilio Pardo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 14 Sep 2024 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73258 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172634239910172 (code B ref -1); Sat, 14 Sep 2024 19:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Sep 2024 19:33:19 +0000 Original-Received: from localhost ([127.0.0.1]:47827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spYWF-0002dy-4D for submit@debbugs.gnu.org; Sat, 14 Sep 2024 15:33:19 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:49374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spYWC-0002dq-PS for submit@debbugs.gnu.org; Sat, 14 Sep 2024 15:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spYW1-0001XZ-L2 for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 15:33:05 -0400 Original-Received: from mail.imayhem.com ([82.223.54.191] helo=zealous-pike.82-223-54-191.plesk.page) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spYVz-0003pV-Bl for bug-gnu-emacs@gnu.org; Sat, 14 Sep 2024 15:33:05 -0400 Original-Received: from [192.168.68.102] (111.red-88-21-7.staticip.rima-tde.net [88.21.7.111]) by zealous-pike.82-223-54-191.plesk.page (Postfix) with ESMTPSA id 3BD34800C9 for ; Sat, 14 Sep 2024 19:33:01 +0000 (UTC) Authentication-Results: zealous-pike.82-223-54-191.plesk.page; spf=pass (sender IP is 88.21.7.111) smtp.mailfrom=cpardo@imayhem.com smtp.helo=[192.168.68.102] Received-SPF: pass (zealous-pike.82-223-54-191.plesk.page: connection is authenticated) Content-Language: es-ES Received-SPF: pass client-ip=82.223.54.191; envelope-from=cpardo@imayhem.com; helo=zealous-pike.82-223-54-191.plesk.page X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291803 Archived-At: This is a multi-part message in MIME format. --------------Ef2MHH9OQMcMOatTvpTlMznv Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit dnd-handle-multiple-urls is called once for each file. This brings problems, such that when dropping two directories, emacs open the first one on dired, then tries to copy the contents of the second to the first. The attached patch fixes this. -- Cecilio Pardo --------------Ef2MHH9OQMcMOatTvpTlMznv Content-Type: text/plain; charset=UTF-8; name="patch.diff" Content-Disposition: attachment; filename="patch.diff" Content-Transfer-Encoding: base64 ZGlmZiAtLWdpdCBhL2xpc3AvdGVybS93MzItd2luLmVsIGIvbGlzcC90ZXJtL3czMi13aW4u ZWwKaW5kZXggM2MwYWNmMzY4ZjQuLjI5NjI5YzkwNzJjIDEwMDY0NAotLS0gYS9saXNwL3Rl cm0vdzMyLXdpbi5lbAorKysgYi9saXNwL3Rlcm0vdzMyLXdpbi5lbApAQCAtMTAwLDcgKzEw MCw3IEBAIHczMi1jb2xvci1tYXAKIDs7ICAgKGludGVyYWN0aXZlICJlIikKIDs7ICAgKHBy aW5jIGV2ZW50KSkKIAotKGRlZnVuIHczMi1oYW5kbGUtZHJvcHBlZC1maWxlICh3aW5kb3cg ZmlsZS1uYW1lKQorKGRlZnVuIHczMi1kcm9wcGVkLWZpbGUtdG8tdXJsIChmaWxlLW5hbWUp CiAgIChsZXQgKChmIChpZiAoZXEgc3lzdGVtLXR5cGUgJ2N5Z3dpbikKICAgICAgICAgICAg ICAgIChjeWd3aW4tY29udmVydC1maWxlLW5hbWUtZnJvbS13aW5kb3dzIGZpbGUtbmFtZSB0 KQogICAgICAgICAgICAgIChzdWJzdC1jaGFyLWluLXN0cmluZyA/XFwgPy8gZmlsZS1uYW1l KSkpCkBAIC0xMTcsMTQgKzExNywxMiBAQCB3MzItaGFuZGxlLWRyb3BwZWQtZmlsZQogICAg ICAgICAgICAgICAgICAgICAgKHNwbGl0LXN0cmluZyAoZW5jb2RlLWNvZGluZy1zdHJpbmcg ZiBjb2RpbmcpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICIvIikKICAg ICAgICAgICAgICAgICAgICAgICIvIikpKQotICA7OyBGSVhNRTogaXMgdGhlIFczMiBidWls ZCBjYXBhYmxlIG9ubHkgb2YgcmVjZWl2aW5nIGEgc2luZ2xlIGZpbGUKLSAgOzsgZnJvbSBl YWNoIGRyb3A/Ci0gIChkbmQtaGFuZGxlLW11bHRpcGxlLXVybHMgd2luZG93IChsaXN0IChj b25jYXQKLQkJCSAgICAgICAgICAgICAgICAgIChpZiAoZXEgc3lzdGVtLXR5cGUgJ2N5Z3dp bikKLQkJCQkgICAgICAgICAgICAgICJmaWxlOi8vIgotCQkJICAgICAgICAgICAgICAgICAg ICAiZmlsZToiKQotCQkJICAgICAgICAgICAgICAgICAgZmlsZS1uYW1lKSkKLSAgICAgICAg ICAgICAgICAgICAgICAgICAgICAncHJpdmF0ZSkpCisKKyAgKGNvbmNhdAorICAgKGlmIChl cSBzeXN0ZW0tdHlwZSAnY3lnd2luKQorICAgICAgICJmaWxlOi8vIgorICAgICAiZmlsZToi KQorICAgZmlsZS1uYW1lKSkKIAogKGRlZnVuIHczMi1kcmFnLW4tZHJvcCAoZXZlbnQgJm9w dGlvbmFsIG5ldy1mcmFtZSkKICAgIkVkaXQgdGhlIGZpbGVzIGxpc3RlZCBpbiB0aGUgZHJh Zy1uLWRyb3AgRVZFTlQuCkBAIC0xNDYsOCArMTQ0LDExIEBAIHczMi1kcmFnLW4tZHJvcAog ICAgICAgKHJhaXNlLWZyYW1lKQogICAgICAgKHNldHEgd2luZG93IChzZWxlY3RlZC13aW5k b3cpKQogCi0gICAgICAobWFwYyAoYXBwbHktcGFydGlhbGx5ICMndzMyLWhhbmRsZS1kcm9w cGVkLWZpbGUgd2luZG93KQotICAgICAgICAgICAgKGNhciAoY2RyIChjZHIgZXZlbnQpKSkp KSkpCisgICAgICAoZG5kLWhhbmRsZS1tdWx0aXBsZS11cmxzCisgICAgICAgd2luZG93IAor ICAgICAgIChtYXBjYXIgIyd3MzItZHJvcHBlZC1maWxlLXRvLXVybCAKKyAgICAgICAgICAg ICAgIChjYXIgKGNkciAoY2RyIGV2ZW50KSkpKQorICAgICAgICdwcml2YXRlKSkpKQogCiAo ZGVmdW4gdzMyLWRyYWctbi1kcm9wLW90aGVyLWZyYW1lIChldmVudCkKICAgIkVkaXQgdGhl IGZpbGVzIGxpc3RlZCBpbiB0aGUgZHJhZy1uLWRyb3AgRVZFTlQsIGluIG90aGVyIGZyYW1l cy4K --------------Ef2MHH9OQMcMOatTvpTlMznv--