From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id qFKGMymmT2RQ0AAASxT56A (envelope-from ) for ; Mon, 01 May 2023 13:44:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id ODxxMymmT2TBPwAA9RJhRA (envelope-from ) for ; Mon, 01 May 2023 13:44:41 +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 ADF75FB91 for ; Mon, 1 May 2023 13:44:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ptRwd-0005C3-H7; Mon, 01 May 2023 07:43:51 -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 1ptRwb-0005Bo-7M for emacs-orgmode@gnu.org; Mon, 01 May 2023 07:43:50 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ptRwY-0001m5-OV for emacs-orgmode@gnu.org; Mon, 01 May 2023 07:43:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 84DF72401F8 for ; Mon, 1 May 2023 13:43:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1682941424; bh=SlSxnA6tZGf9ZtHwVzJREyD7FaF1ICIWbSDh4ZfMLDI=; h=From:To:Cc:Subject:Date:From; b=rO+QJUkI9KY1tDNRc3hXmatxXwbLDSL8NWjq/79Tfl2+lpLRIoMVxWKf9kNkawJ3n 99jYuVCSIUW+DtPPCCNpKl+UC+yze0gAXp59SH5iNca01QbRrqu9SnGF4DgUkNgSbI Xb1Fw/CY7z50wslNjWeQRMSv6u4g2DmQVWiR3ssQ4Mh1z+w326tUIdOU1OzpVXA7lJ wpjzABRVvgdYABfFWHoe74SNFLjN9AgCcNPS6DKPCa4Vit8oziaPEgaceZKPAgH+z6 Y04lIneEEuAKwKSPwc6UBnFsKTGytEXGEMdeAfQ1yOw+lb2Gj1AsjH312iS6f2ueDg cPArGMUkZTbVA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Q91Z75Jg8z6tvd; Mon, 1 May 2023 13:43:43 +0200 (CEST) From: Ihor Radchenko To: "Christopher M. Miles" Cc: emacs-orgmode@gnu.org Subject: Re: [SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption In-Reply-To: References: <87pm7lyvdd.fsf@localhost> <87jzxsqyme.fsf@localhost> Date: Mon, 01 May 2023 11:46:48 +0000 Message-ID: <874jow8eaf.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: , 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=1682941481; a=rsa-sha256; cv=none; b=YAthGHVY1W0+U4p55SsEHva1/zdZ83Vp0fyuBqa5EvHwJf8uJfXUHlNJ7ePp8hqBIH0+j1 dk6Svo8f/KFPziM+AAI3S+etLe1PZ+eRpN8SytYQRN40v9YYMYPQFpo2Qv/K0rGzlPmG/h ZYqvuLZD3LnGYL1YIptcEenkMgUPjNrWcs9Sf1ylHd0OHOAIc024cCpjCP6PDpFAufTms+ vR6UMWwuu1DytB3zVtRA86yHUFABclUdQybImkWwPw8AgXlhtdWoAf6W9sWU0DlxRtXXWr C4T9LOCgX9f1wroX2fifotoODBp1mmYPwPRZlcixwXXa69m7PRZbGfJE5XoqkA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rO+QJUkI; dmarc=pass (policy=none) header.from=posteo.net; 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=1682941481; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xgcuUBw0HIxF9+ZmHpnby1zQYCNxH7SIkWFQ8fgVzE8=; b=VmcYcgBZQokvgfuYbZvLgrpJInkmTYbIIoPceAkL2ppnvUjQ73T8vfcSlwccovDnTjGV8k VlWNKfuQHZOAiqcNPxvY1AC5ol6MctRypPBKIfnB0z0p4e8kxn1YNkL8weHCibAPueD3Qz 2JeQlm3pzzzDvhlLrcvFEtQW0VF0k5oVnMjQvUqNCzNN3oYH9IADFaOflH12SeBpgktBU6 aZWCT8363jwltv5yZO7vY7bDPAG1r0cwbNAdTM/KAWIpCiHTY9LvVNVVOuhsaoSO2rInWL B2i6y757KiLLpy/CmJA/bcP2pUlm/k4SrBcql0d86PnZ9i8K4OVvAOeNa6Fcng== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=rO+QJUkI; dmarc=pass (policy=none) header.from=posteo.net; 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: -6.19 X-Spam-Score: -6.19 X-Migadu-Queue-Id: ADF75FB91 X-TUID: IN8shIdnlkcG "Christopher M. Miles" writes: >> We should certainly not attempt decryption on by default - it may >> be annoying when you actually do not want to decrypt anything, just >> look inside. > > You're right, I have not consider enough. Of course, you can still use `org-cycle-hook' if you want this behaviour in your personal setup. >> May you elaborate what performance issues you are experiencing? > > My performance issue is a large Org file about 2M size on saving. I will > reproduce and generate profiler report for more detailed data and update > in this thread. Please save the report using M-x profiler-report-write-profile - it will produce Elisp data that can be re-opened and examined directly. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at