From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uBlVKYuK0mIePwEAbAwnHQ (envelope-from ) for ; Sat, 16 Jul 2022 11:53:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id WJlsKYuK0mKFGgEA9RJhRA (envelope-from ) for ; Sat, 16 Jul 2022 11:53:15 +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 3A5B81A10 for ; Sat, 16 Jul 2022 11:53:15 +0200 (CEST) Received: from localhost ([::1]:36120 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCeU5-0000dc-VR for larch@yhetil.org; Sat, 16 Jul 2022 05:53:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCeTO-0000dE-OL for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 05:52:30 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:44674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCeTJ-0008BA-L2 for emacs-orgmode@gnu.org; Sat, 16 Jul 2022 05:52:29 -0400 Received: by mail-pl1-x62f.google.com with SMTP id q5so5090283plr.11 for ; Sat, 16 Jul 2022 02:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:references:user-agent:in-reply-to :message-id:mime-version; bh=apFHuA0stTKxHza3CKPVwHzQr5L2VnNFZQdZ2rwh6OY=; b=f1kEZZb3x0NGyVZLQT8ooZP54DGw/0n85zvJbCpTyjDnuooAyLKVsEyABJkdjn7sCg DTe1r18GKWFjtay9jXvbiyQx+j2g4RubBPgzRsZZ3llKSx1vCtgnkOMfNwQJN6IbPoiX Nj677tCvivTfvhCXCIxpNf7W/rF4uu1IMMbxPiIGKqPYdSpH4vmh5Su1+fVk9HaxMppK IeW8ekqHmJxuy+laqvlvtlkGYfsucRr1RG0KGiYvHX85K2uT6ksdzglylJ5rLueUqTCH zSXDw8fxC1bZc3O8oPFmJc8eAGxuOEWsJyzI95I5VI7tymKt1J/hf6K2CxgikSW3ZVpt N1Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:references:user-agent :in-reply-to:message-id:mime-version; bh=apFHuA0stTKxHza3CKPVwHzQr5L2VnNFZQdZ2rwh6OY=; b=hm6DIRgZJs3OPtXtcF8IEcjtLgRu7pofpdtNc8Ds8knFUMvgEQew0EUmBgf/TWngg/ CFdCc8PELVoanR3GvctY98u/pw+U5aq8OW5c2VoR3jxo2SmIlPNKql8P5Oa/WC2YeC7h Yrz80Rf+HKPLEa4g3tB4XvmqGzdNaijRdyRugfa9IvgDjYvq3qdZ416pczenH5NXNTTx s3UOh61agLjbh07/SY98HW912oXcwis31eSZ9vyqhPDi9x0FDJkxfnGs/ydmWkhvYCvg 8Zn8ZiL8q+UcN4+HAezBbvbanIP3CFbwm3JFtrxjeCgBHvMbhlfSLJStVjbqgsZoamZX 58pg== X-Gm-Message-State: AJIora/u9/eEpZCjrMrIqzFVutrT7WEY8ZZjtBfGuUhqrprxgrHyRxGR Dy3O3T+r918EEStwzWpEJlY= X-Google-Smtp-Source: AGRyM1svdzpDVAIdd/lI0xZCJv6wjjLlY2x31bTm60p08qPjdfdBuLEJSNyq+rLcF14lK00F8MTQWQ== X-Received: by 2002:a17:902:d491:b0:16c:509a:ac3b with SMTP id c17-20020a170902d49100b0016c509aac3bmr18644104plg.103.1657965142698; Sat, 16 Jul 2022 02:52:22 -0700 (PDT) Received: from localhost (2403-580e-91f7--5dcb-1344-eeb4-7191.ip6.aussiebb.net. [2403:580e:91f7:0:5dcb:1344:eeb4:7191]) by smtp.gmail.com with ESMTPSA id p10-20020a170902a40a00b0016bea75a3dfsm5100813plq.50.2022.07.16.02.52.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 02:52:22 -0700 (PDT) From: Timothy To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] New remote resource download policy Date: Sat, 16 Jul 2022 17:47:47 +0800 References: <87mteiq6ou.fsf@gmail.com> <87pmj1nh7v.fsf@gmail.com> <87o7yb7af2.fsf@gmail.com> User-agent: mu4e 1.8.5; emacs 28.1.50 In-reply-to: X-Woof-Patch: applied Message-ID: <87cze5z8od.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=tecosaur@gmail.com; helo=mail-pl1-x62f.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, T_SCC_BODY_TEXT_LINE=-0.01 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657965195; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=apFHuA0stTKxHza3CKPVwHzQr5L2VnNFZQdZ2rwh6OY=; b=uQYwGK8m4m/SINbALR34vsUYuf8IpEFo3qtoY3mAMQywsZrUQSxqUlY2SVPR7R+sAO0cko r85t7FFl1bLCnU02zJFHmDsa/bz1jbH1835GYCc0ccXPPAFVka4eVBFaShgLXt+0s4X5cB Z/wGvIwchmeE7zNU/D3qB5ewqLYrcERt91KHCPpyIqZC7gS3GfgfIqUlfsKNzmMeT62u8T QDDXPRJU11rkfDkzHqnwk5+nIwdHg0bK8uMUupoKmgU71ctUfRQp8/BP0XJcSctVNL+WGK LrQv/lj6Is1VlKU8hbo06E7AgbIQWjyGtdxd1TJo9VmD1KyWq+XgExSkZtFnsg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657965195; a=rsa-sha256; cv=none; b=qtH0KwTvEu6nf7RufsouQauscQG/oe6sYQkGAgWL5vCrKXSs+IeYZ/jrBgSdN4mJGKwi+C ygm1msQLV/uOaxg4M4A3Hwx6LOykHuyMDq3E/cjBg3+1tVAr+EKOSlxsJ7gBdpRCCuye70 SQIhhDfPnWcfaIjVg8BqXZ0iEojFlwp3SZrIsZRgDCvjxEWIVhjLwD2GfCzUxflsF/Y+EE uT45eXeG+TL4fuecf6PNyHtqkjUK874jVof+P0BodXDu/mWXid2xImu8mNIS6c9mUbbVm0 jZ8VmWCk+aiixEo2qbdxtqkC8R9mgRK4A/0zkFJXau39MDUHPqmtXuURHr+WVQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1kEZZb3; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Spam-Score: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=f1kEZZb3; dmarc=pass (policy=none) header.from=gmail.com; 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" X-Migadu-Queue-Id: 3A5B81A10 X-Spam-Score: -5.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: UdzpUeO60vqL --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Max, I=E2=80=99ve just made a few more tweaks, tested it, and pushed this as 058= 3a0c. We may want to tweak this further before the next Org release, but I think this is= a good enough starting point. > An idea: a menu entry that displays location in the org file that caused = the > prompt. However it may require enough work to pass context data to the fu= nction > rendering menu. This could be added in future. > I see you point concerning blocking modal prompt and I do not like it as = well. > Have you seen the following thread: > > Arthur Miller. Proposal: =E2=80=99executable=E2=80=99 org-capture-templae= s. Wed, 22 Jun 2022 > 14:13:51 +0200. > > > If it were merged already, would it be enough for you to implement the di= alog or > the proposal lacks some features necessary for smooth user experience? I have not read much of this thread, but from a brief glance =E2=80=94 poss= ibly. > The reason why I asked about `org-mks=E2=80=99 is expectation of UI consi= stency withing > Org. It might help users having customized `display-buffer-alist=E2=80=99 Here I was more thinking of UI consistency within Emacs. > I still do not like code adding a menu close enough to existing one, but = I will > not object any more. Since this is separate to the functionality, I=E2=80=99m going to push this= for now, and we can update the UI side of things later. All the best, Timothy --=-=-=--