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 8I4pAnaVMGPpcQEAbAwnHQ (envelope-from ) for ; Sun, 25 Sep 2022 19:52:54 +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 kENTAXaVMGMtCwAAG6o9tA (envelope-from ) for ; Sun, 25 Sep 2022 19:52:54 +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 DCCD247A85 for ; Sun, 25 Sep 2022 19:52:52 +0200 (CEST) Received: from localhost ([::1]:48384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocVoB-0001OI-OX for larch@yhetil.org; Sun, 25 Sep 2022 13:52:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocF1K-00017v-4T for emacs-orgmode@gnu.org; Sat, 24 Sep 2022 19:57:18 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:35933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocF1I-0005Yk-As for emacs-orgmode@gnu.org; Sat, 24 Sep 2022 19:57:17 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 434725C008B for ; Sat, 24 Sep 2022 19:57:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 24 Sep 2022 19:57:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mfa.pw; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to; s=fm3; t=1664063834; x=1664150234; bh=3wlRFZ8Rlc mM46zRtn0shWpq937H3FHxz7NxzYDVuko=; b=oXI3xcc1/w7FClHxcDlZWtoJjN u5OJOUR96L2T+36f9OhpsjPhKvCjt2mj00SrGgCjv1LG+nZZZp37QmuMU3JruUcZ US7kYgZvXzz1YWkCMF0z17c86PpVBlAljTh2US+9zUtJ5juaCsF61WL0QXMFGNFF /E1aozfeZtBxBlw5nBqaH+yTO+1qX4IIkHcLykw+QLjVxyfe7UeNqpT3f19Ia2UG mfon074+C6xTVrDDeelLCPkHsjSpbs71nCijCYAVRLf4GSzDkNkpR7M4h4FSZsGS Z663qg9OQCoGPXCWVHe8yEQ2VpElYfnsPAS6U1C2y8nOWszdxntGOL9U2dHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1664063834; x=1664150234; bh=3wlRFZ8RlcmM46zRtn0shWpq937H 3FHxz7NxzYDVuko=; b=GUpxLpkNWTc0F0zigigFUq+qWpEXdv0h+KJ/Q4gYjF6B QIN/60XKDf6CcduT9MCt65z6Bcn9fnsX9hu4VIs4/SjLI1GojzXf4PElQIiqJw+E /qL25QHqdlNi1h6ET1SiK/+8GQalhQe+PSHWDDfJ+UcpHqU0uFUk9X2WXp6FSoye 1umEh1/Zj5ACtfT00uTGmpplxjKHGNuVgHFaZMILusev3LEmJq4oP3taULLZe32V SiBabuzxggoQ3qVLVaAYobTf7JkLlD/9Q70m0SBoBR5ExU/VaungGy+ZgLmBIBIs 6TF7/bycz2lyZSUZazL6qMgSpICiYR3wkgV2qRNaJw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefledgvdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdlfedtmdenucfjughrpegfhf fvufffkfggtgfgsehtqhertddtreejnecuhfhrohhmpeforghtthcuuegvshhhrghrrgcu oehmsehmfhgrrdhpfieqnecuggftrfgrthhtvghrnhepffehffevleffgeekgeeihedufe ehgfeihfetvdekvdeklefhffffteefgffhuedunecuvehluhhsthgvrhfuihiivgeptden ucfrrghrrghmpehmrghilhhfrhhomhepmhesmhhfrgdrphif X-ME-Proxy: Feedback-ID: i9f394738:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sat, 24 Sep 2022 19:57:13 -0400 (EDT) User-agent: mu4e 1.9.0; emacs 29.0.50 From: Matt Beshara To: emacs-orgmode@gnu.org Subject: [BUG] org-fill-paragraph doesn't handle ^L correctly [9.5.4 (release_9.5.4-19-g4dff42 @ /home/matt/Code/emacs/lisp/org/)] Date: Sun, 25 Sep 2022 09:39:59 +1000 Message-ID: <87o7v4iawb.fsf@mfa.pw> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=66.111.4.29; envelope-from=m@mfa.pw; helo=out5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 25 Sep 2022 13:51:49 -0400 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=1664128373; 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=3wlRFZ8RlcmM46zRtn0shWpq937H3FHxz7NxzYDVuko=; b=R9ycJmE3RBJ6pG07QmfmBV+yFBU8RsOxeQwqo+Qy0xMESwuUx9XO/JpCDVoBTQ3JrRTYFp XnFdRFVsgqV19jkvO8pVhwIGIusVR/qxzSMzh6iThCAPGqNN7QNPTYvSav520Od5GbvnH5 f6jYVgYUHgIp5ciH1tLyfcqNKQtAsrLCE+YEw7/qAXuEKbme6oZi05KEAq7rnk5Lgxbxgo uqxu7aIH04C8luVuPjYXMXbrqHPsizbwsghHPWV1107sgDshcre9jmyqaPMdT+WKALqsGR 9qfc4kU8fwBfioSYSKdTtcXkOR9MXrGPqWR+aStZeYf2xByGWrGGn8AsDmQVrw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664128373; a=rsa-sha256; cv=none; b=HvaJBIWWNpaZg1791N0O/6NdPLelYggttVKhwEfkbVj58jX48I5A3yvjqVQjcrMwTbiGg2 WwqEqC4lCMvZT8fo3BUKa9TOCvLpAbggKo3JwAGRCIfSFFa0LNjiWRyEAeEtlrJKvH5w1V O/QR8W8oyt3Jr2ep2WskojcawkH7VZl6REfChda19GwK45LpIC/qoMctHIVfePkoYBDwj1 EVM6Jajqz+hQGJ2kvjgDi+RLJCOn1pXqnDG/bjYrO9Eo7Fa2uv7zMYTa+blbZIUMABnk0C 7sMgcQKSNk7zKhGwMwQxGLA06DOm9/BHRiLELRIeVFFZoLk0f3ejRYoMWl9oWg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mfa.pw header.s=fm3 header.b=oXI3xcc1; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GUpxLpkN; dmarc=none; 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: 2.75 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mfa.pw header.s=fm3 header.b=oXI3xcc1; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm2 header.b=GUpxLpkN; dmarc=none; 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: DCCD247A85 X-Spam-Score: 2.75 X-Migadu-Scanner: scn1.migadu.com X-TUID: ssZA3783QL8Z =E2=80=98org-fill-paragraph=E2=80=99 does not correctly handle ^L character= s=20 (a.k.a. form feed, C-q C-l). It should treat them as paragraph=20 separating whitespace, but instead treats them as any other=20 character which would appear in normal text. Here is an example=20 to demonstrate the current behaviour: abc def ^L ghi jkl In org-mode, with point at the beginning or the end of the first=20 or last line, doing =E2=80=98org-fill-paragraph=E2=80=99 (M-q) should do no= thing,=20 because the lines are already shorter than the fill-column. What=20 really happens is that I end up with one line which looks like: abc def ^L def ghi In text-mode, =E2=80=98fill-paragraph=E2=80=99 does handle ^L characters=20 correctly, and pressing M-q anywhere in the first example results=20 in no change being made to the buffer. Emacs : GNU Emacs 29.0.50 (build 2, x86_64-pc-linux-gnu, X=20 toolkit, cairo version 1.17.6) of 2022-08-27 Package: Org mode version 9.5.4 (release_9.5.4-19-g4dff42 @=20 /home/matt/Code/emacs/lisp/org/)