From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
Received: from mp12.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms5.migadu.com with LMTPS
	id SIkNEpEd0GJz+QAAbAwnHQ
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 14 Jul 2022 15:43:45 +0200
Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp12.migadu.com with LMTPS
	id ACfMEZEd0GLNgQEAauVa8A
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Thu, 14 Jul 2022 15:43:45 +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 E14501924D
	for <larch@yhetil.org>; Thu, 14 Jul 2022 15:43:44 +0200 (CEST)
Received: from localhost ([::1]:43918 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>)
	id 1oBz83-00045Z-Km
	for larch@yhetil.org; Thu, 14 Jul 2022 09:43:43 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50204)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oBz3z-00089Z-3z
 for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 09:39:31 -0400
Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]:45571)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <yantar92@gmail.com>)
 id 1oBz3x-0003wH-PJ
 for emacs-orgmode@gnu.org; Thu, 14 Jul 2022 09:39:30 -0400
Received: by mail-wm1-x32e.google.com with SMTP id
 az2-20020a05600c600200b003a301c985fcso992300wmb.4
 for <emacs-orgmode@gnu.org>; Thu, 14 Jul 2022 06:39:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
 h=from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version; bh=8XtEtp1IURRC2wOpHCsF0kdxROcXTo2Gzu0EQemNs50=;
 b=gxrWFtdilotf/xnhrBQfhv90/Ug3YLf19b4lfhRbVpUMYBwsm5xSeRc8mikyR+KO0f
 6F3Fzxbdv9gV/z7k4ahSlgcd29j++LPv4nm6sRCqOqTtHGIo5OKgv4c+9qbWyN0i9LRt
 ROX+dJXdO6cQokdOPhLo6betn5psj0t6nRyRKGvJ5K5gfmIUxFCVCrUcxhUoJB9WhPXf
 LknRd/x9/4lfHCLlUArrE23rldnpByyMwxZ+mMs0ryZ/bxpalV7tzNR3XTsLMp4Yoy18
 Dfc0xaUwgRiLfw/VUOy2JVdeqXry+Ee53bwii/7Y+H0cSvK2YgW4IZsQdg2PbNsmmcMF
 mjpQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date
 :message-id:mime-version;
 bh=8XtEtp1IURRC2wOpHCsF0kdxROcXTo2Gzu0EQemNs50=;
 b=LV6SZ4wcSJ/gXZ6kitk+OHRVxyOmVvzsQtg07/kQrt5dlI5paEjwiKob1TBmjwmWoT
 gbXx5dlrHp4ykhliaIYJR7W6sklykT0v8FEfAj12VZ+KUyYRjSHfCVg/0afYXT31+E6n
 ddYc4SWRmJpZCdtwoxEnCpXVdi4ir0onhuNMTY/+piK9orkSfSzux/Hv01xfp/jGWXP8
 abwiXHaOi2aL6tAcUSE6cjym9TKhx4jZxD2+UVFxmgJc7fgfvFQKIzphLi91Eza7j1ky
 +FunBrBeaPEXWeoXx4giZQIZiHCnP+Hs7JzxCU0ZGCA8TOBSZ7HZg1EyL5f/9u/emBVc
 kang==
X-Gm-Message-State: AJIora/dX0pCGoh+dDM93YG6tIVs4jTNLJKPZvhbJB2fAu/9viKm5YyG
 SFmOLpaoZM1xVZH19jQcZnQ=
X-Google-Smtp-Source: AGRyM1vyHaz71tzB7XJncn9ZaiY/4lpw4iMCD5VHvYjA4CBzu57D7k6q9J6/p5WyHN4zp8kTNfYBcA==
X-Received: by 2002:a05:600c:3550:b0:3a2:e136:cc9e with SMTP id
 i16-20020a05600c355000b003a2e136cc9emr9328736wmq.188.1657805968481; 
 Thu, 14 Jul 2022 06:39:28 -0700 (PDT)
Received: from localhost ([2409:8a70:2bd:4d0:8ec6:81ff:fe70:339d])
 by smtp.gmail.com with ESMTPSA id
 z16-20020adff1d0000000b0021d65675583sm1495883wro.52.2022.07.14.06.39.26
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 14 Jul 2022 06:39:27 -0700 (PDT)
From: Ihor Radchenko <yantar92@gmail.com>
To: Jack Kamm <jackkamm@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Recent folding issues
In-Reply-To: <871quprrra.fsf@gmail.com>
References: <877d4jve13.fsf@gmail.com> <87ilo36su8.fsf@localhost>
 <871quqvorh.fsf@gmail.com> <87sfn6h1qv.fsf@localhost>
 <871quprrra.fsf@gmail.com>
Date: Thu, 14 Jul 2022 21:40:31 +0800
Message-ID: <87bktr3j8w.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2a00:1450:4864:20::32e;
 envelope-from=yantar92@gmail.com; helo=mail-wm1-x32e.google.com
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 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,
 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." <emacs-orgmode.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode>
List-Post: <mailto:emacs-orgmode@gnu.org>
List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>,
 <mailto:emacs-orgmode-request@gnu.org?subject=subscribe>
Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org
Sender: "Emacs-orgmode" <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>
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=1657806224;
	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=8XtEtp1IURRC2wOpHCsF0kdxROcXTo2Gzu0EQemNs50=;
	b=ZRShdxPnKeRmm5Opq20Acv2jMPgh0HXqpvBW1wfRlRi8TGqXL6L79+GPYLfcIP54lCJzxP
	0vKTGGWVWUNXrc/hUPZ5JhwDbL43cyhxTFMKemX+XQFMnVQLA9GWPUE8KvjZyzi2A3/vcr
	rwAtmJyRiEERXYDiOL0YFMcoLAxNG724S1EIFHS8YQpY3gCVnb+SSU0Px3sMGO+Y0uBqoN
	buAGX9Cr/uOL/2lq9YTUnlg4xoBufWAxrx2McBdKK+hWoyHHLaTBWaRO3/ku0MfWmbuLy5
	bofBiPJX3uhRDmPRd8a6B66P3RFcf9YVM8TabFH2oQv3He+4La42bVh5WnWjxA==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657806224; a=rsa-sha256; cv=none;
	b=pzhhOctFIzgeom/lP0h6KtEjfuXgIZw5SREyQ8srccGsr1ynGgFp56GZPOS6DB0ngdy8dj
	6aSYS92PAMaIUI+ZZ5St7jRcfGY8WCt/3uw/i4fXII6A8rqTWYTenM3PqM0/o/jYG67YUJ
	oqjZ4qv5tepswjuUEhhJJoHtC3kvbhMVLGPh+7r/0usFuMAUkHMei1HgZ7JwFWwV9yoH/2
	qEz7z9IQ7kfeDy+Q5ojL7Kh5gnLFtnYEVBksTm7jPyCvD6XzHvcEHAmc6HB10ir7/TuLBX
	ayItpOJTb7DwKziWLDNfjJCo6O8neN1ODAueSz8zAJR7dnCuZsg2YzLdmmNtxw==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=gxrWFtdi;
	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: -8.25
Authentication-Results: aspmx1.migadu.com;
	dkim=pass header.d=gmail.com header.s=20210112 header.b=gxrWFtdi;
	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: E14501924D
X-Spam-Score: -8.25
X-Migadu-Scanner: scn0.migadu.com
X-TUID: 41blOUAEoyAA

Jack Kamm <jackkamm@gmail.com> writes:

>> Can you try the attached patch set?
>
> Thanks for the very prompt patchset!
>
> Testing on the minimal example, the patchset solves the problem I
> reported.
>
> After some brief testing with my usual config, it solves the problem of
> headlines running together after capture, and also solves the problem of
> unfolding the above headline when calling evil-open-above (vim's "O"
> key).

Thanks for testing!
Applied onto main via a79a742cb, f29ccf316, and 8e2fed82e.

I haven't looked into the other problem yet. Too tired today.

Best,
Ihor