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 26QTNLEz2F6+BgAA0tVLHw (envelope-from ) for ; Wed, 03 Jun 2020 23:35:13 +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 eLt5L7Ez2F5qGQAAB5/wlQ (envelope-from ) for ; Wed, 03 Jun 2020 23:35:13 +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 3CB6D9404C7 for ; Wed, 3 Jun 2020 23:35:13 +0000 (UTC) Received: from localhost ([::1]:44924 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgcue-00045k-3H for larch@yhetil.org; Wed, 03 Jun 2020 19:35:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgcuH-00045N-D0 for emacs-orgmode@gnu.org; Wed, 03 Jun 2020 19:34:49 -0400 Received: from [183.249.132.153] (port=1134 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgcuE-0003mI-N2; Wed, 03 Jun 2020 19:34:49 -0400 Received: by localhost (Postfix, from userid 1000) id EF74E2414F6; Thu, 4 Jun 2020 07:34:39 +0800 (CST) References: <87sgflu2gw.fsf@gmail.com> <87mu5rscg7.fsf@gmail.com> <87y2p51wy0.fsf@gnu.org> <87h7vtbm05.fsf@gmail.com> <87o8q1r1bq.fsf@gnu.org> <87eeqxbkf5.fsf@gmail.com> <87lfl4yykd.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: <87lfl4yykd.fsf@gnu.org> Message-ID: <87eeqvlo4z.fsf@gmail.com> Date: Thu, 04 Jun 2020 07:34:36 +0800 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/03 19:34:40 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: gMD2TDl+Pt/x =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Bastien writes: > Hi, > > stardiviner writes: > >> Here is my patch, I try to annotate on my patch code to express my >> words: > > Thanks - I see what is hardcoded and why. > > Since the whole idea is to use something else than url-copy-file for > downloading URLs I would rather add an option to allow using a custom > function. > > Something like `org-attach-url-copy-file-function' which would be > url-copy-file by default but could be set to another function with=20 > the same signature. > > Don't rush on implementing this though, I'd like to reread the code > in org-attach.el again to decide if this is the right way - and this > won't be before 9.5. > > Best, Thanks a lot, that'll be great! I guess my expression skill is limited, not very smooth to discuss with peo= ple. Try to improve it. =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----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7YM4wUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsPbsQgAtnuLIcgq3l+k5PcFu/YZuhvgjLEg qp3F9Vvo/yu8eoZvGB2IMA+B1AUVF5Af81OvSIpeOV4ef5lis7smvNtLTWSHxLVI 5m/MGeCATThJ4cbFVGB1fEi3BxFAk5fGerVc+Mm8YYDwLkjhxuERDxkWYAJeLkBj 6vLrFoRTDJc6UvOg36tlMKqQuGkEFke8zNvqwQ/AM3IHwEmOfa9mpCaqAAtKxOtL mBNSs1aa/+zR4MBYwmIDoloZPoUvWQERj2kJo9KEu+DqHsgHGeS9rT6OSKccZA0P HJSrtcjmfhKAafLDH4ERtoBoyli+Y8v0LA5aEj2MEl9BIGFmMa14f9dXkA=3D=3D =3DX23S =2D----END PGP SIGNATURE-----