From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id HWhaNghd1l55VQAA0tVLHw (envelope-from ) for ; Tue, 02 Jun 2020 14:07:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 2CcAMghd1l6lcAAA1q6Kng (envelope-from ) for ; Tue, 02 Jun 2020 14:07:04 +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 3C7CA940276 for ; Tue, 2 Jun 2020 14:07:04 +0000 (UTC) Received: from localhost ([::1]:58310 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jg7ZF-0002ot-Q0 for larch@yhetil.org; Tue, 02 Jun 2020 10:07:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jg7Yj-0002oZ-2k for emacs-orgmode@gnu.org; Tue, 02 Jun 2020 10:06:29 -0400 Received: from [183.249.132.153] (port=1081 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jg7Yh-0003Cb-7u; Tue, 02 Jun 2020 10:06:28 -0400 Received: by localhost (Postfix, from userid 1000) id BC12024153A; Tue, 2 Jun 2020 22:06:18 +0800 (CST) References: <87sgflu2gw.fsf@gmail.com> <87mu5rscg7.fsf@gmail.com> <87y2p51wy0.fsf@gnu.org> User-agent: mu4e 1.4; emacs 28.0.50 From: stardiviner To: Bastien Subject: Re: [Feature] add a new org-attach dispatcher command to offline save web page In-reply-to: <87y2p51wy0.fsf@gnu.org> Date: Tue, 02 Jun 2020 22:06:18 +0800 Message-ID: <87h7vtbm05.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.132.153 (deferred) Received-SPF: softfail client-ip=183.249.132.153; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 09:55:46 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 53 X-Spam_score: 5.3 X-Spam_bar: +++++ X-Spam_report: (5.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Cc: Org Mode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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.59 X-TUID: JjmG+8yAkBbW =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Bastien writes: > Hi, > > stardiviner writes: > >> I added monolith link to defcustom option docstring now. Update >> patch again. > > thanks for working on this, sorry for coming late to the party. > > The initial need was to be able to download big web documents > asynchronously* but the conversation drifted and the patch now is > about adding a new org-attach command, using monolith. No, my patch's purpose is to offline archive the whole web page completely. > > org-attach-commands is an option that users can customize to suit > their needs. Adding the ability to use monolith is fine, and we can > advertize through Worg, but I don't think it should be in Org's core, > because (1) monolith is never preinstalled and (2) there seems to be a > thin and non-obvious difference between what `org-attach-url' and what > `org-attach-url-archive' provide -- unless I miss something? Well, It is acceptable if you think reply on monolith is un-acceptable. I think maybe Org maintainer can improve the org-attach code to suitable to= add custom function. In my patch, If I want to add a custom function to archive without modify Org Mode org-attach code, customize is not possible. So do y= ou have any idea to improve current org-attach code, make it suitable for thin= gs like my patch? > > So please don't hesitate to document this on > https://orgmode.org/worg/org-hacks.html or any other page! > > Thanks, > > * BTW, I still think implementing url-copy-file-asynchronously > is something that would be useful within Emacs core! I remember I send an email to emacs-dev mailing list, but seems this is not implemented. So .... =2D --=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 =2D----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7WXNoUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsOJ1wgAwxeVRr8DS5VmN49SP6g5BfcNUYGy V6BdIBH2DFFU1F68df8VR/zIgq94QylsoAGR/9R6zyDv7iWBiHZxCBdnn4CXkYsh k18td+lcRmG9M2sr40FvLeNW5bNseI1Sz0quNrSOlc+1n0DDH9AiTEWUQEGCE2gW 53u2zQak4woFCuQToNP2AWm9vd+U7yBDBtkdz2vFYnqQ5TUMLC17bDcKYDPEXMVj X0QulekeVhFw+iheQ2s63bU/IpaeU3fdylZhctNECNUqHRf9If+mOInpKYmZ3xsP JDly8+tjtOPHlr0Llizzd07805NwNGhONyH8DXdeI7AeAQJudYkAt6x8lw=3D=3D =3DPEyv =2D----END PGP SIGNATURE-----