From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eLbqBAuknmU41gAAkFu2QA (envelope-from ) for ; Wed, 10 Jan 2024 15:04:59 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OOACOgqknmW6ewAAqHPOHw (envelope-from ) for ; Wed, 10 Jan 2024 15:04:59 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b="Ry/XcKkT"; 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=1704895498; 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=P3MJs9bWAakwOik8PJvgx60yB5C9o/Ydh2kcLrmK98k=; b=hjHP1Zj1sidNGBPpmN0tRU0hXoWFu4QDLZKweplS0Bgd1XzcXNfvjGQ8cGHU0knkGUHqWQ FN58AKB38tj8ZiX9ueuL86AuRNWesO8K3e1HMXBXVtm9H8GkEOXC1OgSxIA6Vs8eR47ktM Kr8Vx1qUP7GzFze7Mt2pd5VBcjBc6Sk7kQtCEmrbN9v5nrE3P/rE7O6ehix5iDxTzC3JD1 ab6XmkUTC81S+fDpTjm6SoDBqPE9rkceAJ5qebhZ8vVSuqfxmaemKNJfLp9dxgTuzS6kwQ psvXD/YomB4l2gqZtc9iByVz8MhmSBAp0bz7e8ijdAaZ7HQDppgCwXe7ejn1vg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704895498; a=rsa-sha256; cv=none; b=RXPV0EOvaEyFw4K1VEUjigCWHru1njKvGuiNAZmyxL1PGSP4n4gpr2F4jpWeEMeGwZ3gdw ecu800irNE4rirAHsu0Q9AEFVUtEL399zE8JwKzUUWT/3nmYgVntKykPEhrplNYEgAgeOm WTamszip7kx95iNrhH7yYEFA2xjD2hsoGRxe1bXg/GIidQ0FKF9TlFzu4oOt4l7tVR5Kus Y+zvY62ioz7nabmhyR81/6PF8T6cKXTFo0rRZToSOP5Cp01pibpORmNCwCtdrfP1+0Bj4B kswyximswMmUhlC4Q7YYw0qHviTg89OFKY8kQCRXxX76rCySDOV44ZribSOLaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=positron.solutions header.s=google header.b="Ry/XcKkT"; 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 D6A2710228 for ; Wed, 10 Jan 2024 15:04:58 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNZBw-000641-4k; Wed, 10 Jan 2024 09:04:24 -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 1rNZBt-00063P-Cw for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 09:04:21 -0500 Received: from mail-yw1-x112b.google.com ([2607:f8b0:4864:20::112b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rNZBr-0003a0-Ei for emacs-orgmode@gnu.org; Wed, 10 Jan 2024 09:04:21 -0500 Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-5efb0e180f0so41277367b3.1 for ; Wed, 10 Jan 2024 06:04:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=positron.solutions; s=google; t=1704895458; x=1705500258; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=P3MJs9bWAakwOik8PJvgx60yB5C9o/Ydh2kcLrmK98k=; b=Ry/XcKkTs9PA+nObCqhp1pLsKp7tJUvoD1rPlYVcoJhna3i4ShNU4dReIx2quM25RQ m0ca8Jwhxgz/qvud49n4duAMUhLR2KjVN72fpprAlGt3dNAIFRZJmmTD9qXRUzh6UfCw xWacqP7EJX7LmCzcbJr62dCaIuPRsV5lbtFV/HmVLCztMrnJrnKVZ+GUPAhuEd9WrUfa jKXThpJL3mkyhrIOwYEYvX9qhJp7yj2FIcvrn/TJVPd04gaSQKja0+qqEWa7N89mNvYd tQHTRRJzwGtzEb69vHftDx6xnLUYST0o5IcacsuXt8GXu+m8syL9Myr1imu2QZv+eT4l lQRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704895458; x=1705500258; h=content-transfer-encoding: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=P3MJs9bWAakwOik8PJvgx60yB5C9o/Ydh2kcLrmK98k=; b=aF5dlgT0CzQATP2yAntslQQce9y96FHrf72dWl2L77XzOwh1xXgJ5yJeT+yotck54G 7iQhkJ4KCwq2zgsiaHh7+CqoNU3GeJIF0R5RYBI6bfBByMr3Plr/BT9VdMGaYfKTMVF6 f3ZlyCQjMv3byQfNv4uowxNDgJSu3xqyha8qixAmCDsL6j8KlAbu7EK13JSFxuAdS98Y 1ww+jNGNiQ9jgPZbGXC5uSPxmFn1Yy7FVkeGKu1C8ZbUv/V5kgi4CzVTws/ohISn8sZ7 HjQu6AuUFnuAiv/TTLGSodifYeTUul66fEOtZWRUtS4LjFOkpshfRm6IHISAIQSMIsT9 HJTQ== X-Gm-Message-State: AOJu0YxPvZFdsJLcIFKBVPQiY6DO4LgC/Dfvyq5UOdwPoRXM4QjHSYie a6HrnpeprJB9nEKa8ubEOWnf4XQxCwNNOslRNXbHoRNLFyZ8zA== X-Google-Smtp-Source: AGHT+IHLkulObjijFI9/aaqFCSg2Ll0/gUAwrK6IJ0+/Wnlc65Z5ubk3mQ4zOypqLzdxmd+bSZq4LK6VbRGRKW8PjEI= X-Received: by 2002:a0d:f881:0:b0:5f5:a0be:22dd with SMTP id i123-20020a0df881000000b005f5a0be22ddmr979329ywf.63.1704895458077; Wed, 10 Jan 2024 06:04:18 -0800 (PST) MIME-Version: 1.0 References: <874jflqsdl.fsf@localhost> In-Reply-To: <874jflqsdl.fsf@localhost> From: Psionic K Date: Wed, 10 Jan 2024 23:04:07 +0900 Message-ID: Subject: Re: org-(un)fill-buffer To: Ihor Radchenko Cc: Psionic K , emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::112b; envelope-from=exec@positron.solutions; helo=mail-yw1-x112b.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, 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-Spam-Score: -7.20 X-Spam-Score: -7.20 X-Migadu-Queue-Id: D6A2710228 X-Migadu-Scanner: mx12.migadu.com X-TUID: qpdC9IEAosGO > You may instead just run 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. On Wed, Jan 10, 2024 at 9:31=E2=80=AFPM Ihor Radchenko wrote: > > Psionic K writes: > > > I wrote up a small addition to the unfill package, which is very > > convenient for switching hard newlines out in favor of tools like > > visual-line-mode and adaptive-wrap. > > > > The command unfilled every list and paragraph in the entire buffer. PR= is here: > > https://github.com/purcell/unfill/pull/11#pullrequestreview-1812645481 > > This PR introduces a function to "unfill" a region in Org mode buffer. > > > Steve wants to consider it for the org package itself. Questions from = me: > > 1. will this be accepted? > > 2. where would it go? > > 3. because org is more general than unfill, I would instead name the > > command org-fill-buffer and we can recommend that users run in a hook: > > (setq-local fill-column most-positive-fixnum). After that, every call > > to `org-fill-buffer` will just do what they mean, just like how > > `fill-paragraph` will respect fill-column. > > You may instead just run > (let ((fill-column most-positive-fixnum)) (fill-region (point-min) (point= -max))) > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at --=20 =EB=82=A8=EB=B0=B1=ED=98=B8 =EB=8C=80=ED=91=9C =EA=B2=B8 =EA=B3=B5=EB=8F=99 =EC=B0=BD=EC=97=85=EC=9E=90 =ED=8F=AC=EC=A7=80=ED=8A=B8=EB=A1=A0