From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id YOA8GUG8nmW2cwEAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 16:48:17 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id mMbKEkG8nmWlYgAA62LTzQ (envelope-from ) for ; Wed, 10 Jan 2024 16:48:17 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EacV57Mt; 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=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704901697; 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=TpRxcM8Ndp9ySzwamYafWYlc0vF+hWMKCdV1tHFWyr0=; b=A4WnKY7Z97XUgwJVVJ73Gs/qYF3a2hLT7SiFx2l0eDEiCoQx+93yCn+rsKsZ20Tj5ID7CE JHLawBVmJI8FGKqjshtPeJG/nN9rOHywce/tsd2/vDdiK/vYXTw1AUIjsGqa8WJ8YWPWBt ChiIKQuV0rs01a7azb5y/oa61WBC3WaEKmJTefL/cq3/4BxbJPx7qb5vVLqdDjL2WKKwCT 3ukmpkZWnOpp10UGUvEHyEbcr1fmhuXHdNs+HgW3mBqJ9GH8UhpmNJ/+DpbiBL03KSX/SB AJlaDTs3bR0othPixYgoeDcMJwFbkhxnE/BCGfDdvFKKun958ZVxh49mWiE7FA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=EacV57Mt; 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=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704901697; a=rsa-sha256; cv=none; b=PTjwWM//o7UPJldb5hXYDG6O0iOgiASbBVB4fPOds3nq0/u/oqumLlgVmgiGjmR+dQ2low dX/goaMCyjj1+q+HnAmlAuenpk9QKkZb/msDCGnAi55QPz9bY/+3KCsRwK5pzb38VgsXMr O5mWlOBKPyenNrGy3GAPy1yRJf3FByAoZhj7zpnP7jQar6RomcRU/Gi+T7dGpMAVFU99Q+ QeMVql1mHqV2ntrrj1Iwindyso2J4ijGjWgmmjZfn2n4d998sCxtMVGKYxM3TqFhwIWJvw rqbwjaJjsk6VqediUyRE8qh46Zlphzwn4gbkISEztqJS1kH44RVezHS6lr3L3g== 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 DED883F6B3 for ; Wed, 10 Jan 2024 16:48:16 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNanu-0006dn-9b; Wed, 10 Jan 2024 10:47:42 -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 1rNans-0006cy-VZ for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 10:47:40 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rNanr-0001UW-7h for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 10:47:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 8B5D2240027 for ; Wed, 10 Jan 2024 16:47:35 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1704901655; bh=BJpd31pE6wSiRYbU/O40tqZIwpeFQOpppH0zQBBmh80=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:From; b=EacV57Mtpporm3Tg+Mpahlb5UnLkdnWn70kK1zBeuml3wge5gRh+Dm8ExxQ4uRkot gGw9XG0GMc2xhQDNVmHDYMNDYCRtUfoKIU6iBiABFOrDhQSzM3LnHlSgmQ+SMzM6WG X0Rr6SSmlCH5A7BJk/vWLgYmtIuOywKTwma8WF4MKyID9bTD8b9hVf7xVfecugi7G/ ivmdTlBgSnQESSkHyZCzYyFQ6hU3gj6jNTqJ2OT6PSpkQyy3IMKolmy0NPs5sPIoNP M2KinUo4LxNoHKR9S+w5OKDMfNXy19xp7MBy/y7+kaP36rnTmBEFks/dy8J7YNcw2N d2MOGZUl56c3w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4T9ByG57pXz6tvk; Wed, 10 Jan 2024 16:47:34 +0100 (CET) From: Ihor Radchenko To: Psionic K Cc: emacs-orgmode@gnu.org Subject: Re: org-(un)fill-buffer In-Reply-To: References: <874jflqsdl.fsf@localhost> Date: Wed, 10 Jan 2024 15:50:45 +0000 Message-ID: <87le8xkx0q.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.45 X-Spam-Score: -4.45 X-Migadu-Queue-Id: DED883F6B3 X-TUID: bRsEjKtoElVL Psionic K writes: >> You may instead just run >> (let ((fill-column most-positive-fixnum)) (fill-region (point-min) (point-max))) > No. That will have to be run manually on every element and every line > of every list. I suppose let's just not talk about it further and > I'll submit a patch so there's no confusion. May you please elaborate what is wrong with `fill-region'? > 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. > ... > * lisp/org.el: (org-fill-buffer) this command walks the tree and will > call fill-paragraph on every paragraph or plain-list element, enabling > the user to quickly cycle between hard newlines or visual-line-mode. > They can also adjust the fill, such as after removing indentation. I'd rather make use of the existing Emacs toggles that control filling, so that `fill-region' works as expected. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at