From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id wEtJHqVcomYlSAEA62LTzQ:P1 (envelope-from ) for ; Thu, 25 Jul 2024 14:09:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id wEtJHqVcomYlSAEA62LTzQ (envelope-from ) for ; Thu, 25 Jul 2024 16:09:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MZmyibbn; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721916581; 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=C5q1oVVnKD3Gt6mfhx4MnF96s+VHltcv+qhI75aOyz4=; b=FD/7vryEzFRS+oAyEpbaHR7ua1iwCylp8InumyCKzw8FASOk8UgjAqf/SRxsx0VBRI1S+x 2OYpYval3YOhINDcU0p8gH8kYpvTACRoiy1Nw9uvHa4mE45CfTaeIEMLJJn+czb+TBpseE R5JpVQ/6h90M3UgiNB1QVlVvBuR1CuEiCz2sZFghDw4xfnigdGwcnaB5zpPZhev1HG6PaA uYjedEflJJzskUVjiDqlmkhO+ct7zGKSfK7m9BJwxXXiJf4HVAXBqKwFFVGLW1/Pp+m1Iu JP8rvD/RtTst1YX10onQVAk/i9+StbElyDYw67KcOY/YdfKgUwr5+5OOde0BLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=MZmyibbn; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721916581; a=rsa-sha256; cv=none; b=GywXwEiN3qfRWTFMmanRloY63xK3Iy0av8posgcNLwox+oGAB39MhWCRop+ZeQbcIJCJfa MFjvllhvicsmzTdqHQmKZNWX3ReiLMQE8aQQYp4t5E7UgJotkQRVpYOfBE2/HxyuqUQBN+ fNqGkEcLgr2uDJSmPJAXSKsZsyPMhpcrAGF1hRrraThOTGD7/Dk1Oy87+A2NT0QxDWv2pa eQpWbNwR2XJnTeTk1RL4XP7hkqJIX+u8BNm94nZm9ToN4bDvJ4juGv+gd+oWGAkS+jbO1u nU1uU/aknId/Hjn4mujpI6QpkXNQRbvgVFb+iuZgHXRF5p0t+nHTrhH71A2FJQ== 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 DFF11F553 for ; Thu, 25 Jul 2024 16:09:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWz9E-0007mX-3g; Thu, 25 Jul 2024 10:08:48 -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 1sWz99-0007m6-LQ for emacs-orgmode@gnu.org; Thu, 25 Jul 2024 10:08:43 -0400 Received: from mail-qk1-x72f.google.com ([2607:f8b0:4864:20::72f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sWz97-0005BF-5m; Thu, 25 Jul 2024 10:08:43 -0400 Received: by mail-qk1-x72f.google.com with SMTP id af79cd13be357-7a1d6f4714bso61650485a.1; Thu, 25 Jul 2024 07:08:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721916518; x=1722521318; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=C5q1oVVnKD3Gt6mfhx4MnF96s+VHltcv+qhI75aOyz4=; b=MZmyibbngc1zrvGG3sk35c42mhbV26SWpU9ermX3uR1PQdgeMM7Acic1+6TS3oDFLl kgDjR37QdfEBJTRxi1Vx/EpFcJ7cPdUa8jd35lSyAcusi9IOHUeS0FHDARb+56a3WXnQ GxrOOzk/iAKkw5HGj6kcENbba0M7h+qzTb+SuC+5niW/rnZmbGgsJgBPHE+vx86vefEK 7ypcakiDEYkPquR4btYz5IeZ+hliJMbIYCKfd3b++AGRBrpg22HkyqviQ3LT5oboSLrO BXidVzmGHhioIXTqNuPNdGczkCMGzYVkBd6sWzLE+pS+5ozAqgdpFdoOOply7Q6jdene u9OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721916518; x=1722521318; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C5q1oVVnKD3Gt6mfhx4MnF96s+VHltcv+qhI75aOyz4=; b=voSD8+YmeCx8YGk6rPiW7TCrbyTIbju+Krtpl3Bz3wa1/g1jUHDcEDVTKzUKR3IajY Br9phExHEIShVg3GDC/4hYrlXxJtQxuLqtNtPWaJRn9axd8A6PM5d/q07pxlyoYq4L2f 0mVCgf0cpWRBDDIvjQKFn76Qq3XhyihnYVlfNI3CPGweP0METfpcvEHu4IL554cs4xZr HKM4uSODc8gV849XMd6nynQTDYwnmkgqdblO3IgF7IStK+QuHG85gmOXCSHhogKr8cak sdJcz1rwGq+7hOYGpVMN3iDDZiA47fTdpS0cW3BbQehIannSYBBi7eVKtVqK0Bp18EHF 7OOQ== X-Forwarded-Encrypted: i=1; AJvYcCX8eUnXvUbuXJV/d9pKMcFWawdkNF4dZHiXd8N2/3XUksHk4arKJUojeatPyDHO9Y9Erk4DFTmA8UwjQiesTBMRYQt7gxI= X-Gm-Message-State: AOJu0YzcyPzwAiBjsQqrpr2SxadlynLHmf/yhC5dmWyJo3x8Z5dcmK/f EN/NXyUeRa+4ObVogB6g64MZxigSuUMHf8iC+GDAzslOehMZNc9m+WXhBVnIDCY9El8E2mVVYnC MXw9PZpYZN08/SdU0XNcuhCw5mmM= X-Google-Smtp-Source: AGHT+IHaooBOTbhmLkYxoBEM4w45qDNtSMM5IL5QGesps3PtSPmVyo0iCd8a32lNUJ3I+jGeltTrzqtRLmntU6DRUl4= X-Received: by 2002:a05:620a:372b:b0:79e:fd21:c352 with SMTP id af79cd13be357-7a1ccd32b64mr827938685a.19.1721916518174; Thu, 25 Jul 2024 07:08:38 -0700 (PDT) MIME-Version: 1.0 References: <86ed921oxu.fsf@gnu.org> <874j9vllbp.fsf@localhost> <87o781t676.fsf@localhost> <874j9qs0wh.fsf@localhost> <87ed8mtyp0.fsf@localhost> <87msn7kffy.fsf@localhost> <87o77my9mp.fsf@localhost> <87y16j4nbe.fsf@localhost> <87o77ak70y.fsf@localhost> <87wmls5hzb.fsf@localhost> <87msmc40cw.fsf@localhost> <87o76m0vx8.fsf@localhost> In-Reply-To: <87o76m0vx8.fsf@localhost> From: Daniel Clemente Date: Thu, 25 Jul 2024 14:08:09 +0000 Message-ID: Subject: Re: org-encrypt-entries is slow (was: org-crypt leaking data when encryption password is not entered twice (was: Please document the caching and its user options)) To: Ihor Radchenko Cc: Eli Zaretskii , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::72f; envelope-from=n142857@gmail.com; helo=mail-qk1-x72f.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -8.25 X-Migadu-Queue-Id: DFF11F553 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -8.25 X-TUID: BBXJ2CyVewCX > There is no such thing as "inline block" in Org syntax. I meant "inline task", sorry. I remembered "display: inline-block" from CSS= =E2=80=A6 I don't think we need support for encrypted #+BEGIN_=E2=80=A6/#+END=E2=80= =A6 blocks. Fixing the org-crypt + inline task bugs seems low priority since it's an uncommon case and there are probably workarounds. On Thu, 25 Jul 2024 at 07:30, Ihor Radchenko wrote: > > Daniel Clemente writes: > > > I found minor but unrelated issues, e.g. if you have an empty section l= ike this: > > > > ************* abc2 := crypt: > > ************* def > > > > =E2=80=A6 if you rename the abc2 header, e.g. to abc, it will ask the > > encryption password again, even when the contents (an empty header) > > didn't change. > > > > Another minor and weird bug: inline blocks. The part about showing the > > unencrypted contents while keeping the disk contents encrypted doesn't > > seem to work with encrypted inline blocks: they're saved encrypted, > > but they're displayed encrypted. In fact they can't be displayed > > unencrypted even if you call org-decrypt-contents. Maybe inline > > encrypted blocks aren't supported. > > To test this: > > ***** section > > ********************** this is an inline block > > :crypt: > > Content. > > > > If you want you can split this to other threads or just ignore these > > edge cases for now. > > There is no such thing as "inline block" in Org syntax. > The current behavior of org-crypt is because it mishandles inlinetasks > in specific way. > > I can add support for proper inlinetasks delimited by END line, but not > for what you call "blocks" - that one is actually a bug when org-crypt > encrypts everything spanning between one-line inlinetask down to the > next heading. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at