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 2G6TGw0SpmI0XwAAbAwnHQ (envelope-from ) for ; Sun, 12 Jun 2022 18:19:25 +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 yFp7Gw0SpmKv2AAA9RJhRA (envelope-from ) for ; Sun, 12 Jun 2022 18:19:25 +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 EFFB3E1D9 for ; Sun, 12 Jun 2022 18:19:24 +0200 (CEST) Received: from localhost ([::1]:41386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o0QJ9-00075J-Ce for larch@yhetil.org; Sun, 12 Jun 2022 12:19:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32908) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o0QIf-00074u-VK for emacs-orgmode@gnu.org; Sun, 12 Jun 2022 12:18:53 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:44992) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o0QIe-0007lZ-CI for emacs-orgmode@gnu.org; Sun, 12 Jun 2022 12:18:53 -0400 Received: by mail-wr1-x429.google.com with SMTP id q15so4386321wrc.11 for ; Sun, 12 Jun 2022 09:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=9t9Vyu/KP6y5TRRQA6TntmYZYvEXLUYyWdIWv6tqxSY=; b=YkFeiEq5KfwvMk8uPJHQinCmt0anUFEBEkR6h45sG45jAU/4yPaUakY3JnnNqWkzda XeQlUQBJtx54dnv+lmGu9WJp/LktjmiglOk463h77Y+5oqLVElO0NicI3w3ATzo4zHmV lxnHgRibDlxI03j9V7pAXXoyPlOgyrHkMzNscmHB3opNZBWQtWLaYNuirI7iWQcgzVv+ Q1HB1z9lhh6J/+RHUMzCplGtSdqbJxu+gojbXT2q+jmNusUoTdZRcWZaS1LT3dMb6BN7 97KOrNHtNMLqOVDODPAjOh5yuA8n3MPYUxe2ZN8jzAoGzp73Mv0X9a4UO+MXCcDzkFtG hZdw== 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:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=9t9Vyu/KP6y5TRRQA6TntmYZYvEXLUYyWdIWv6tqxSY=; b=4Orp/4YHWMjyvd/mNUOeP6PZzNdmqb/MuJdFBaZnUqws+rL3rjDYG8tjPNUXwukHQy I0sniO44Q4FwSf7oLWAZb7wqv626G39Wig+bQ8fPGep9byxsYbbuezfZ32HftXoXDWFn FMGkeg3ssw1rpB2w5ndJsBFI66kiQ2Qim1pk4E2MpqwIPWFJ/uJsMIAsq3lk6LGlJWm0 nNk13ZgOh4WUkPwYz/3G/p6Jyob9JjK6H6bnkXpf4/e7h9DOetr7FULVlFQkjfKu5RHe FL0DHD05hvoRcfL4DqALdchasODtLuFAk+nsDma0w0Jt7LSMX2vuhC7Z11WDNqI7XHTQ U/vw== X-Gm-Message-State: AOAM533DRFgkvy0hc7WWSj/gDWiYRCvNWLmSJyIBU1bRMuOyOhIz1yWV 8Sok9eFjXh+CGCKyaV07xn5eQF7x4HUNDA== X-Google-Smtp-Source: ABdhPJwlz9f+xY8xXhHf61CFfaemt/+uJ86KiUUAmexxbPi3KqZEgcHGwnyQqGKWgic3MYW13niO/w== X-Received: by 2002:a5d:47a8:0:b0:217:b5ea:bdfb with SMTP id 8-20020a5d47a8000000b00217b5eabdfbmr39352061wrb.492.1655050730477; Sun, 12 Jun 2022 09:18:50 -0700 (PDT) Received: from Home-Mac ([94.230.83.63]) by smtp.gmail.com with ESMTPSA id p21-20020a05600c359500b00394708a3d7dsm10426536wmq.15.2022.06.12.09.18.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Jun 2022 09:18:49 -0700 (PDT) From: Daniel Fleischer To: Timothy Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] New remote resource download policy References: <87mteiq6ou.fsf@gmail.com> Date: Sun, 12 Jun 2022 19:18:47 +0300 In-Reply-To: <87mteiq6ou.fsf@gmail.com> (Timothy's message of "Sun, 12 Jun 2022 22:43:07 +0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::429; envelope-from=danflscr@gmail.com; helo=mail-wr1-x429.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=1655050765; 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=9t9Vyu/KP6y5TRRQA6TntmYZYvEXLUYyWdIWv6tqxSY=; b=SI6LcCY+2O3hIOmuCzcgF2ZgpQ25QDpttd0njvXW4bo+FRqr/RqlnrTPIF+u4j4pRQ0kt/ vAlVIbEHRT1HPRX67iHIuR0ZKGGFOOVdMybR+xno2RzTvWTbELsyDNoWz1hjRuWdG1HH0f R5fR5HMY/Pf8e/3WJKbUD3OoP8yM/aQwEtxEbgSseFnsDJuWgAgqeoeDBM/Y9lI6fDVo7D SwRIElAkkV2GGM0Tp2G7tAcZIz6LGAFPB1OG63YBZoUdwobByddc7owixxOn90N/YP9hZC sBQ0WwlCeE+pgZJrfqM+Tp3CqKgzlyxteV+aAgQ++GrRK2bylPuKuhUUclCk+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655050765; a=rsa-sha256; cv=none; b=KjPnc52OJW51kfhXZHcZN/+byJ5zhvpEncMvwp7TSiD21gusRtKrvNc96qBmCzKXDdTuOo DhqpGGV6AcrPjBWXoAGJCTno+9wwAi94c1bUIXu7yCfofxjEHERSd59vKyroG24LEZJ6VK /XLkyTbF+26rLbZ8KsMdvF34SSEZxg/uoqkUxZljUQ6PZ8vcfOBdoo/eZJzoV5C9fAZmKI WclsRaMvxO4X1aI7smSDCc6Ujrg5dMnh1iRiOg3MxTTMk/f7o249bjkTa0HbJXpdiM0lru 2t1GqL48ZhSjgIzwskkaH6ENhJ+eDZp9+geHgmC/mW8suoaSsq233xaZCez5aQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YkFeiEq5; 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: -9.29 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=YkFeiEq5; 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: EFFB3E1D9 X-Spam-Score: -9.29 X-Migadu-Scanner: scn0.migadu.com X-TUID: WrjtTetbfzW4 Timothy [2022-06-12 Sun 22:43] wrote: > As was raised in the #+include: URL thread (https://list.orgmode.org/877d= 5sd7yu.fsf@gmail.com), currently Org will > automatically download files without confirmation in various circumstance= s.=20 > > This patch introduces two variables to control Org=E2=80=99s attitude tow= ards downloading files, and hooks them into the > relevant parts of the codebase.=20 Hi Timothy, looks very nice! I was also bothered by it, specifically in the case of #+setupfile. Having a safe URI regexp list is a nice addition, similar to `org-link-elisp-skip-confirm-regexp'. I'll definitely give it a try. --=20 Daniel Fleischer