From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UMgZFBxSz17TCgAA0tVLHw (envelope-from ) for ; Thu, 28 May 2020 05:54:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gCENEBxSz14UJAAAB5/wlQ (envelope-from ) for ; Thu, 28 May 2020 05:54:36 +0000 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 CC73C9401AE for ; Thu, 28 May 2020 05:54:35 +0000 (UTC) Received: from localhost ([::1]:38974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jeBUw-0006ti-Js for larch@yhetil.org; Thu, 28 May 2020 01:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37756) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jeBUQ-0006tM-BB for emacs-orgmode@gnu.org; Thu, 28 May 2020 01:54:02 -0400 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]:35970) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jeBUL-00024i-Cs for emacs-orgmode@gnu.org; Thu, 28 May 2020 01:54:02 -0400 Received: by mail-pl1-x642.google.com with SMTP id bg4so5772702plb.3 for ; Wed, 27 May 2020 22:53:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=GnUJPTu4KJfAn/+KFVze9tdaajw+e6bb3WPsjDG6K9Q=; b=o3rumHkK/a86WT2fy5bAZ/lQVl1DeduKK1qppuhq0Yx5H7p8W8+vDju+nnPwKw6wH6 0zqJbFiNDYZlrOSf79z9KxKCPl7lRd2Cajyh9Pkmrr6PWkEwwMCqd2V8XFP9ze5e6kB+ EkoIwUxC4qTokCN6Pe0/fXXPly6ni3EGIt4dhvkL9MQFxsyrGwZZ+JGznWANL5EPnCwX lju72CyQXR3tGMd/Koq3AWtprxCJw3maNbmLkfR+Korvn0G/3OGD/9UeKRgmF5tVvgRA 1c0MQGOAJZIktR8wYOwn8OfLXYNfFhGm+1xud0MYByzLMKXouMDkd+QtbdR6ZwiizpGL 7qyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=GnUJPTu4KJfAn/+KFVze9tdaajw+e6bb3WPsjDG6K9Q=; b=YwXlzhnCUritJFps8cEDz1jZs+fBmMTbMz0UEfQWbW/qtmSW8gdn/VDgvVPcwKwFxf 7F2TFJmeqnAur83Bcp3OST+5HQg3lhixB0LSIpSnbl0nDOas29sJRFy/qgL7WuZbgaEE /vTChGPZ24IvCaMDQm6KztHptJBP7VWqPaPAg69iwTvr9bRGUEkE40g27x7VkifJuiVV iWZ/9N77eq7EmoQ9A86xAOPsefe4YOBjmyZXuiXeAXw1Nfb4rL7Vf7dwfl+6I1U0Mr4y R0DBrCjlJsbLPb6XBOsraegME03O+uycx1xcjjhfgL/O/D5MMx5G4m0Tcikh1nO/u4dC /uuQ== X-Gm-Message-State: AOAM531vlFVoEN6pls1E+dHER9viibQ3HPBI14+B/hiylC4iHfzyH3Je WASqajiOQEbovYd7ZS1Z4ms= X-Google-Smtp-Source: ABdhPJyUAcXF0i3mS0k5iywfoofdJ/l4V+nAieUGnspUnls33ZfQYGqOmHfK0glxfAQCtJaENPP3fQ== X-Received: by 2002:a17:902:223:: with SMTP id 32mr1874857plc.331.1590645235648; Wed, 27 May 2020 22:53:55 -0700 (PDT) Received: from localhost ([210.3.160.222]) by smtp.gmail.com with ESMTPSA id 6sm3668207pfj.54.2020.05.27.22.53.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 May 2020 22:53:55 -0700 (PDT) From: Ihor Radchenko To: Matthew Lundin , numbchild@gmail.com, Org Mode Subject: Re: [Feature] add a new org-attach dispatcher command to offline save web page In-Reply-To: <87r1v4wyy4.fsf@fastmail.fm> References: <87sgflu2gw.fsf@gmail.com> <87r1v4wyy4.fsf@fastmail.fm> Date: Thu, 28 May 2020 13:49:15 +0800 Message-ID: <87r1v4bodg.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::642; envelope-from=yantar92@gmail.com; helo=mail-pl1-x642.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=o3rumHkK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -1.21 X-TUID: epU1RYpTSPjj > This looks helpful, but I think this should be an add-on rather than > integrated into the org-attach. I'm glad to learn about monolith, but > far fewer users are likely to have it installed than have wget or curl > installed. You might also want to check out org-board, which has similar > functionality: It does not mean that attaching URL directly is not worth including into org. This sounds pretty common use case, especially considering the number of packages providing similar feature. You mentioned org-board, but there is also org-download and org-web-tools. I agree that monolith is completely uncommon tool and I would not expect the majority of users to have it installed, but the same functionality utilising built-in url.el (as a default) should be acceptable. Best, Ihor Matthew Lundin writes: > stardiviner writes: > >> I attached the patch. >> >> I think this feature will be helpful for use who archive web page data usually >> like me. To be more portable, I also added an defcustom option for other >> external command. And use an if condition to detect whether external command >> available, else warning user. > > This looks helpful, but I think this should be an add-on rather than > integrated into the org-attach. I'm glad to learn about monolith, but > far fewer users are likely to have it installed than have wget or curl > installed. You might also want to check out org-board, which has similar > functionality: > > https://github.com/scallywag/org-board > > Best, > > Matt > -- Ihor Radchenko, PhD, Center for Advancing Materials Performance from the Nanoscale (CAMP-nano) State Key Laboratory for Mechanical Behavior of Materials, Xi'an Jiaotong University, Xi'an, China Email: yantar92@gmail.com, ihor_radchenko@alumni.sutd.edu.sg