From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 2DhnDyvpE2UiawEAG6o9tA:P1 (envelope-from ) for ; Wed, 27 Sep 2023 10:34:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2DhnDyvpE2UiawEAG6o9tA (envelope-from ) for ; Wed, 27 Sep 2023 10:34:51 +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 2162E5BF8F for ; Wed, 27 Sep 2023 10:34:51 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iJjIe742; 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=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695803691; 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=NWWJQegX3zVkD/KSDdlPNzbHQgg1NwyiOJnU8vxECUQ=; b=cjpoyoJE2NoDtZaR7qz9MLGcZJ6e3fvh3f8lwzZe9YnLtZQ+PQurDKvPKB7YfXHV1KHoaT eHvQAX7oCVD5SEJDjkrIBmoj3so2EIYPLDTfv3e1iOZyL/3VQTeRUGpnYpxtGO4XMy/JU6 EzvlfLIgA33ddjjeCdAVmvln/GDyZdHwQYpCn+BXS50/QGWMWhqsuTT9eiShT6HjAmrFdy GfRj41lgnnldqKJoVGV88dNN3X7iAnQSIywDnmNcFhHZKqxmwtd7bb2re2qKKr70mlCAPd MpK1OIxJEQq1YCleWVRCMJpOGHcVCItSS4D+1zLhbh72pzjheM/nNlnAhUIy7A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695803691; a=rsa-sha256; cv=none; b=OMFVDwOLPKLhRx5cyT+wdqWO2QfvgaxDjfT71IZWFD4fHfacPR9z5JiTzxJdsRf4SFEoZh KMQDYE8jJQ+GEZ1t3WUzMJDCN6RXtNkUahanaNEpSS8RLm4iDuk1S90Qwyv1iGD7X+HJnR SY5ED3jcc18KBzsAqPIAtMKeu8W0BZfOa6Qt+FVzi/Qi3MdXW9WLRU8x+eOiZZZRhJtp91 A7pPPCSwRbrSG/XQyZ8i6hDR0vJQIA/IHmZMvA88UcCrNPXLeyUiiKJkL/vlSesZeEOL/w tSt0jVmldyN5WbIjAAJAa9gU1y212p4vqxs8UcNReIYCAJuDyPE5BCgOry3kgw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=iJjIe742; 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=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qlPzc-0003FW-Kq; Wed, 27 Sep 2023 04:34:00 -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 1qlPza-0003FH-IA for emacs-orgmode@gnu.org; Wed, 27 Sep 2023 04:33:58 -0400 Received: from mail-pj1-x1042.google.com ([2607:f8b0:4864:20::1042]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qlPzY-00005m-3I for emacs-orgmode@gnu.org; Wed, 27 Sep 2023 04:33:57 -0400 Received: by mail-pj1-x1042.google.com with SMTP id 98e67ed59e1d1-27763d36661so4327990a91.3 for ; Wed, 27 Sep 2023 01:33:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695803634; x=1696408434; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:from:to:cc:subject:date :message-id:reply-to; bh=NWWJQegX3zVkD/KSDdlPNzbHQgg1NwyiOJnU8vxECUQ=; b=iJjIe7421wDHeAeI5M7JLs/SfXFtwG8Jw64HuwO4ESJvkyo1YCKZZy4Gom/Wyb6AGy jSER4+NUHrZKsXT4uOXdOZq9d/u7LclCSUdIsr60W0g0wEC9CTAnv6Ftm0ttMjvvHS38 xfwmJ0jo6RNujfrXYIjPFe1apBioUNH38MTWdKQFobLoF4PBx1P1CU7zpPTEp7lneyle HS4Xb7Kz+82alUQe+0LPwtlN+106Wq8SFGaaxEOHETXevOUV7XOKvzmUANhY73j5VrBT F6GMHW6K0LsXcMwdrwW3/VtMDyexpcz3+gJKxa6N367gyP+cseh8T2BprAIU18bUQdwS X/Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695803634; x=1696408434; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=NWWJQegX3zVkD/KSDdlPNzbHQgg1NwyiOJnU8vxECUQ=; b=btbr+souDRv99lsmjatWwisUb/CiewcUI9J1dgBwiko44rTvnY5vVtey41urST9NfZ YNXZ+0MntQ8WUYbLlqppvjxfoiCgbXUk9egZgRQRwCZB0imFXqmdVcKMIya+4d4FiOPn 1s70l+L9X/+w9c6vqexYFfzg2pWcnQ9mA0DsKafhYND4ClU2Ldbk5GmxRHDU5RXGqd41 oLt6a/MNb+Wo6j+SJVpikGyw3H3it1iOMpuj7k3llWncE73LJ+/T9xSMk76B75bHvUms fnLPgwH0C/FQ9td8wAGQZCOc3VpfG5L0qPlbm3501+csvlZICpJvQiIV5T2konJslxuN bfDQ== X-Gm-Message-State: AOJu0Yz/XWEaQu4OZnOlivYFYhz2L408nD6xpurxZhoPMbM05U71nTxQ OYE1Hk4a94cABZPSQ3VdjR3Ro+H+2cxzng== X-Google-Smtp-Source: AGHT+IErH09wdJlvXWGHJM48c7kE3IZy2U5upoqE1Z7tx4Z5TKvQCCRaXqxdVjDQXdSq/cQSTMoo0A== X-Received: by 2002:a17:90b:b0c:b0:276:ba43:a863 with SMTP id bf12-20020a17090b0b0c00b00276ba43a863mr1118181pjb.41.1695803634109; Wed, 27 Sep 2023 01:33:54 -0700 (PDT) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id d11-20020a17090a498b00b002680b2d2ab6sm12927820pjh.19.2023.09.27.01.33.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 01:33:53 -0700 (PDT) From: Visuwesh To: emacs-orgmode@gnu.org Subject: Re: [BUG] [PATCH] Add yank-media and DND handler [9.6.7 (9.6.7-g6eb773 @ /home/viz/lib/emacs/straight/build/org/)] In-Reply-To: (Max Nikulin's message of "Tue, 26 Sep 2023 23:25:22 +0700") References: <87jzsintv0.fsf@gmail.com> <87lecx2nff.fsf@localhost> <87bkdsomm2.fsf@gmail.com> <87a5tamm3j.fsf@gmail.com> Date: Wed, 27 Sep 2023 14:03:51 +0530 Message-ID: <874jjgj9qo.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::1042; envelope-from=visuweshm@gmail.com; helo=mail-pj1-x1042.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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: -8.69 X-Migadu-Spam-Score: -8.69 X-Migadu-Scanner: mx1.migadu.com X-Migadu-Queue-Id: 2162E5BF8F X-TUID: /oNOX0Hm6K62 [=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D = =E0=AE=9A=E0=AF=86=E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0= =AE=B0=E0=AF=8D 26, 2023] Max Nikulin wrote: > 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. The common request I see when a file is dropped is to associate it somehow with the org-mode buffer. org-attach is the most natural way to do it. If the users like the old behaviour, they can remove the entry from the alist.