From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QKZvCWTGDWX7CQAAG6o9tA:P1 (envelope-from ) for ; Fri, 22 Sep 2023 18:52:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id QKZvCWTGDWX7CQAAG6o9tA (envelope-from ) for ; Fri, 22 Sep 2023 18:52:52 +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 E8D4933386 for ; Fri, 22 Sep 2023 18:52:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=eWQwFhuB; 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=1695401571; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=9G/MYTssN7/75HD6eaYkGyEOm0ZumJ5MffWWQrPfHo8=; b=gTGgu75KkROHab6U4ZmqibwVLo3grqpfC1H0NjNC/r2LTn3gwSHJQJgX9Yosj1fxC5UIOi mD7kJmxV9O5d66VphbSEUoDsDKTKWL0DEQv5P/DTNqVS/NXV9SfQovcjtMQsPft2WLJO20 Tnap6RZ1c3ukUTy3FMBM48f5/HaXsWbZtvCh/nl4emGwY1VXFl8bU84co3oj0uwnMumiNd QeCYpUuB9HTKT1AsBpHL5y8xoEcpPi1jsPBXAPSIdgRW5ZDyBhowXY2S7Mq6DbExuQFp6g S/gMITTkeRn5KGPTpms8LXfi9ogtyw7Xbs1xuP/jJE3O4sjbAoU5kBEBxiTiRg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=eWQwFhuB; 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-Seal: i=1; s=key1; d=yhetil.org; t=1695401571; a=rsa-sha256; cv=none; b=KuiAAG8XgcmT0M0Kc4MM3D8bPj+bX7M2IQeB396RwV2REZOuZRS2Wm62YAWcSvF5QxzjBo bPA4w8IIHs09BQdlB9ACHoCJgE3L3uuD6qccFkpnUE72nR/UUt/kzg1NeF/ntRYLM9ubtm h4K2sWWSWA1ezyvEXgCzUS1vUhxQ95lBEVF/S8rqLyvgUYTMWKRd202mBmA791cQIDGcYk CEZQbUl701tNElDktgWGpi9eXaKwxnovLKknLBIOW9XSZDqJFckZfMPKur999OSkf1FlaO lzvuhFpbIqQwLBJweCy9KQKpBJq5YQietdxV5gxACo+dvfkZveA1+Os8M6bTRA== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjjNl-0001kd-6G; Fri, 22 Sep 2023 12:51:57 -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 1qjjNj-0001kV-91 for emacs-orgmode@gnu.org; Fri, 22 Sep 2023 12:51:55 -0400 Received: from mail-lf1-x12b.google.com ([2a00:1450:4864:20::12b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjjNh-0008Sa-Q3 for emacs-orgmode@gnu.org; Fri, 22 Sep 2023 12:51:55 -0400 Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-5041335fb9cso3881227e87.0 for ; Fri, 22 Sep 2023 09:51:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695401512; x=1696006312; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=9G/MYTssN7/75HD6eaYkGyEOm0ZumJ5MffWWQrPfHo8=; b=eWQwFhuBYWTsmh2DX8Hrrg1BplZWsQKe1QqZe33xFnBagNfGjXoqzVohw52Fgq0O5a c9WrhfZEdJNiCJYuoSj1c0cdiWsBU0JftSEqK8WSxi3xLZbxTcexwp7B/2BxXgVbQmGv NVmI5D+DJWbOdauN/QG2z66L4wmeRGFbJh+EPjpJDMOvpFpjZAplQ2fhcZeYNhOaKr1H BzSLBq58aTCNpA7iRAdsEpLyeUigapLmjY8QQcyhOIJNObqawp0TWneJA5odvis1mGw5 FMppAsB/3zO+3twPwUO5R6rWRQ8u4QUldurjIUu2bcrPjktEDMxsyTm3tYoLQ3dguvpk f29Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695401512; x=1696006312; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references: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=9G/MYTssN7/75HD6eaYkGyEOm0ZumJ5MffWWQrPfHo8=; b=A+CRpOq34dtHJGppw+lAbjTp7x9bQBXRiGIAj5HUlcV4wqDN5lzPc6aAuHXKkg7joV 5vsH+6gK2pxgY2gd9JF+anGqu7EwN5TBR85HMnucXX9jsYX8DbFv7Kt1Lhx61NyAsVGU t1v1ExR/zlYvP/e+TaNlfPQ412XwZhN1+xtyohKjCUwjKzewhdh1zYOly4Lx1GqAn6gX ihz1KE1Yusa78u1RROCLt05nf9+8pji9XK9D7bt5BG5f+QM7ZGJXTMER5fEvfh9NwyrF Cizsq3JcJXASRCFlJb0XKLD6SJ9QDv9dZg2xaoRVJUMbymXwcGeEErzozoIwqAPLjtwJ 4B9g== X-Gm-Message-State: AOJu0YxPSmie2Zmo3mQeBQMVqBvjCPODSb/LDY/u7LZ/ywW6Cq1TNEqV 1Lec6vyBKbFtgI+iuj3+W0tCCQ9qIZA= X-Google-Smtp-Source: AGHT+IEL9TvCNgziBGmF6WQFroMbUGUITMXJdWwmlP9r+MTPAhQATlU7js93BSFynRcp9LzmmlQbBg== X-Received: by 2002:a05:6512:ba9:b0:503:1ca6:c590 with SMTP id b41-20020a0565120ba900b005031ca6c590mr128497lfv.22.1695401511331; Fri, 22 Sep 2023 09:51:51 -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 p15-20020a05651238cf00b005009b4d5c14sm774914lft.265.2023.09.22.09.51.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 22 Sep 2023 09:51:50 -0700 (PDT) Message-ID: Date: Fri, 22 Sep 2023 23:51:49 +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 , emacs-orgmode@gnu.org References: <87jzsintv0.fsf@gmail.com> From: Max Nikulin Mail-Followup-To: Visuwesh , emacs-orgmode@gnu.org In-Reply-To: <87jzsintv0.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::12b; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12b.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.31 X-Migadu-Scanner: mx2.migadu.com X-Migadu-Queue-Id: E8D4933386 X-Spam-Score: -4.31 X-TUID: tlvZWC1UCeKc On 22/09/2023 21:52, Visuwesh wrote: > Attached patch adds yank-media and DND handler to attach files in the > clipboard and dropped onto an Emacs frame respectively. Thank you for your work in this area. I am not an active DND user, I am just curious what cases are supported: - X11 - Wayland - Sandboxed applications communicating with desktop environment through XDG desktop portal (flatpack/snap/AppImage or just running in bubblewrap) - Emacs running on a remote host (ssh + X11 forwarding) - Windows When a file is dropped into an Org buffer I would consider inserting a link or storing it in addition to attachment options.