From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id sC+SFXMME2XVpAAA9RJhRA:P1 (envelope-from ) for ; Tue, 26 Sep 2023 18:53:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sC+SFXMME2XVpAAA9RJhRA (envelope-from ) for ; Tue, 26 Sep 2023 18:53:07 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 002034654B for ; Tue, 26 Sep 2023 18:53:07 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="mJ6j/f8x"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695747187; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=BktK+JFUpxvgv6cIXAx8vwZP4Jg1LSqC+wUlpVw5uto=; b=dNeBeFtanE84pWSRIbOKQtNdjOAvDgZkxBBM8hsX1EkNNozjliwt5u+FHprQHBN/qy3HG9 XrWD3u6VIpExRhEB7OMjEmJ9vh3tTgI4y+Aij9OsMoSFMWQnpJPwGFpvUXS4U8QNx8O3Ay vGPslsvp7eqXnbjkc539zEDz4lJZHKbs0eCzBzpcU49REEAbO3oksnCgRuMKGGXcoH7AKr N+3WsW/yrEa8P8YyozNniIGEDJ3Y2dK3nV6BTxsmU2xYk9NQLgbQEQnSCxKTMgXKoDvCa9 JygAgBUo8TjvsvZnlx28OFUCV+CXxUev3tG3ykOwW+dGXB70loujP2VLSn20eQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695747187; a=rsa-sha256; cv=none; b=tduNXkSYtDFaaocjeEsEgCkKO74oXZQE1F1uyd3fDLwgONFVh2oLj7pNHSrSQxT1hOzX/R ZSq6Zlj0zSTrapgWV1BLnpl8IKNav28YFI1MXUnucPhAvx+hJXgeoLTZ9TOcUXPmfPInHY 7EQm65Xr0HkRBWmyIX6wDDya8S/4bWWvpyRBxsHnlMafidXOLFzqCBPijO/ug5eMnAOKIR SmToCvDLltxTg5joFELFtDl1ayfKMnbvfX8gcGD+ixwr5JjdCsYeF0iCfEyuYxUA5wC5Iy UL1a6b8FPVN1bzqQVpJ4V2R63a1dmhvPuyd1JQx9fB2UB516TWZ/WHVeIhWVmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="mJ6j/f8x"; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlAsM-0008I7-5O; Tue, 26 Sep 2023 12:25:30 -0400 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 1qlAsK-0008He-FH for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 12:25:28 -0400 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qlAsJ-0006S8-0Y for emacs-orgmode@gnu.org; Tue, 26 Sep 2023 12:25:28 -0400 Received: by mail-lj1-x22f.google.com with SMTP id 38308e7fff4ca-2c135cf2459so137701421fa.0 for ; Tue, 26 Sep 2023 09:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695745524; x=1696350324; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=BktK+JFUpxvgv6cIXAx8vwZP4Jg1LSqC+wUlpVw5uto=; b=mJ6j/f8x5V0W50EDJ9Gwa9voEiHNDJyZ9ebfS0Afs/xLrNVh9oN8H7hc1sXrltHO3J b4HLrEMf1y3irE5rs5fC4Cdlo+ZJ6RL4m4DUehKhnokor2X8WeNOMBnsKLiZZlZ8Awky 4hNjFbEdIz4ch5EdDaiz0bnk3RsHBYcr5nsAtxDLnpmEXqXYwTJZRhCyiUYTtbRjvatk LAqtZ9wiX29cZ8gwnvufYEV3bfv8+WGlfneMfEPTLonuf63VlpjGxVGI0KItEVv4k+3n gNlUSJNiyVKaMd1T7GMxvCwOzRt4eViWn1l7r09/XXJ/EVj+FReA2X+A4PQ4zLRxttKo daEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695745524; x=1696350324; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=BktK+JFUpxvgv6cIXAx8vwZP4Jg1LSqC+wUlpVw5uto=; b=uTOT8kpK8p7rs5K7I5Ij4+QAYmWvn91wzzQibQLz+PLm072d/sZahJ2N5HsDwE8XFm kdpSp8DtaY/UlX3b2QOTL8rSk9malu4Y8tcPPQwKcaWEgsrDReEoWp3YprmvakLLCG62 OBZsWmSKLx86hPEo/ZS8R5ORnG0NEFiHxXXJ6E9+qRbPGeY1Dhi+PS5vl62eD2YqYjeB zBvy3mCcA8Y1f1/4bX07CpIg2T01WK864ZlP2CsUoc1znTyhCjOQRLe65/eKUoFvWtTD RMWeJJspO4UnaojWwY7IaZwap1uP4ar2uQPoraa2I1EJtor+b86LfsiDvC8I+jQeWtwQ rZ9Q== X-Gm-Message-State: AOJu0YzTihWU47Jaczel4yQPRxFQEIigzQeNVNF5nKHikNvLH1njJ79A xi8DNeFJNuvL1k05Df2avvmfmW8O190= X-Google-Smtp-Source: AGHT+IHwzmNp8WrV/wZEIGGvtCKJAVQshAJT3RwytomApm7Rl7loUpuPFDA4MdvyN1pLS5+dWl6z7g== X-Received: by 2002:a2e:9bc9:0:b0:2b9:ee3e:2412 with SMTP id w9-20020a2e9bc9000000b002b9ee3e2412mr9596789ljj.22.1695745523924; Tue, 26 Sep 2023 09:25:23 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id p20-20020a2ea414000000b002bffa125afesm2688292ljn.48.2023.09.26.09.25.23 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Sep 2023 09:25:23 -0700 (PDT) Message-ID: Date: Tue, 26 Sep 2023 23:25:22 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)] Content-Language: en-US, ru-RU To: Visuwesh Cc: emacs-orgmode@gnu.org References: <87jzsintv0.fsf@gmail.com> <87lecx2nff.fsf@localhost> <87bkdsomm2.fsf@gmail.com> <87a5tamm3j.fsf@gmail.com> From: Max Nikulin Mail-Followup-To: Visuwesh , emacs-orgmode@gnu.org In-Reply-To: <87a5tamm3j.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=manikulin@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -35 X-Spam_score: -3.6 X-Spam_bar: --- X-Spam_report: (-3.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-1.473, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: 5.39 X-Migadu-Spam-Score: 5.39 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 002034654B X-TUID: kinxyox2PwwC On 25/09/2023 20:14, Visuwesh wrote: > + (setq-local dnd-protocol-alist > + (cons '("^file:///" . org--dnd-local-file-handler) > + dnd-protocol-alist)) Does it mean that `org--dnd-local-file-handler' is unconditionally called for Org buffers? Current action is to open text files in the widow under cursor and it is what users may expect. They may be surprised if the file is attached instead. Some applications may highlight some area and display a hint describing effect of drop. Unsure if it is possible in Emacs. I have tried to drop files from Dolphin KDE file manager onto an Emacs-28 frame. ACTION is always 'private. In some application Shift/Ctrl pressed during drop means move/copy. Mouse cursor changes accordingly. Is it possible to achieve the same effect in Emacs?