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 GHoUDricM2PhTQAAbAwnHQ (envelope-from ) for ; Wed, 28 Sep 2022 03:00:40 +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 0NZLDbicM2M7hQEAG6o9tA (envelope-from ) for ; Wed, 28 Sep 2022 03:00:40 +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 DE8BD382C9 for ; Wed, 28 Sep 2022 03:00:38 +0200 (CEST) Received: from localhost ([::1]:57344 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odLRG-0002u8-3H for larch@yhetil.org; Tue, 27 Sep 2022 21:00:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odLQM-0002u0-Dt for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 20:59:42 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:37805) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odLQK-00012y-OD for emacs-orgmode@gnu.org; Tue, 27 Sep 2022 20:59:42 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d24so10532752pls.4 for ; Tue, 27 Sep 2022 17:59:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date; bh=0N0hvV3jbB0Q3nSRmNs/gpQthiuSt/ZXBj0HoUsqGQQ=; b=Y1yCyNWlAjy93rD3dmFpK9bmzDUd1MtPX7RUQs7IyeRKlQB3rPxhrp93KCeKtC82CS LB2xnJ9roizJYHc+b9zZWG96PlzhN/rRA8AniLu/8XwiPtH/vzWNCLF2sheTHXyF0fCW uLlNf9IzYY75RM1A6bqEa6hudN7ThTePqSG8DdP6gtqZJpFKZImGS6Pv2RNyMTlFmjTl KvuefPJJolWExl5iK7f87OP5oImP+tKvQcFw1qYzs7nx/h6yl1nJsjJXrFXdrLsEFHA2 QYcOp0yd8LH8E88U0u18pbrgQyiqdXQsxbP1AHMc93SEIiQdjJnv5TUNjQINOvm8wtld JJeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date; bh=0N0hvV3jbB0Q3nSRmNs/gpQthiuSt/ZXBj0HoUsqGQQ=; b=OFr95pLRY5HuwJzAf+R8MaBqph5qJw0XvQHJNOo/Kgh05UTfaeTaTb5m684ltm0bnz u99JS0K7m3k7b1tBhD1OqGTK7muPddEeA/BbcSo7pDs3tfvk/k/nyGBwEFXqjFDk9wed KhkvRpuOVRnVLrmWzZffrLbk0Zz+nDJQRIV0F1pc8/+lNJSJA1hnwa2QGy+oy5LVVcjk GbZyYeNp0AgYVtZ0PxiFRc4ZannuhYEOcPb+goiie1gME++Fi8P6VhbBvSLCeKoWvKju ltDSJdLCiJgT30Fq3OUBXfD3xlxREBheo0kVLI8q8InRxQRIR2irglOenE45kYgPiUiE 0zug== X-Gm-Message-State: ACrzQf34A31DSk9/Ly01M+K7nJMwcx2KNURf0x4auWcdLmXkSxBnPj73 llSHUnIcldt8pLa197tTCxg= X-Google-Smtp-Source: AMsMyM4ChxfsU7uiHOgFNKgYN0DboDTv1fR9clk5vlHvsBjWSzAj4PEFvIeWbif4+Rpj6wq7nvCcUg== X-Received: by 2002:a17:90b:3a81:b0:203:1247:4920 with SMTP id om1-20020a17090b3a8100b0020312474920mr7422426pjb.102.1664326779240; Tue, 27 Sep 2022 17:59:39 -0700 (PDT) Received: from localhost ([2409:8970:a80:3a4:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id u8-20020a170902e80800b00178ac4e70dcsm2223823plg.185.2022.09.27.17.59.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 27 Sep 2022 17:59:38 -0700 (PDT) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org, Matt Beshara Subject: Re: Should page break (^L) work as paragraph element separator and be included into Org syntax? (was: [BUG] org-fill-paragraph doesn't handle ^L correctly) In-Reply-To: <63621195-babb-8599-7086-5a00976cff59@gmail.com> References: <87o7v4iawb.fsf@mfa.pw> <87mtamjrft.fsf@localhost> <86k05pj3jo.fsf@gmail.com> <63621195-babb-8599-7086-5a00976cff59@gmail.com> Date: Wed, 28 Sep 2022 09:00:29 +0800 Message-ID: <87edvwgvo2.fsf@localhost> 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::62a; envelope-from=yantar92@gmail.com; helo=mail-pl1-x62a.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.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, 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 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664326838; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=0N0hvV3jbB0Q3nSRmNs/gpQthiuSt/ZXBj0HoUsqGQQ=; b=tk1GY/j//e75dJ4WP5feZ/pvcGyIBBWHrdq8hdv/7TvQJCSrvUZbhv1+nGxKBKefLyHoNI UWeVqtdNKKsOw+Aum0cNyJzBG2h+/hYJvbDx+7Yp/jlzhT6+AsoSwI3z3P56hkoSDL1q+S AiDzgcsQ8de6ffZlulpbNFrzsbk3WQLTWvw1JjOr4wn03yBQ38DbceKqCEiyH2CiIBPwqe sNBMCAE4wILBKRYa0GsA3M5AF3QLQwX2N29JYxNbs7WM8OzfMtBQ3dBqk38QP2ExIAJNHj nFmZjaFbuq435fTiY4aONjI2eY4ScK+8ZjG0bVFnu9DxP/T/clLF70wWQqTfrQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664326838; a=rsa-sha256; cv=none; b=NxcDYbKXu9b9GSNGYFdb8eBnqOwJr1h/MXtpqzMQ/Ss7Z7/+DIl3V6h0ttCFKAzScDwV64 8ubRHq/mLyf3oNGajlYCMon+SM+6XS422RD1DIE/c757m00VbmTEChPX8/2HllSICSVH8A +g+8j7P6cd/j8cDhGeVx26iDp+4A+f5OmmGulykn77hxOXpCtuDskyPfGc/EyuUvjNFctf H3HQij46j63w61dAnyf/zjhBhLqMzQXRwsv+1vN1MFhMwlbsmEHdqt1m0DhozNmrRc/IlI bgYbJcVXbEIvtmWw1SC5trMHYiz+0FznuJN8c9AZcVRdvjh8oBJpbu87o+dd2w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Y1yCyNWl; 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.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=Y1yCyNWl; 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: DE8BD382C9 X-Spam-Score: -3.34 X-Migadu-Scanner: scn1.migadu.com X-TUID: OBazLOkFTQdg Max Nikulin writes: > > Actually ^L is a *page* separator (to be exact =E2=80=9CFORM FEED=E2= =80=9D). > > I have realized that page separator for plain text is not necessary=20 > paragraph separator. The same paragraph may continue on the next page.=20 > It makes things more tricky. ^L should be kept on its own line while=20 > text around should be wrapped. Good point. > However from a discussion happened a year ago I concluded that it may be= =20 > not so trivial to tune `org-fill-element' for special cases. > > Timothy. Re: [PATCH] Don't fill displayed equations. Sun, 03 Oct 2021=20 > 16:50:54 +0800. https://list.orgmode.org/875yueij6r.fsf@gmail.com Actually, it is not that much hard. At least, it is not that hard for paragraphs. The linked discussion had other caveats involving whether special filling is even reasonable for the discussed elements (AFAIR). However, org-fill-element actually does have a special treatment for line-break objects inside paragraphs. There is nothing preventing us from special treatment of other types of objects in similar fashion. In fact, we may even utilize Emacs built-ins for page break symbols specifically. Just use fill-region instead of fill-region-as-paragraph. Similar to https://orgmode.org/list/875yhiyxnb.fsf@localhost It's just that I am not sure about other possible side effects of such change. P.S. Does LaTeX understand ^L? --=20 Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92