From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id hswNGEz+vWHIPAAAgWs5BA (envelope-from ) for ; Sat, 18 Dec 2021 16:29:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iMorE0z+vWFvQAAA1q6Kng (envelope-from ) for ; Sat, 18 Dec 2021 15:29:16 +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 24A8B25AE5 for ; Sat, 18 Dec 2021 16:29:16 +0100 (CET) Received: from localhost ([::1]:33118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mybe7-0000Nh-1k for larch@yhetil.org; Sat, 18 Dec 2021 10:29:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mybdX-0000NZ-AU for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 10:28:39 -0500 Received: from orphu.arstecnica.it ([178.63.97.204]:44932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mybdU-0000id-Hf for emacs-orgmode@gnu.org; Sat, 18 Dec 2021 10:28:38 -0500 From: Lele Gaifax DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=metapensiero.it; s=mail; t=1639841312; bh=jqr6yUvsES59WTdzs7uioga66bdbFtMkZX/F6pI39R0=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=C/Xm1Fg9UtCDHXfg0wDQnFb2xXaY1iXtXnYeqhuNypyAybf90/veD+GjtixOZoPTi l155SZLj+IL2OjB4n2R+MMqu1+znBJ12M6ujTVLyhe+lSEhcyWJsHIF3mSwPVmKbF7 UwwGIw0HFsgvc/Fg5JW4e/S7BiyMTBRBxI/vE2Lw= To: Ihor Radchenko Subject: Re: org-persist cache for remote files In-Reply-To: <87lf0i2cnq.fsf@localhost> References: <87o87kb64s.fsf@yandex.com> <87tuhcfc3n.fsf@localhost> <87czo0nqw4.fsf@yandex.com> <87o87kchi2.fsf@localhost> <8735owawla.fsf@yandex.com> <87lf2oc9sv.fsf@localhost> <87ee8fncmw.fsf@yandex.com> <87fssvdfxj.fsf@localhost> <87wnk3c58c.fsf@metapensiero.it> <87bl1eilt6.fsf@localhost> <87ilvmqujm.fsf@metapensiero.it> <87y24i2dv1.fsf@localhost> <87ee6aq8sg.fsf@metapensiero.it> <87lf0i2cnq.fsf@localhost> Date: Sat, 18 Dec 2021 16:28:30 +0100 Message-ID: <87k0g2ylsx.fsf@metapensiero.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.63.97.204; envelope-from=lele@metapensiero.it; helo=orphu.arstecnica.it 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1639841356; 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=9WroeDqCUtY5lnQSjCStRXCFUR79NYuxY/DYlyfZiJ4=; b=Yzk0xms455nwZIgiXAhVdaqRreevqVFyINKEavifvFptjvG8mw3GSr4vefznIkToX/VCBW O6DcPMu5BqEn7xzA6Jty/LiTt/oUWvzSOn5zz4artdoG+rVCom5GNk6vjms8h8oxdnAViQ i7kamoO2xcUNcQUJMh/9sb0bHjSrnhbhSETXyjWWy/0QXF9yJuCLlpPlFx3bI8AYZtWlwl TPGiIua8+9A92zi2gK87hHz7aaniVTTF4MClpT5Jz4V8iqXme6tbA/G0Ey+5hn9jwDEZVr Njtld9kPIEUmSvvB0Lio+eld/mJQrVrm+auIx/7kEQPHHGEqNAcuvcYDjVPAWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639841356; a=rsa-sha256; cv=none; b=E7JKTS34ocgP8n22e72mpueTNDl4AP3zzeogK5mw4C4n0CVfgpejyJE0+8hpmS7ZNdYYMW ASbv1eD1BAq9FnfcWPhzhx7xFmM4qvqjjsSlFoK06k8+sIB2JvfI8od+7nHosrUwh3gDvs B4sjQw0JfVBPSTnFPQfFSSV6mXpooRK1BibGEI4n+LTybVNweDLlLDXZl1j8h/VPqXMYVa Ly0Aur+PRAVH+JCvb+wG0Lxly7k9VZCpAPcOoKfvrwL7dyzLyc3oO5ClhTpG1rLvCWY3G6 8IqdAzT1fObFgCdCf4+ZmHD+E0NRAehzM4BgjU73jOBw26hnNr+u973pTwjM+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=metapensiero.it header.s=mail header.b="C/Xm1Fg9"; dmarc=none; 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: -5.21 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=metapensiero.it header.s=mail header.b="C/Xm1Fg9"; dmarc=none; 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: 24A8B25AE5 X-Spam-Score: -5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5dVXdHTGEtSg Ihor Radchenko writes: > Lele Gaifax writes: > >> In the meanwhile, here below some notes: > > Thanks! See the updated patch. Great, you're so fast! :-) I couldn't test yet, but I saw a couple of other glitches, sorry for not noticing first. > ...=20=20 > +(defcustom org-persist-remote-files 100 > + "Whether to keep persistent data for remote files. > + > +When this variable is nil, never save persitent data associated with > +remote files. When `t', always keep the data. When > +`check-existence', contact remote server containing the file and only > +keep the data when the file exists on the server. When a number, keep > +up to that number persistent values for remote files. > ... s/persitent/persistent > +Note that the last option `check-existence' may cause Emacs to show > +password prompts to log in." I'd remove "last" above, since `check-existence' is not the last (described) option anymore. > + :group 'org-persist > + :type '(choice (const :tag "Never" nil) > + (const :tag "Always" t) > + (number :tag "Keep note more than X files") Now that you explained the meaning, maybe better to be explicit here, mentioning "X remote files"? Thanks&bye, lele. --=20 nickname: Lele Gaifax | Quando vivr=C3=B2 di quello che ho pensato ieri real: Emanuele Gaifas | comincer=C3=B2 ad aver paura di chi mi copia. lele@metapensiero.it | -- Fortunato Depero, 1929.