From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QLRUGyadT2QsJgAASxT56A (envelope-from ) for ; Mon, 01 May 2023 13:06:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kOFzGiadT2QnJAEAG6o9tA (envelope-from ) for ; Mon, 01 May 2023 13:06:14 +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 0D3568152 for ; Mon, 1 May 2023 13:06:14 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptKXQ-0004rd-Sp; Sun, 30 Apr 2023 23:49:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptKXP-0004rT-3X for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 23:49:19 -0400 Received: from [39.171.215.100] (helo=Mac-mini.local) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptKXN-00084r-8z for emacs-orgmode@gnu.org; Sun, 30 Apr 2023 23:49:18 -0400 Received: by Mac-mini.local (Postfix, from userid 501) id 117BE8A8DC50; Mon, 1 May 2023 11:49:10 +0800 (CST) References: <87pm7lyvdd.fsf@localhost> User-agent: mu4e 1.10.3; emacs 30.0.50 From: "Christopher M. Miles" To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption Date: Mon, 01 May 2023 11:41:34 +0800 In-reply-to: <87pm7lyvdd.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 39.171.215.100 (deferred) Received-SPF: softfail client-ip=39.171.215.100; envelope-from=numbchild@gmail.com; helo=Mac-mini.local X-Spam_score_int: 58 X-Spam_score: 5.8 X-Spam_bar: +++++ X-Spam_report: (5.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MSGID_MULTIPLE_AT=1, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_PBL=3.335, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682939174; a=rsa-sha256; cv=none; b=dqW9ncWQbfrOWDgDsun2U2pNXkFW1iushRIyeWi5QeTX8RZLburSrnXUIkX/Jv41TDODTN 2jKgEgMLKRyS42tRz3QChxbQaAJi0wceQyYEurXaWyJouu0bra7TKxRNlvTvMQtqM0L7Zg Rjcmq5ZrPC+iQbLDG0802opssXoU5ZMzO1jPOtCbnOKnieH+SZYe+Lb5FO72Kvjx5lMitG u8CI+UG6Nrv+XoDDFkKFnR6xUrv1a98vR8hDU7y0MwxEK3npFBnFt0z9kI68OQewf5bV2u L9E589wsvnuR8cOWSFC2Tso00BrmQhJx1A6qXe1/nVAc+4ojGsCjN8R4uU5i0Q== ARC-Authentication-Results: i=1; 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+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682939174; h=from:from:sender:sender:reply-to: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; bh=Qv47mFAlxxh3XlmAD8tNMYsGM1mnuAPTugwnFD1tgn8=; b=HOrr02AEjFdilVkKotxPqmW4OHnfSB4DpI1PRTHXuwtS26A58oV5NDc/80uH53LDdoROr2 QvIeupIAczRaPCKha3y8r1B9J5DjcerPUs+YwivHt4vDKxszKHdIA+h66PgX2DGymPsWRh X8KwLUjRI61XvKUMtjR4B4SlKZiDzEQze0VSMFm40L69F/b+/9KoC1M3jwvwy7RkrfbSsM LdMvdX4qgm6ygmSbYuvONrLZo9kqhkWKab3eDlST8ZAZqcI4CVfTgEQuu8Uv1ZCMU9xknc 4i/7+GEqumcqhr+oKpbeT5HDxpLJYEWv5gr8W4j9DVX4qsdo8s5SdLi0A4ywGQ== X-Migadu-Scanner: scn1.migadu.com 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+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: 1.39 X-Spam-Score: 1.39 X-Migadu-Queue-Id: 0D3568152 X-TUID: tPNkAbyn9cWR --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks Ihor for improve this file. I'm also try to improve this file to improve large Org buffer saving perfor= mance. I have some ideas: =2D auto encrypt buffer on buffer save hook (currently mechanism, your patc= h improved it) =2D auto decrypt on org-cycle expand headline if current headline is encryp= ted. e.g. on `org-cycle-hook` =2D auto encrypt ONLY current fold action on headline scope if has crypt ke= y specified. e.g. on `org-cycle-hook` =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express without mi= sunderstanding. Blog: https://stardiviner.github.io/ IRC(libera.chat, freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAmRPNrYACgkQG13xyVro msPfkQf/VfhDJ5V9SuRk3X6gBM4dG+CHRZpeKf2bneg22NwxoQ8SrVIDAuI1R4vW q/G5nBYytT/wX6bk7m2cZZRGwv8ZsjiJXUU2M9lCYIurmB5F19Fymkr5Emu09EGV iu2jazRShRyVKa9H5MUHcLS+5Kjc8jECvHqrU0CRjH5F1kvRC6yJoXoHGNa+BM4m IAF4DzInn6ZAZ2R/R5sSnTZtTCAE7OqR1m8vksUnP+ylhPuNt9Uf1v2mmbHNzCnk RNH2FuP6dwOSOO5Ufl07FVKTNC2bI1qsZl0WgJYVHWMSJmg/zDhqh8/+/7LMMjSF IiBCynlBX0zVKSHFD7q3+sPMrXjx3Q== =lmdu -----END PGP SIGNATURE----- --=-=-=--