From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4NBOLUypnmXExgAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 15:27:24 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id iL4mKUypnmVwPAAAe85BDQ (envelope-from ) for ; Wed, 10 Jan 2024 15:27:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=positron.solutions header.s=google header.b=ZgEDjIgw; 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"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704896844; 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=blQP1coZoINPT8oT9eHG2Nz22plm2Wow6+tlRo5lXj0=; b=a73h4ysFbJ9StKmP9I8BWFoinTfhQglrFexa8QZFIhQsosKc7Ye8CwI5Dv7HE0byON6xSm R7eKIIUlxySqSAgI3cwTTFi9UPwMtJgPaVM3WGgrwn2UxYDhHrVpo0gOWsIvwlxYa6auH5 TlpHu5VpF2i9wT65Uhgodi/KQ/+Tft1X8qpy8zGYO67z5dQxbWfbDrK7nhE8IS0+LM0uu8 Cd20gFBQob/U1VOxCyni3+0dGuicsXqfqPN7aQBuw4lzrpBp4PmTsl8oLeSnHg72aQpptz Aih2r7QIMpLWHc7KlLGy4vr2H3xZko9MqF/5/XggAkN5aGKZdAeAra25/syBfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704896844; a=rsa-sha256; cv=none; b=OipdGpFOXhlYnm6/Dj29hqtVSdhoY8CSlS/CdWLO9AYiLYqKuz8EynhajgnkpAkix+tuf7 gfYfwRvFinViDJFHgvR8mODOzey217wcYrnwXxgUxtI7rYjTXG4iyP6bdMWxMs/txD0EC3 dlKPAzgzft6dx82uH3A85So8A+5O2lZnXKC7Lo90WZ5txbieEEB9XCtsWMz3x7vIwTek8O hYgEqP/QyOszWVk2VNY4hM+FZJvf45wPrQqOe8eLphQJhqmrcgJJg825rwQf9yT2KrzFio 0L4HP5iP3i8NQpPYeuK3iU0sCYyO+QppST1+wn9chf2PNZtXg+d/FdkKr0IEtQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=positron.solutions header.s=google header.b=ZgEDjIgw; 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"; dmarc=none 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 6FF12DA92 for ; Wed, 10 Jan 2024 15:27:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNZXY-0004av-Ff; Wed, 10 Jan 2024 09:26:44 -0500 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 1rNZXV-0004aY-Ve for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 09:26:42 -0500 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNZXR-0005q4-1h for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 09:26:40 -0500 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-dbd029beef4so4015549276.0 for ; Wed, 10 Jan 2024 06:26:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1704896795; x=1705501595; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=FLUVcPV4qhaqE/wl2Y4rVnOhzwOVMJ2IjHpiVmx/ato=; b=ZgEDjIgwelR+f5iKR0u0zOJF49rAhorGAg/yJJE+HpouVtc1FP3xbjH59J9iPvaekI Zpg/8KVvJQppDcNQ63yRXA1S2lHKh1DJMAetK+3SGr74D/E22AmRI8DQlnVJ72X0dQW8 iY4UbK1uP3eUfM5x1viBw+e9SUno0bvS2RLe8PJZWI1IWRGwvnjV0gopthfCCUe0MQEg pODMX0kqKS2f3mlRR+CCHeoIIYwePutp6s1qtv54tq5yQF1ELZ0sc3yPRVqVS60gxZXz YeknFeeHSLYd0ddj8UEBk18ZxTIfI+wIEOc/IiPXuTRuQVkX04PLanpavMlnNMnpp8UZ O0xQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704896795; x=1705501595; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=FLUVcPV4qhaqE/wl2Y4rVnOhzwOVMJ2IjHpiVmx/ato=; b=ivJIWplddI5ioEVps1RCf5e4sE9EiSYR4Xs8WqAkiiiynY63xvFap/pE4WPskEPhVr BFK7nQvGSe3tQWl7Ovj6/5ZOu3Yf+jKeUuSEVdMk5S4q+hG07zlPICcMQHgA/7FonARu 622Q1sNFHnPVC/qAcytVzJ51tTS5LlqLx+tvI4AfZCd6dYPt9oSVZGwhlSFaQRfU+twU H7SrPen40ZjZ54FXp2G3zwberHf1cq2g7bulMLgL8LiEEhuhzqinz8fJdIBDWd+Vnvh1 FIO7EP2Ih/QG/Hz6/PhqQIRtZqfUpk1YG+4pzRKEdVhdoAK9iDdwdXYY+nBxyjFjbt0L si8A== X-Gm-Message-State: AOJu0YwStZo4vK32q2smP41YczBa0AqVW9ob3ZEvdbSpwsxBIx+A/+4l rjcnaPawOhYvo/NDWVbZg7xZws+F9kX+0xNJjI4zX2GwZb/JEA== X-Google-Smtp-Source: AGHT+IErIJ0Nud2425JCV9DKTMdokGlqMJ/7ubglhU7gZ+ZlPEwrMlYY4K/ytzeSSKDZetHsPLgUpcVpATRtDbscmrw= X-Received: by 2002:a05:6902:724:b0:d9c:ee80:9215 with SMTP id l4-20020a056902072400b00d9cee809215mr113677ybt.26.1704896794956; Wed, 10 Jan 2024 06:26:34 -0800 (PST) MIME-Version: 1.0 References: <874jflqsdl.fsf@localhost> In-Reply-To: From: Psionic K Date: Wed, 10 Jan 2024 23:26:24 +0900 Message-ID: Subject: Re: org-(un)fill-buffer To: Psionic K Cc: Ihor Radchenko , emacs-orgmode@gnu.org Content-Type: multipart/mixed; boundary="000000000000d7ebe8060e983712" Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=exec@positron.solutions; helo=mail-yb1-xb32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, HTML_MESSAGE=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." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 6FF12DA92 X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -4.21 X-Spam-Score: -4.21 X-TUID: 3kXhI1X2vege --000000000000d7ebe8060e983712 Content-Type: multipart/alternative; boundary="000000000000d7ebe6060e983710" --000000000000d7ebe6060e983710 Content-Type: text/plain; charset="UTF-8" This is the org-fill-buffer command, done generically for people who want to fill or unfill the entire buffer, as is required when alternating between hard newline filling and visual line mode filling. See attached patch for docstring and commit message. --000000000000d7ebe6060e983710 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This is the org-fill-buffer command,= done generically for people who want to fill or unfill the entire buffer, = as is required when alternating between hard newline filling and visual lin= e mode filling.

See attached patch for docstri= ng and commit message.
=
--000000000000d7ebe6060e983710-- --000000000000d7ebe8060e983712 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-org.el-introducing-org-fill-buffer.patch" Content-Disposition: attachment; filename="0001-org.el-introducing-org-fill-buffer.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lr7vf68h0 RnJvbSA3MDZkNWQ3MWNkZjFlZDI1Mjg2NjRiZGFmNzE0YWFkNmJkMTVhZjZjIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQc2lvbmlrIEsgPDczNzEwOTMzK3BzaW9uaWMta0B1c2Vycy5u b3JlcGx5LmdpdGh1Yi5jb20+CkRhdGU6IFdlZCwgMTAgSmFuIDIwMjQgMjM6MTU6MjYgKzA5MDAK U3ViamVjdDogW1BBVENIXSBvcmcuZWw6IGludHJvZHVjaW5nIG9yZy1maWxsLWJ1ZmZlcgoKKiBs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cs IHNldCBgZmlsbC1jb2x1bW4nIHRvIHRoZQorZGVzaXJlZCB3aXRoLiAgVG8gcmVtb3ZlIGhhcmQg bmV3bGluZXMsIHN1Y2ggYXMgdG8gcHJlcGFyZSB0aGUKK2NvbnRlbnRzIGZvciBgdmlzdWFsLWxp bmUtbW9kZScsIHNldCBgZmlsbC1jb2x1bW4nIHRvCitgbW9zdC1wb3NpdGl2ZS1maXhudW0nLiIK KyAgKGludGVyYWN0aXZlKQorICAodW5sZXNzIChhbmQgIChlcSBtYWpvci1tb2RlICdvcmctbW9k ZSkpCisgICAgKHVzZXItZXJyb3IgIkNhbm5vdCBmaWxsIGEgYnVmZmVyIG5vdCBpbiBPcmcgbW9k ZSIpKQorICAobGV0cmVjICgocGFyc2UtdHJlZSAob3JnLWVsZW1lbnQtcGFyc2UtYnVmZmVyICdn cmVhdGVyLWVsZW1lbnQgbmlsICdkZWZlcikpCisgICAgICAgICAgIChmaWxsLXRyZWUKKwkgICAg KGxhbWJkYSAoY29udGVudHMpCisJICAgICAgKGRvbGlzdCAoZWxlbWVudCAocmV2ZXJzZSBjb250 ZW50cykpCisgICAgICAgICAgICAgICAgKGxldCAoKHR5cGUgKG9yZy1lbGVtZW50LXR5cGUgZWxl bWVudCkpKQorCQkgIChpZiAobWVtYmVyIHR5cGUgICcoaGVhZGxpbmUgc2VjdGlvbikpCisJCSAg ICAgIChmdW5jYWxsIGZpbGwtdHJlZSAob3JnLWVsZW1lbnQtY29udGVudHMgZWxlbWVudCkpCisJ CSAgICAoc2F2ZS1leGN1cnNpb24KKwkJICAgICAgKHNhdmUtcmVzdHJpY3Rpb24KKwkJICAgICAg ICAobmFycm93LXRvLXJlZ2lvbgorCQkgICAgICAgICAob3JnLWVsZW1lbnQtYmVnaW4gZWxlbWVu dCkKKwkJICAgICAgICAgKG9yZy1lbGVtZW50LWVuZCBlbGVtZW50KSkKKyAgICAgICAgICAgICAg ICAgICAgICAgIChnb3RvLWNoYXIgKHBvaW50LW1pbikpCisgICAgICAgICAgICAgICAgICAgICAg ICAocGNhc2UgdHlwZQorICAgICAgICAgICAgICAgICAgICAgICAgICAoYHBhcmFncmFwaCAoZmls bC1wYXJhZ3JhcGgpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAoYHBsYWluLWxpc3QKKyAg ICAgICAgICAgICAgICAgICAgICAgICAgIChtYXBjIChsYW1iZGEgKGkpCisgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAoZ290by1jaGFyIChjYXIgaSkpCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAoZmlsbC1wYXJhZ3JhcGgpKQorICAgICAgICAgICAgICAgICAgICAgICAgICAg IChyZXZlcnNlIChvcmctbGlzdC1zdHJ1Y3QpKSkpKSkpKSkpKSkpCisgICAgKGZ1bmNhbGwgZmls bC10cmVlIChvcmctZWxlbWVudC1jb250ZW50cyBwYXJzZS10cmVlKSkpKQorCiAoZGVmdW4gb3Jn LW1ha2Utb3B0aW9ucy1yZWdleHAgKGt3ZHMgJm9wdGlvbmFsIGV4dHJhKQogICAiTWFrZSBhIHJl Z3VsYXIgZXhwcmVzc2lvbiBmb3Iga2V5d29yZCBsaW5lcy4KIEtXRFMgaXMgYSBsaXN0IG9mIGtl eXdvcmRzLCBhcyBzdHJpbmdzLiAgT3B0aW9uYWwgYXJndW1lbnQgRVhUUkEsCi0tIAoyLjQyLjAK Cg== --000000000000d7ebe8060e983712--