From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68418: refill-mode interferes with org-mode headlines Date: Sat, 13 Jan 2024 17:13:34 +0200 Message-ID: <834jfhgtb5.fsf@gnu.org> References: <87il3yqmkl.fsf@gmail.com> <83le8thchr.fsf@gnu.org> <87mst9uzv3.fsf@localhost> <835xzxgxhh.fsf@gnu.org> <87frz1uyki.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: salutis@me.com, 68418@debbugs.gnu.org, rustand.lars@gmail.com To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 16:15:18 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rOfjC-00035N-AO for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 16:15:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOfiy-0004W4-SD; Sat, 13 Jan 2024 10:15:04 -0500 Original-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 1rOfix-0004Vt-TE for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 10:15:04 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rOfix-0000FQ-FT for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 10:15:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOfiw-0001IL-0Z for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 10:15:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jan 2024 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68418 X-GNU-PR-Package: emacs Original-Received: via spool by 68418-submit@debbugs.gnu.org id=B68418.17051588424875 (code B ref 68418); Sat, 13 Jan 2024 15:15:01 +0000 Original-Received: (at 68418) by debbugs.gnu.org; 13 Jan 2024 15:14:02 +0000 Original-Received: from localhost ([127.0.0.1]:40840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOfhx-0001GO-LO for submit@debbugs.gnu.org; Sat, 13 Jan 2024 10:14:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOfhv-0001Ft-GH for 68418@debbugs.gnu.org; Sat, 13 Jan 2024 10:14:00 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rOfhr-000857-F8; Sat, 13 Jan 2024 10:13:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=UKjSbLOwipXrl5I7z7zn0W+GrnXffr7R5kbcdHNSstw=; b=OzGdD14pxzg3 avlh6+o2DvtKbHCf1RFYc7ASoiYss7Ti70ZSzLe240wg26vB54097X7idQS4a8s538O3F7wwSffY0 HzPQZOP/XKwpldhXukG0EA6VTE0av+9SD+AfO3PSf8VyRRIyiEd6lDUx+qTfj8JdNP5ug5PMZ1XDh q99MJrf8nlansr3/MkzYepj8uJX6su9layx6dFjMzVD5RhwX+TPQBjPro5EqSYX3BSU1zYMGPG0/a 7lirK+nTyZDo2lQFXcUV8kKPY9h+RE7ybjQiDNLwUinHHHwVs9EkhcNGA29BBgwAv/SiMF5EtQrx2 tBsvH86zce8zNtNcBFXzlA==; In-Reply-To: <87frz1uyki.fsf@localhost> (message from Ihor Radchenko on Sat, 13 Jan 2024 13:56:13 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278130 Archived-At: > From: Ihor Radchenko > Cc: rustand.lars@gmail.com, salutis@me.com, 68418@debbugs.gnu.org > Date: Sat, 13 Jan 2024 13:56:13 +0000 > > Eli Zaretskii writes: > > >> This looks like an improvement. Also, it appears to fix the original > >> reproducer. > >> > >> However, there will still be a problem, even with the proposed patch, in > >> the following scenario: > > ... > > So you think the patch I posted should not be installed, and we should > > wait for a more thorough solution? > > I believe that your patch is good - it improves the situation and makes > refill-mode more consistent with fill.el (by honouring > `fill-forward-paragraph-function'). OK. Is it possible that Org's fill-forward-paragraph-function needs some improvements, btw?