From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qBnWCGVrFWUoIwAAG6o9tA:P1 (envelope-from ) for ; Thu, 28 Sep 2023 14:02:45 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id qBnWCGVrFWUoIwAAG6o9tA (envelope-from ) for ; Thu, 28 Sep 2023 14:02:45 +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 BD4EF52612 for ; Thu, 28 Sep 2023 14:02:44 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iuX7tmM3; 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=1695902565; 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=qP/4emhlgwBM3zeAuU0rs9rsYZiPkBwMVzha1E4R5h0=; b=LHWuRINiwIGo7kylkuv53TI2JH0UJUHkOCJSklkfslt5Jby/X722UuqfHCj7eE2EGsGBSW 7btpvEaLeAF94GLEBSTajnJw2+fSPh1++rCK/MQGjf98GG2519lOMZPsFHSQusS54mhwvZ LWD7rfgAwNkd/uiUBexoBx1AKgB1se3AtcEF7yar2BGvnjfU8mmwRthVBFG4kulMVfh7RX FATlg8Ftz3xc/rm8zb99/DeqM5TWXlVqyh0ihliHrM5bNMrlMWLf2EMzHvgdOB6ontLqUb LklRw7gUcBpROxybQ5Nvz7LOeknW/xT8ykJt1tm+8GEXQfg69WwfoMzScPpFGA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695902565; a=rsa-sha256; cv=none; b=X0lqciztZtccRzh0bH17AoynanzJvSCx2vngHupN/rwwkn5V3n369iVM8ziyFs/YpXC9/E qjwnZeuC+hqw7BJ3THQknlXz+JFYC+jh6/TT0u2imquL4nWlQYhKmwRVqENThePRQ+1GDn ySJFaBabgrCya3aM4tG7PaEWU9y5niOcafjDPdtBoFxp9+EozZzt+NXOj41cVIG27LWV8v Lh73cNnq3L5kbAbGtDjmxbcwp9RSrcSfcByuidVsfnryc299DuJsweCHAcf0IPY+KEmmPo HItwR1y6DQin1cLzc/bKacDIIh42+m/yNSuxFc8hLkcPr6U0oZXpEu3LQglrqQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=iuX7tmM3; 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 1qlpiB-0001W6-Ji; Thu, 28 Sep 2023 08:01:43 -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 1qlpi6-0001U6-2P for emacs-orgmode@gnu.org; Thu, 28 Sep 2023 08:01:38 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qlpi4-0001Tf-5Q for emacs-orgmode@gnu.org; Thu, 28 Sep 2023 08:01:37 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-50433d8385cso20093589e87.0 for ; Thu, 28 Sep 2023 05:01:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695902493; x=1696507293; darn=gnu.org; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc:to :references:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=qP/4emhlgwBM3zeAuU0rs9rsYZiPkBwMVzha1E4R5h0=; b=iuX7tmM3zvcGw6mrw3HNT2O+xf2hR+ubicJHWps4ZpEPvFMXU+0Ku3I4qNyK3fHACt 0dvdM+bsKHf9PCqBcZ5tLAFUK6gDtYaVVP62CyFtlN2d6Q86dj+5RZ1FE2idcp+wUgn5 bbVxomxA0hmasv5X63WyG+R/JIxbqJGILW2/rKC/ScEydlVZPVzzFAa+EX4eucYrWPeV F0NlNjK3DbUSF3beeL2jibkGIK33WIFWDSG4o2qFaKYy/riHgSoLUJkYfAmhURSwjlsB tD3Mwanw3gQVXW4pbYwDNHvaBGG0yP+0wXQVafWYkPAPk30DItz+X+LLr6QGofhTVmM0 /SjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695902493; x=1696507293; h=content-transfer-encoding:in-reply-to:mail-followup-to:from:cc:to :references: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=qP/4emhlgwBM3zeAuU0rs9rsYZiPkBwMVzha1E4R5h0=; b=lotwsyH5dWq9Mv/ZEvmot2X2HX1CxOUv1fykHE0OTXBGA6UhWIVW7oCA2tyNQJQLVy BWTYQVP3b1rvMW3JqHHtrYuNua/5bq7XM2rTxX9PILzuEXl1kNo8tSM7dB5xiEUawmed kA8ZW7/VPHi4EEmb3f5yg6IS9Ocg1T13dKkA41IO7TIcTaoUmK1NCywd7E0ObiJmFdvZ NHGRiNjGlcgFO0sec4ArOUasA+Jz2b9S1FxU3XBOSNy3xp5DP4yv8cB4wiM5og8GsfAL 2TtXnBvaVRYTzEa5vF0GJgNKoDf30KZdTIwvAchdq4g/8GGVplUv3FtF7GmRXfjXrFjf +lnA== X-Gm-Message-State: AOJu0Yz48N5LxxpJy8nxrT+R6JuLgXisUnhYbiLib7dgTqH7iSxL+LAk gZoKHBfQpYM+K8S8KZJg2J859o7m6T4= X-Google-Smtp-Source: AGHT+IGLGYi7eQMavMGnAx+BSxGrQaZ+Wuyx8G0+P9DyiYGHnBmV/fvDcg1/ZaaAmazHK95kRHaIlQ== X-Received: by 2002:a05:6512:12c4:b0:4fb:77d6:89c3 with SMTP id p4-20020a05651212c400b004fb77d689c3mr1209126lfg.12.1695902493009; Thu, 28 Sep 2023 05:01:33 -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 b7-20020a056512024700b005007da9f823sm358919lfo.168.2023.09.28.05.01.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 28 Sep 2023 05:01:32 -0700 (PDT) Message-ID: Date: Thu, 28 Sep 2023 19:01:31 +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 References: <87jzsintv0.fsf@gmail.com> <87lecx2nff.fsf@localhost> <87y1gul4oq.fsf@gmail.com> <878r8t9qrh.fsf@localhost> <878r8sj9xe.fsf@gmail.com> To: emacs-orgmode@gnu.org Cc: Visuwesh From: Max Nikulin Mail-Followup-To: emacs-orgmode@gnu.org, Visuwesh In-Reply-To: <878r8sj9xe.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::136; envelope-from=manikulin@gmail.com; helo=mail-lf1-x136.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-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -3.82 X-Spam-Score: -3.82 X-Migadu-Queue-Id: BD4EF52612 X-TUID: mVyLzLJ6Jmkx On 27/09/2023 15:29, Visuwesh wrote: > Ihor Radchenko wrote: >> We can just say :safe nil (omit the keyword). Then, users will be >> prompted and can decide which directories are truly safe for them.> That would be quite annoying IMO. I say we let the user shoot> themselves in the foot. The patch implements 2 features: - attach to an Org file, - save to arbitrary directory. Second option is not specific to Org, so I would consider it in the context of Emacs core or an independent ELPA package. I am unsure if this is a bright idea, but it eliminates most of questions. Concerning security issues, there is demand like > I wish to open Org files by using EWW. https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58774#34 So a file from net may have arbitrary local variables. On 27/09/2023 15:33, Visuwesh wrote: > Max Nikulin wrote: >> >> 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. I am unsure concerning opt-in vs. opt-out choice. I do not follow discussions e.g. on emacs help and on reddit, so I can not estimate if voice of users happy with opening file and discovered changed defaults would be louder.