From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iCPeIORIzGJTLQAAbAwnHQ (envelope-from ) for ; Mon, 11 Jul 2022 17:59:32 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id ANkBIORIzGLf6wAAG6o9tA (envelope-from ) for ; Mon, 11 Jul 2022 17:59:32 +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 0E1CC9D20 for ; Mon, 11 Jul 2022 17:59:32 +0200 (CEST) Received: from localhost ([::1]:55194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAvoo-0005Cb-9m for larch@yhetil.org; Mon, 11 Jul 2022 11:59:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAvmA-0002Tn-Gn for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 11:56:46 -0400 Received: from mail-pj1-x102f.google.com ([2607:f8b0:4864:20::102f]:44802) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oAvm8-0006RX-99 for emacs-orgmode@gnu.org; Mon, 11 Jul 2022 11:56:45 -0400 Received: by mail-pj1-x102f.google.com with SMTP id o3-20020a17090a744300b001ef8f7f3dddso5355588pjk.3 for ; Mon, 11 Jul 2022 08:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=M/n/52ZkqP9ZT5BgWxsweY1qHOCzoU4xiCt7yeJz7bI=; b=lOtJw8Q5UhOkd8O187cHh7LtR4uaxw4gQW7p0AVm+lramQZq4tjL8Zzw3PYv1uN/DY HP+Ye7xdu7AlizA+QB9cry3M5xuNBofd97IFsJRDG0RlBx2EM8wusvFVEVH1Y+kdhTaD YMQcfAoYahtjF6YkxXF0JYNQkkLHG20UFT0hCmZzh3d1DYDmPhaQWirS/sCOnt4pwwsD BdB5OLyyLCy1HhSIonqHR/Khns+BvW6LukOSr6vGodpiJoWcwHq/1khpf1ogPpq/rO5/ bMaHwEX06ss1DQD27+wv7dBpLh6w43qq42a3vPLrbBhgfgXQ9ylZdM9Dh9hBBLbQ1Is8 rHaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=M/n/52ZkqP9ZT5BgWxsweY1qHOCzoU4xiCt7yeJz7bI=; b=7Ez1m1q2R5p895DDn/pWMmUsc1fuHH3V8VP+IP8ZVYaqfYpEMgq1IRYeqUbBI9vBvL O+NjapxTv0WNJCQMe+Md9IdSlyTV/xZ6wXL48Gfmy+OFoItwYD6fih/CIGhQEUsEglU5 Vxm0i7UD5gGDcn93DK1kbt2tU0MCKyVOw/YGlU5xFukSOUWJxQAoP0eS7SZmIIaw9Qj+ esKu+8EnouY9v9c3LU1KP6Wa+h4unTOeYa93VzTcdIwry46TgkglvvQ9ruftEiosvChB ARMd49706s1f3hcPOBN6KiPzW4D/3MPas7koHciJ7ZBLvx81aA5JbUAW1zvskEr8CT+G ruLQ== X-Gm-Message-State: AJIora/wQ0UUPPluIqiMgU9h3ttNt5V7eOH64+K4arE77+0rFxvwDyi0 ipkMxewFgOe0MQUPkgQZSFL44g88cgfyhQ== X-Google-Smtp-Source: AGRyM1sHMXNMVXnv9ynA1xacYfyzq/VK0Rt9z8D3KJhJJVw8I4nc0fCIDHT/yZjVg2MZeA3y/EOq5w== X-Received: by 2002:a17:902:f68f:b0:16c:2ab9:9bdb with SMTP id l15-20020a170902f68f00b0016c2ab99bdbmr16599867plg.23.1657555001819; Mon, 11 Jul 2022 08:56:41 -0700 (PDT) Received: from localhost (198-27-249-67.fiber.dynamic.sonic.net. [198.27.249.67]) by smtp.gmail.com with ESMTPSA id e25-20020aa79819000000b00528d580cb45sm4908869pfl.127.2022.07.11.08.56.40 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jul 2022 08:56:41 -0700 (PDT) From: Jack Kamm To: emacs-orgmode@gnu.org Subject: Recent folding issues Date: Mon, 11 Jul 2022 08:56:40 -0700 Message-ID: <877d4jve13.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::102f; envelope-from=jackkamm@gmail.com; helo=mail-pj1-x102f.google.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657555172; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=M/n/52ZkqP9ZT5BgWxsweY1qHOCzoU4xiCt7yeJz7bI=; b=oJ2mHR524DkxDiUCAXAvGMMl10DiRTcuBc0JDi38D9CfZifFLC1qloeHga4WU3PXpv3w+O s2ru38EGt9bEReQvlkCGz96j1T73zPX0QThd8Ae0S5VSue9FiIFJtyU9M4yB9Mr9TyO7py MdVgU/roi1xBzefdg16YuPsUQaIA+ZljBIeIvYL83wL3PxwDmUvDCfIGWmbpbOVnzIZgAu Q87NHcNUoQNoPlT4RE4YLfZ/8oD1sgXUaEWFe7TO7QvwbKHYKx/aUqDoWmecwyRZ4KF784 ekGc5aHzwywDfOb4EGzSU5vidQoWi5W3RURQ1Rz7USomoqZD6RO0a4Mg3nzZ2A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657555172; a=rsa-sha256; cv=none; b=E+BGm44XeSXrAWPGib10hBmjpUsMZrFVuJpPLNgYskzzwbGLhNnzY8JST7uVHXIG4lBZrC qPYqhK1ECz3Gy6YtNBp7KXd8AHiABT6HyYoIpLAk480lwje/d+NIUX9Dz0f+jhjZR8L6tX oCjbRdfSslO+/sVd1ozGf1xUNc/9laWXiRp3Hgk9S0eebNeR7PWLdAIjOBBl1M8asBzUoV B6eSz/ikmcUuG3nkjJKxne1eX8J3bX2liYmxOH9nC7LCtIC1PiIlfAKSS2kCOkPke/IxbK It3ZOyoz5opDBGZoRog2WxS8i+HxJHwocR/KAyLdOqdPCnG8zxSB8ewMxaADEg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lOtJw8Q5; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.95 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=lOtJw8Q5; dmarc=pass (policy=none) header.from=gmail.com; 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: 0E1CC9D20 X-Spam-Score: -3.95 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8cEZFLzdOSTX I started noticing a couple issues with folding, after updating my org-mode in recent months: 1. Inserting text below or above a folded headline will cause it to unfold. I am not sure if this is an intentional change, but I find the new behavior confusing -- usually I am trying to enter a new headline, and the unfolding causes me to lose my context and forget what level I wanted my new headline to be. 2. When folded, I frequently found multiple headlines to be displayed on the same line, like so: * Headline 1... * Headline 2...* Headline 3... * Headline 4 Hitting Shift-Tab a few times (org-global-cycle) usually fixed the problem. After reading ORG-NEWS, I found out about org-fold-core-style, and have set it to 'overlays, which solved both of my problems. However, this makes me wonder whether it should be the default value. The help for it says: > Can be either =E2=80=98text-properties=E2=80=99 or =E2=80=98overlays=E2= =80=99. > The former is faster on large files, while the latter is generally > less error-prone. Since the latter is less error-prone, shouldn't it be the default? And then a user can switch the value if they have really large files and need better performance. It's great that performance is being improved for large files, but I'm not sure this is ready to be the default yet.