From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id oJ1AIqNDn2Km5AAAbAwnHQ (envelope-from ) for ; Tue, 07 Jun 2022 14:25:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id mIc2IqNDn2IsLwEA9RJhRA (envelope-from ) for ; Tue, 07 Jun 2022 14:25:07 +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 4B6002EDDA for ; Tue, 7 Jun 2022 14:25:05 +0200 (CEST) Received: from localhost ([::1]:42854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nyYGe-0007EY-1v for larch@yhetil.org; Tue, 07 Jun 2022 08:25:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyXSM-0003ql-EU for emacs-orgmode@gnu.org; Tue, 07 Jun 2022 07:33:06 -0400 Received: from mail-pg1-x52c.google.com ([2607:f8b0:4864:20::52c]:45985) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyXSJ-0005JA-JV for emacs-orgmode@gnu.org; Tue, 07 Jun 2022 07:33:04 -0400 Received: by mail-pg1-x52c.google.com with SMTP id 7so14800894pga.12 for ; Tue, 07 Jun 2022 04:33:02 -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=4q9zjfsTBD+p8EQ1QWr4vGGnuUQKA4eKFlxBVJ4azKY=; b=qK0rhZRl355xJfBUyHXNYUDZ9I9+wMDNp6GddKeV5eNBfF6dXRFoiojTovV1WqlCDm WkyZzEc1m3075TbK/IdoxJXngehpG/YdL1GaebPlCCCc4b6VdUuqY86Mc2X2KQTAybeR tdC3MASbysxKFMS1OSey3yYMf5BXYHMaIqTI3ykQemiu2fApARSgoYS8t7G0LTD3cG/k PVxKz0XUYXg1vkwS2MqpGtIN/OP+aYMvRrxmw9mzcGAHlNtY6Inp8OCvOUGBabpCIpXX R7r0CdPI/vw9mtAEgmvrTBYxERCEUfy1Riht1OJt2QTKf/1nEViHz0Zf6gmbxgWgwhzo kLyQ== 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=4q9zjfsTBD+p8EQ1QWr4vGGnuUQKA4eKFlxBVJ4azKY=; b=AQ3hvR7AfDsYOR8cFc3UTT+/Tln6Gla88rj0/xJXrw58XjX712GnkHpAU19xkZXXM2 /t+cQ1xY4wMoHo5ERkd6qr29ey8v05040WGVzLtx1sKKr6V8jQgWrMnCKzr3svDCqOcs t0a5eB70VYx1H5/E7H0HZaN6dTp+HdSosXtlj7ju8rE5pNzGRnhZ7liKD2y3LflSRGBW /ajR5HY1BRsiqypk8z/zf3/voMAPXynN8TTuPT8m5n2QMmUTjmcR0Vo/XyyzcdvWeA0C LdNEX3Qx2h307vFzAiGmvnYWh8AckgPAJQ+xg0sqLfBOuJnTocCfojZe7umXc3R63uih jXcA== X-Gm-Message-State: AOAM531pHF0MsmmgFQSUoJcaqPUbS8sUtRvpFB3qNsMDxjXex5R/X70+ s7TM4WySmZO2VriR0kU4aIA= X-Google-Smtp-Source: ABdhPJwsMZtUshRtsfUGhDovpavKXgx1AdK2Gi8qZ4jkwPcIdjELzK6s1kviOVacI1tdRIdd7GgWZg== X-Received: by 2002:a63:8b4b:0:b0:3fc:ea73:db40 with SMTP id j72-20020a638b4b000000b003fcea73db40mr22835613pge.399.1654601581613; Tue, 07 Jun 2022 04:33:01 -0700 (PDT) Received: from localhost (2403-580e-91f7--124.ip6.aussiebb.net. [2403:580e:91f7::124]) by smtp.gmail.com with ESMTPSA id e186-20020a6369c3000000b003fd4bd3befesm7279871pgc.55.2022.06.07.04.33.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 04:33:01 -0700 (PDT) From: Timothy To: "Fraga, Eric" Cc: Max Nikulin , emacs-orgmode@gnu.org Subject: Re: [PATCH] Support #+include-ing URLs Date: Tue, 07 Jun 2022 19:27:40 +0800 References: <87k09v5gap.fsf@gmail.com> <871qw03huu.fsf@ucl.ac.uk> User-agent: mu4e 1.6.10; emacs 28.0.92 In-reply-to: <871qw03huu.fsf@ucl.ac.uk> Message-ID: <877d5sd7yu.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2607:f8b0:4864:20::52c; envelope-from=tecosaur@gmail.com; helo=mail-pg1-x52c.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=1654604705; 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=4q9zjfsTBD+p8EQ1QWr4vGGnuUQKA4eKFlxBVJ4azKY=; b=LlQGQphxywL8vXFC8MY8MNSZ4IZe5zXPU8tetl+sZbUNlLvgCB+OmSGD/XIOXk18Uk9wIc gCD9IBF86SL/oFeXHDlMFb8louvUopgS41Q8xLNOFFJDQg2HMxrwfFRpWJD1UZTjjekQ7u zA2s/LYr7oUOVlt5qmFu8KHgHA16bwkWXlrji0W/91OaXBWVZnaYAE6rhbZbgP+Zl2P/5n LrPl+tRwjKYMtIzsf1oHRZr0h0cRNlC2OWGUuGQ5WkJFaBVH+yW1VrU395rjXdPw6BSFgF HFWpQPo0x+hsIjrJlbkwIz1wOi5HVQ/U2k0MiDwJLB4KcdR/bciKmUHOPQcqcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1654604705; a=rsa-sha256; cv=none; b=iDPcSak6m40Waifk7rvU1pQFEFRq4WA+X2vlGuLdEY3uqk5UV8Bi2Y0o/25TmsKHHlUoEr MD2dfbDIosZ16uWLkGEOz1IAXJN8DlnIHehfXdweZ0APdfiJLw1FiuD6sCh9gx+bFnLn1r vyvCoGZhyx8a1EvM0Je7v0YRcWTJ60r6FGhFhwFLPgM3qWIKPasSxx04ecXdCx2BXcOWoU yHkT1XG6k9DNlKijyC4Bkv7a9MY9a2zy0U9o4XbuvWmFlLrLVlOIY5QfwdWLjQm6DJFsSa iw7ExeU80bhqustA3snyZ3o2DVaXvctbRu6X+BJ2B/ajUcZACulYdnQeqSinlw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qK0rhZRl; 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: -3.01 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=qK0rhZRl; 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: 4B6002EDDA X-Spam-Score: -3.01 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZKKwG987c343 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Eric, >> Is it possible to disable fetching remote files by some setting? > > I would not want automatic retrieval of URLs without confirmation. This already occurs with #+setupfile. I think this is a good point to raise, but a slightly separate one as it concerns the pre-existing behaviour of org-file-contents. A new patch set introducing a defcustom with three values (t, prompt, nil) = and accompanying modification to org-file-contents (it=E2=80=99s the only use of `url-retrieve-synchronously' other than org-feed I see) would probably be a= decent idea. If nobody makes such a patch in the next week or so I=E2=80=99ll take= a punt at this. All the best, Timothy --=-=-=--