From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#68418: refill-mode interferes with org-mode headlines Date: Sat, 13 Jan 2024 13:56:13 +0000 Message-ID: <87frz1uyki.fsf@localhost> References: <87il3yqmkl.fsf@gmail.com> <83le8thchr.fsf@gnu.org> <87mst9uzv3.fsf@localhost> <835xzxgxhh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13657"; mail-complaints-to="usenet@ciao.gmane.io" Cc: salutis@me.com, 68418@debbugs.gnu.org, rustand.lars@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 13 14:54: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 1rOeSl-0003G5-PW for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 13 Jan 2024 14:54:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rOeSb-0001dF-QK; Sat, 13 Jan 2024 08:54:06 -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 1rOeSZ-0001d4-BN for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 08:54:03 -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 1rOeSZ-0008GI-1f for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 08:54:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rOeSX-0002Fk-JW for bug-gnu-emacs@gnu.org; Sat, 13 Jan 2024 08:54:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 13 Jan 2024 13:54: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.17051539898598 (code B ref 68418); Sat, 13 Jan 2024 13:54:01 +0000 Original-Received: (at 68418) by debbugs.gnu.org; 13 Jan 2024 13:53:09 +0000 Original-Received: from localhost ([127.0.0.1]:38764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOeRg-0002Ec-PT for submit@debbugs.gnu.org; Sat, 13 Jan 2024 08:53:09 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]:38159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rOeRe-0002E6-5O for 68418@debbugs.gnu.org; Sat, 13 Jan 2024 08:53:07 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6F542240029 for <68418@debbugs.gnu.org>; Sat, 13 Jan 2024 14:53:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1705153981; bh=gne6E3UQ/NdDlfV0CdxDJxcBoNvhg5Ka716Ozauwth8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=D/IXL+k9QSvAW/23PkH5QCUtm4gmEcIMY+kO2Nx3UBSjUDQB3xKsAzgIll78gh/7W ADiauJGFwFG99uCLBQ4vE7yjUoEzFcX3ASh82yoiqjOPwLncAHh1+Gy/ANqzy6+n9s hNVIf7CguFNj1rgwB3wkWqXhPDg2Ub6Mqp8MSLGJIVbA2yFgACeAazKgPVvlWBXZhF ia55CA1eDMguNNWSOOaRtid3BpdALiTKiSFIPYH7Et+UVUHffIGx+TuCnxQg2tBO2g 9GYAojyyjyrqlx2AFDYHpjSpZlRk0D9QD1X40egYbNcwXNDqy7TjWcBaPVG2JduGQ7 j9QIrWYW+uoEg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TC0Gh4cvLz6tvl; Sat, 13 Jan 2024 14:53:00 +0100 (CET) In-Reply-To: <835xzxgxhh.fsf@gnu.org> 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:278127 Archived-At: 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'). However, more general problem with fill.el design will remain. Although, emacs-devel might be more suitable place to discuss the Emacs design - see my other email - https://yhetil.org/emacs-devel/87frz5kux7.fsf@localhost/ -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at