Sean Whitton <spwhitton@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 81038) by debbugs.gnu.org; 8 Aug 2026 12:55:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 08 08:55:20 2026 Received: from localhost ([127.0.0.1]:56965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wsga7-0004WM-GY for submit <at> debbugs.gnu.org; Sat, 08 Aug 2026 08:55:19 -0400 Received: from fout-a5-smtp.messagingengine.com ([103.168.172.148]:48711) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wsga5-0004VC-8q; Sat, 08 Aug 2026 08:55:17 -0400 Received: from phl-compute-01.internal (phl-compute-01.internal [10.202.2.41]) by mailfout.phl.internal (Postfix) with ESMTP id 11423EC012D; Sat, 8 Aug 2026 08:55:12 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-01.internal (MEProxy); Sat, 08 Aug 2026 08:55:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1786193712; x= 1786280112; bh=5TiCOkDyKJWuzCXMt11W9U5nSSXXxG7R22m6zg9lAao=; b=e 7oGowe34VURj2NBuvMPgo1H1HKCYLto9lo00mKyUdbeRB1qUMpn48pXL+IEUtxLj YPK3t/1uRjNZoi170+e7bL+/oyKSQQeswtqd9T41DEdVwBfYDHPkwL55tyuMsxGr pmA7RoZtYlAIwcGWuaJc5PC3mTdknPGtVsTgLWQSHN22/6x5FOJk3ZjV+JiZ9lFy jONiX9A9fqmmaVGE+7l/0Tlvn+EGeZNzpa1LqktbkHMNCp/xXjXTwhMvAxMEDZl6 zt639eRrdt0PVUEB+shN0KvY9WPVHh1uquXQxg4/tPShH2+kQ9QhL0qSCYMiOLtR 7c+7/tDvZI63fIVhnx6pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1786193712; x=1786280112; bh=5TiCOkDyKJWuzCXMt11W9U5nSSXXxG7R22m 6zg9lAao=; b=RwRR2QUFdWlDoIR31UYg6BjL6EQqFSoyXEapmZPlWjpbuIvg5k6 5PJ/ZoDrop2MMPXfORFyw9KDS6/4lrXz5Q9qM0hBL1pdJtNBD7N3XZVn4bO8x9g1 dvTbB6rwIUsGlbWaBIbDB15zgOYVRii/gWi5Q5c9OhEBk2iMQTNikuuYpOvesYC7 WymYZqV9QW82RaTahK8IwCriGGl0WGo397tCYyKeWhj9BZI8gRcMb3egAnkyioy0 Uu6c64gspUIAjZnzTN4EB6aTCIPI/wh8nvCmrZjZq6rhcIP+FEcWI9HEsKBmvovm 05E4vlt/kR1MvYibub4vYe0bjDd+jpJCUTg== X-ME-Sender: <xms:Lyd3auDGgx4-zXtszQ_x6OdfaBlJGd5pZJvRYVn0lD35j0sLcJcpmQ> <xme:Lyd3aqAX6n5knNy6YGeWE6J27uHzS_VOKOgA6S0pxggr0r9_RhXmxjFt6eNNy3IdU gFe4GdERNsNfH6zwmyaYsZWWap1YubI-TuesujuBlrwlicHHYTkZQ> X-ME-Received: <xmr:Lyd3ahqMexc1ig9v_m-xMh1M7JYMXzkzu-CFN1_VY6EcfGwoOOdJ5iWiczpJEiTkJhhhGhGmOKywICiJRPN-QC25VzubAA> X-ME-Proxy-Cause: dmFkZTGJAZ6GwMFW80QYd6IhksTI952U8/40l6N+54qRXw8Ox03hX0aktDd0v/NP+g2PrA aImSKl9+IhdMj/zjttOKbT4uiIYY5H4sMWdKy0HY+ur6ApADOSE1cV5Pc+RVK1nYMzd+yS U3nCdGCEua/4kglAY6UhUeKG3v6vlsnkoGEEVUKKkeH93uvWuug1y2FWS/OBlvtkrn3+BU E/JdOubWA6zJTejrufLL7is/Vq6iGykxj1ZO9uxahkSUwcQXWFZWQ/mK3BN04VybqyvpVq uapdd07v5akGDcSG0ww7sdceFe40i36QtZ539QXpfuRWoIKlwWWCyzPlCr+v6l7jSxmcQ5 Zl3Cfazn8Ed2zwFxgdid10CowGzxpcMoyPuMzCg3GRdIHHJfIUolAfqZrsFZoFJQAAmzXG 1MBsbOt2t9fl648qpmlwl49GduqWrIlqSGOlbH45JqZHVBMyJxKizWrNi6O+aQZvpckIPn BxhgEGMESIIac8ABSfZKkReCG4dYoljlDwaCL8YVLbecyYMHL/U74ezCXt2+JTTpP/82BU g67Y3jH5rVB+Sln+gRc8ZKyey8Cr7ZafEH0E9QGdbT2wP1+7RI8H8eXyLmrg91ErhC61mn DJSITO4l6v+tLeaWmFZ1fOStbQtcjsLruuNvTmoqGt0N4pJ5jpMy/RzxkTfg X-ME-Proxy: <xmx:Lyd3aslcbrfqD8Dkpgvpt9zVBp-J0VvULfoloDu6mlQMiMueLR6umw> <xmx:Lyd3apxf324eujHrv3bv81lSYQyFZM1tZEk6inT7vg0NUBosH0BZkg> <xmx:Lyd3as8eQ0g8aIAWGNbeUq8FuVDH66rlh8rLXFdtQR6U7d9eJ50ozA> <xmx:Lyd3atJy2UOA7QfAmRfs_ezcoF4Spk4sfhIvVsZBtE7ae6phxARWiQ> <xmx:MCd3aiMUWV4pm3u0_KQw5OQ4EfeWWSFAlfPB12njnYVRN_DEFGl1v4cH> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 8 Aug 2026 08:55:11 -0400 (EDT) Received: by zephyr.silentflame.com (Postfix, from userid 1000) id 7D600940F74; Sat, 08 Aug 2026 13:55:09 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87zeywap92.fsf@localhost> References: <87h5oajtfk.fsf@HIDDEN> <87wlu63vny.fsf@HIDDEN> <87zeywap92.fsf@localhost> Date: Sat, 08 Aug 2026 13:55:09 +0100 Message-ID: <878q6gwz4i.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, control <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) unblock 81521 by 81038 thanks Ihor Radchenko [08/Aug 10:19am GMT] wrote: > Sean Whitton <spwhitton@HIDDEN> writes: > >> Augusto Stoffel [14/May 10:18am +02] wrote: >>> Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, >>> if at the very end of a paragraph (looking-at-p "\n\n."), then >>> unfill-paragraph doesn't do anything. >> >> I don't think this bug is important enough to be release-blocking. >> Eli, Ihor? > > I do not see why it should be release-blocking. It is just a new > optional feature. Thanks, unblocking the bug. Hope one of us has a bright idea about making this work better at some point. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 8 Aug 2026 10:20:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 08 06:20:02 2026 Received: from localhost ([127.0.0.1]:56120 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wse9p-0001dI-MC for submit <at> debbugs.gnu.org; Sat, 08 Aug 2026 06:20:02 -0400 Received: from mout02.posteo.de ([185.67.36.66]:54931) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wse9n-0001ch-EK for 81038 <at> debbugs.gnu.org; Sat, 08 Aug 2026 06:20:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 23A8F240103 for <81038 <at> debbugs.gnu.org>; Sat, 8 Aug 2026 12:19:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1786184393; bh=QcQxO2ev7nM/karjR+ZrHpUNHD5M11Cjkce01MsNfLM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=HqeWy4KgTqnft4VdgMCdBoMbHheBeQFQM5UOpZL+p9crioRgZcSQ9Ewc72cVqLeJP 86miQFUJGTukRsQPN8fLcEzRgLX93sxEuUCNgZOe1beAF5vWQ5OeXjE9jN8a6cfkC7 VOvy7nLL0DgsnV/peqi1YMFKwWLmMp7jAeL5vaNOB3tnPZuuJFOGGbIOSeMZSlPAaH x+Wj6/71V8htd6TvJENZxWdx9SI2g7P32q2NFVUK6/S0GKFDG1dj5fLhc1Jxn+9pQj W11S+e3iyYP5221u0MWZixaiVsGvGTPvLwtd9nUSpMpuJkIMR2RKIjAaGol4clCtA4 oOdJfsFAsQ+zA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4hHH7r2YBfz9rxK; Sat, 8 Aug 2026 12:19:52 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87wlu63vny.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87wlu63vny.fsf@HIDDEN> Date: Sat, 08 Aug 2026 10:19:52 +0000 Message-ID: <87zeywap92.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Sean Whitton <spwhitton@HIDDEN> writes: > Augusto Stoffel [14/May 10:18am +02] wrote: >> Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, >> if at the very end of a paragraph (looking-at-p "\n\n."), then >> unfill-paragraph doesn't do anything. > > I don't think this bug is important enough to be release-blocking. > Eli, Ihor? I do not see why it should be release-blocking. It is just a new optional feature. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 4 Aug 2026 12:59:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 04 08:59:09 2026 Received: from localhost ([127.0.0.1]:38280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wrEjc-0000WQ-O0 for submit <at> debbugs.gnu.org; Tue, 04 Aug 2026 08:59:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40378) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wrEjb-0000Vq-1Q for 81038 <at> debbugs.gnu.org; Tue, 04 Aug 2026 08:59:07 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wrEjV-0004eX-Fa; Tue, 04 Aug 2026 08:59:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Pc0aWBRsP8uPkZFXEjnDWP1L9gxKyVv8zW9MMUcOCO0=; b=XC32Gm1a2EYv jDYEXdJI9ZOtUTlddkGQHxA2MKVk3Q4Psegs7d22Zr7HK6XvXZXVXxKJUavZ6uBjQoxapronwgVQc 3qqDsh89lmdyo1hVr11DsXhtU1SwOd7/s8ClpWs3OMf9W9n2NqdQdqG1Tjs3nbj16yvnIo3cmQ0Gt eyjnhFGJsUNH+x12sYG2Op9GC/qyQB/R7MjESzHz2Blbewsed1yVv1ACoBQQWvP/q8NouKsqM/Mbu k9ZOTXRyHIzyoOSDJmera4iJ29Y2hT243c5s0p+ogDpJteBvkusy2QUNCZNXQq2B35GXpTXaaTQ6q p6heO27tJWtOvTd59pc48w==; Date: Tue, 04 Aug 2026 15:58:59 +0300 Message-Id: <86ldamca98.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> In-Reply-To: <87wlu63vny.fsf@HIDDEN> (message from Sean Whitton on Tue, 04 Aug 2026 13:41:21 +0100) Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph References: <87h5oajtfk.fsf@HIDDEN> <87wlu63vny.fsf@HIDDEN> X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, yantar92@HIDDEN, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > From: Sean Whitton <spwhitton@HIDDEN> > Cc: emacs-orgmode@HIDDEN, 81038 <at> debbugs.gnu.org > Date: Tue, 04 Aug 2026 13:41:21 +0100 > > Augusto Stoffel [14/May 10:18am +02] wrote: > > Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, > > if at the very end of a paragraph (looking-at-p "\n\n."), then > > unfill-paragraph doesn't do anything. > > I don't think this bug is important enough to be release-blocking. > Eli, Ihor? I agree, FWIW.
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 4 Aug 2026 12:41:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Aug 04 08:41:30 2026 Received: from localhost ([127.0.0.1]:38055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wrESY-0007gu-DG for submit <at> debbugs.gnu.org; Tue, 04 Aug 2026 08:41:30 -0400 Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]:53095) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wrESW-0007gh-R7 for 81038 <at> debbugs.gnu.org; Tue, 04 Aug 2026 08:41:29 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfout.stl.internal (Postfix) with ESMTP id 63DAF1D001E4; Tue, 4 Aug 2026 08:41:23 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Tue, 04 Aug 2026 08:41:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1785847283; x= 1785933683; bh=HjZOYWAxvz2jpCbJjBpQJtlP33Pujh3jDSgNys2Z/dk=; b=U OJcXOuE/iiKWLkGqm9vNJk+TRmBl5YzQQqh2Zx/nEjghMPvKBcA7uOzr/l4ymfxa 5+Za9subr8JJTWw18tdzgP8QIf9w3ZP8SRUmLyZln5uZupsMB+smMusSEOhoaQc7 bXz5Rm1rpzOc3KHSWWbCek5cv+aktUZ05yrrZ/6d2AUR/1TWhbRPq+soWphpr/9z tDh4eef11icW/n5jtHnE0wE2tiMe+BSpXNNqAknjzAqV5k07vjNAQaS6QODV3Xek dKbNqZ6u5d6p5LWcYMZFXTqmjaa+uxWG2BLUPr6GC7B4Q1wxO2SQpVc4kNuJ3KjF THJfa+fmYS0INNlhxLYUw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1785847283; x=1785933683; bh=HjZOYWAxvz2jpCbJjBpQJtlP33Pujh3jDSg Nys2Z/dk=; b=SekORdBId3fHYrCEQhgryETvwAuJ8eVeB7pEJE1WyFsSoJWu0Jp jGq7GUyGLFkBCAXsAHoRPvfqXZcQPAy/cIdj0dgG6d7NLVlbccRqDlPvBIeG6j4a pqHzAmCIpGnRXZvAgi41/EDRDVRlI0BgSblC54YSEhEWLxtFFjDPzIaSnov2j1q4 Z3tNmWZmPq/nquPQi5sc33a0op1Cermc6mnMHw+pfYfwAJFAk/WnNOIzicz4DuuW u5Th7KB47dR2TjGpwkvgmxasMtQ8JyLt4nDD74ZsOZHj4uL4HXTbGiCBMJkeUzwV j3upTePIeRfgnLoJ/IXY0rkJQtJ+wYhepGQ== X-ME-Sender: <xms:891xat8rAbcKt4kjTjSI7pjmQ5WtzSCgL9_7bo7n6lWoEUE_mlWzqQ> <xme:891xaovIrC-dkjiQ-7-ijlz2LzrgBPekQ9fBJzZPHk2gndEi1jSb4fYHJjpbxw7ru 0_u_iarHZ2spy70c9HzlUZ-ddBZe3FfwdlyJ-lnCCxHRxa6oT5_O0Y1> X-ME-Received: <xmr:891xagBTzGBE4vCsVA9BtHLAXDwrKRS6PPYniggaGYI2qRHr_3sFul1Qt8yrlPNY4RNg7536rOWe> X-ME-Proxy-Cause: dmFkZTF961Nx+3HWgT7Ey9QWztLbLUmYvM+pBLzYj82DyApttm8kGadXZX87BDluXcjtfE ZLfuUJXnhNo1abkmV6LUVzesmwlHV6nSaMGXmr0FQtd6fMOR8DvmBS1PxvG/fXVS1iOUhu lPmAPUQupsEW+q/cZAy1FZxktfwAzmcN+WkCmCQwyw1VgpjyxtYxsS5N294PlVt1zRB8z/ 17mahvF2BwOInxYyjieev1wObUxQ20hk3TzhcfhrhKbYchdXXc8YTn2uR6sMchDww4nF3d Uey9HO8/dynYwrN42R8bkx8HPTGJkTBcNZzXHa6XznNeCKgD9tSyDmKarobKa8a5HlfllF gyyV5ecJwgfBJgDhBFh/ZhSNRgw4ifZXcvA5Xze+NY+iOFMt079dGsTm7HvbT4AWXzVaeZ zRxQJl/eOhlTheZuAtDEpYGf4MNxLLvZuCf3AXojwKWkch+BHmevFPa8ktCWgM1PahKZ0X uhdmgsoM0oZVTxQsXPfNu0DZi4FWBoa2pKIfRiyrcZaeWWmURD/FtFHE+MuCeqzgUREIjN H3D0Sld0YkaFWr3CrqJPZFiu3bWit27tTmv20Dl9JxUN15umrN5srEClGMzQCMptxiqbka 6t/aMX6228ikAvmcVTBn7IQCFffL9SyhEiNyzBqopefHKFHKP86tL/1lEzdA X-ME-Proxy: <xmx:891xagVlsSYpOt9Z9l-rVhoMV3IWJUm6T1VjWGGUVI0mve2WeDQ9og> <xmx:891xauC2J_4gxTHBFr5FWXcvQSj9l5-ZBkf113b5SosMHxNuxCnwOQ> <xmx:891xaj9rTAr7bWmHSjgnJLPz2W96Vbs42k-q4CXfrYe7qVjc7vM4Fg> <xmx:891xalFX4xJtOhEuPlrsLMl258f5BaWLb-XvkPw7N3YZ16ClRBcLrg> <xmx:891xallQ2ynNuZpk-ozuzeRAiyz9VvF7IkwrGqziJAi5ok_cPdPD-Art> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 4 Aug 2026 08:41:22 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id EEDC17EAB47; Tue, 04 Aug 2026 13:41:21 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87h5oajtfk.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> Date: Tue, 04 Aug 2026 13:41:21 +0100 Message-ID: <87wlu63vny.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Augusto Stoffel [14/May 10:18am +02] wrote: > Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, > if at the very end of a paragraph (looking-at-p "\n\n."), then > unfill-paragraph doesn't do anything. I don't think this bug is important enough to be release-blocking. Eli, Ihor? -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 2 Aug 2026 10:46:08 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Aug 02 06:46:08 2026 Received: from localhost ([127.0.0.1]:40791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wqThn-0005A1-La for submit <at> debbugs.gnu.org; Sun, 02 Aug 2026 06:46:08 -0400 Received: from mout02.posteo.de ([185.67.36.66]:56665) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wqThk-00058z-IL for 81038 <at> debbugs.gnu.org; Sun, 02 Aug 2026 06:46:05 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 30734240104 for <81038 <at> debbugs.gnu.org>; Sun, 2 Aug 2026 12:45:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1785667558; bh=hTDu1c5T5HtOicJJkqWOuannMecGIk74LbAOkQIPXZc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=JXSLhreZi/LpQTlD3UbMg7GxtRAXp/mty6jDDnuI2efOqLPxdF6p2zTvOrMRe+5hG +usQXElfmTV8sjVvkiNrbLyKW5/DYnD5gW+f+NjrSYCzU2BZKU4IecjqQWjqE72TFE yCbjlmWfQXOZPXRUauJmTFAPr+K5zx7k8zwmUe+l/Wvn8ZLLqLVa21/27zhueZK42j 6R3xthxZo4semdwT1moZsd/sE+M3H+Zc6uKQGofENiJEZeMZEXX5Ut+R456fPfRwy2 J/ttrix5k0rdljll71wrvJixa6iXwR79YTP9NZZgi1U9CRa+5JbXBBbko5IOwFvkR4 DSRFt3AvLrKrQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4hCc0j0MgVz9rxD; Sun, 2 Aug 2026 12:45:57 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvjyr1lj2z.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87h5moctgj.fsf@localhost> <jwvpl1c2myn.fsf-monnier+emacs@HIDDEN> <jwvwlvk15vm.fsf-monnier+emacs@HIDDEN> <87ech9sov1.fsf@localhost> <jwvjyr1lj2z.fsf-monnier+emacs@HIDDEN> Date: Sun, 02 Aug 2026 10:45:57 +0000 Message-ID: <87mrv47qd1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >>>> Good question. I suspect the current API doesn't currently support >>>> that well. >>> Hmm.. smells of the office of redundancy office. >> Could you elaborate? > > Not sure if you're trying to push the joke a bit further or if you're > serious, but my second message was just a silly comment pointing out > that I had redundantly written "current" twice within the same sentence. Ok. I thought that you meant that current API is redundant. I did not understand the joke. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Sean Whitton <spwhitton@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.Received: (at 81038) by debbugs.gnu.org; 11 Jul 2026 14:28:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 11 10:28:01 2026 Received: from localhost ([127.0.0.1]:43327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wiYgR-0003K0-Uz for submit <at> debbugs.gnu.org; Sat, 11 Jul 2026 10:28:01 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42308) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wiYgP-0003IU-GJ for 81038 <at> debbugs.gnu.org; Sat, 11 Jul 2026 10:27:58 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 680FB1000AE; Sat, 11 Jul 2026 10:27:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1783780070; bh=B65I5/bFVU7r5b1USFZijTWpmn9QW6EgQIdAY85iz1Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OjXf8HOAcTOyXRTuK7j/3pdKbZD6ExoR/PVEPlQYzqVO3gVe7h/42QrhWYBtr5ksP +3mpZZOlPUzSnJifZVsbJ98seVq9BEE3C0KcSR1mIGEGd12mngVnPiQn6Qe09m2AYQ wYV2DXNipH4nfuL3sVMY3E5JH9KO4XyCNeOOt9wTUu2ymPbPiXZyWxpPSy8/VL8F1T dMeSjTW7HAjcbOFkoiM25fyz0Lp7pSnEkUlnwrrhyFd+2uSJzRooX2s0tb6VvHAmqp QNr1CUkwADYxn+ewTNdFwLU9oJqRRFaTYE84snBjBBvA6VVC78KiRUTO5MhqFBHSxX qfzzh4Wk5Zw5Q== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 6D911100081; Sat, 11 Jul 2026 10:27:50 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 271651204CB; Sat, 11 Jul 2026 10:27:50 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87bjcdsols.fsf@localhost> Message-ID: <jwvech9lijf.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> <87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost> <jwvik6v9946.fsf-monnier+emacs@HIDDEN> <87jyrbrhmh.fsf@localhost> <jwvtsqfu62z.fsf-monnier+emacs@HIDDEN> <87bjcdsols.fsf@localhost> Date: Sat, 11 Jul 2026 10:27:49 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.094 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ihor Radchenko [2026-07-11 12:22:29] wrote: > Stefan Monnier <monnier@HIDDEN> writes: >>> But earlier you said that >>> >>> "it's the responsibility of the caller to make sure the region is indeed a fillable paragraph" >>> >>> Either these two statements contradict each other or I am missing something. >> >> By "make sure the region is indeed a fillable paragraph" I meant that >> it's the responsibility of the callers to make sure that *they* consider >> it as a fillable paragraph. > > But the fill-paragraph-function has no idea about assumptions made by > the callers. Yup: `fill-paragraph-function` (FPF) is usually the caller of `fill-region-as-paragraph` (FRAP) so FPF the one that bears the responsability of making sure what they pass to FRAP is indeed something FPF considers a pargraph. > It needs to operate with its own assumption about paragraph > syntax. Yup. Tho it usually delegates that task to `fill-forward-paragraph-function`. > So, if the region it is called on happens to contradict that ?? AFAIK, you're talking about FPF, here, but FPF is never called on a region (as opposed to `fill-region` or FRAP): it operates on "the paragraph around point" and is in charge of deciding what are the boundaries of that paragraph. > So, in other words, it only joins the paragraphs on blank lines that > are either empty or only contain spaces (no tabs!). Page breaks and > tabs will remain separators and we may end up with multiple paragraph > after filling region "as paragraph". That depends on many things (e.g. the definition of paragraph), but yes, the above can happen. Tho it can also happen that FRAP turns ^L and TABs into spaces, or it can also happens to that it keeps them as-they-are but that they they do not separate paragraphs. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 11 Jul 2026 14:14:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 11 10:14:41 2026
Received: from localhost ([127.0.0.1]:43261 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wiYTZ-00013E-He
for submit <at> debbugs.gnu.org; Sat, 11 Jul 2026 10:14:41 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:53691)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
id 1wiYTW-00012n-52
for 81038 <at> debbugs.gnu.org; Sat, 11 Jul 2026 10:14:39 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 2B3558066C;
Sat, 11 Jul 2026 10:14:32 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
s=mail; t=1783779270;
bh=FgLbLZCXk30ZeCYE2i/+0K1vY5wv1QYN8IYvpZ/enBg=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
b=Ao5Fu+9jNdZ2dOx4QtyzYO5fhkZLfh9k3xWNw7M/suJkDkZFaV40o5w2k3ahlPvtG
8vlmZRTbus42xT+yPK+/apo+hWwg89EZ1LozJSFDL3+kA+8LPPEJbFxtBAnj+sR9bO
n/qonmfJS7FFdEdBqw93cylkqc7xb56lxF0+lLWhybEUZShm8EAkq2mbvPU8jIc7Qi
eDmpTh5U2BuDm2bcS866l1I0k7I8L7MSY92KMwEx8xsjsa3bMKWaqMyHZgSb6yAhay
8AIkFz87YeI3x/6rdwz0OLxSQPv/WY3j9NSkskuwSrRE+250n8fcEbZc+rOVFvOWM7
lsryGmH0Pl4DQ==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 41ECA80035;
Sat, 11 Jul 2026 10:14:30 -0400 (EDT)
Received: from pastel (unknown [104.247.237.64])
by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 023BF12025A;
Sat, 11 Jul 2026 10:14:29 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <87ech9sov1.fsf@localhost>
Message-ID: <jwvjyr1lj2z.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
<86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost>
<86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost>
<jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87h5moctgj.fsf@localhost>
<jwvpl1c2myn.fsf-monnier+emacs@HIDDEN>
<jwvwlvk15vm.fsf-monnier+emacs@HIDDEN> <87ech9sov1.fsf@localhost>
Date: Sat, 11 Jul 2026 10:14:28 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-SPAM-INFO: Spam detection results: 0
ALL_TRUSTED -1 Passed through trusted hosts only via SMTP
AWL 0.122 Adjusted score from AWL reputation of From: address
BAYES_00 -1.9 Bayes spam probability is 0 to 1%
DKIM_SIGNED 0.1 Message has a DKIM or DK signature,
not necessarily valid
DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
domain
DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
domain
X-SPAM-LEVEL:
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
>>> Good question. I suspect the current API doesn't currently support
>>> that well.
>> Hmm.. smells of the office of redundancy office.
> Could you elaborate?
Not sure if you're trying to push the joke a bit further or if you're
serious, but my second message was just a silly comment pointing out
that I had redundantly written "current" twice within the same sentence.
BTW, DuckDuckGo suggests that the more popular name is [Department of
Redundancy Department](https://en.wiktionary.org/wiki/Department_of_Redunda=
ncy_Department)
I'm sure the FSF Foundation has heard of it. =F0=9F=99=82
=3D=3D=3D Stefan "wondering if recursive acronyms can be considered as
infinitely redundant (e.g. `GNU is Not Unix` already
contains `is Not Unix` in `GNU`)"
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 11 Jul 2026 12:22:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 11 08:22:44 2026 Received: from localhost ([127.0.0.1]:41344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wiWjB-0002yE-H8 for submit <at> debbugs.gnu.org; Sat, 11 Jul 2026 08:22:44 -0400 Received: from mout01.posteo.de ([185.67.36.65]:42553) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wiWj6-0002wh-0y for 81038 <at> debbugs.gnu.org; Sat, 11 Jul 2026 08:22:39 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C80AB240029 for <81038 <at> debbugs.gnu.org>; Sat, 11 Jul 2026 14:22:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1783772549; bh=Rp+i0MHBKazaHrmLs7Lbb1ql9W/Sttphpww0CG6LtsI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=P/HPU/5HF7FGfjN2JiVChIC4oCOkLCXQqpoF/wgd4fU6kdlRXh/4KDfjlOLM+xL3W C70ZBdkV7XTDgWeYRnZ8eUC6x+hh0sbtzOjMrvDcS6XpKQ/t0OjqLGF2wzummq9LWT Rtp6pc+CxY0M2EWjTC3mATAzHP3hPkJXC07ju4hnx8V68oBfJAbkqiVvRDG3zROaDN UPqGi2VMLQ4vfTFE1TagGr9NbIfo9MS0IIQofMOt7tOqIuf7uDnD8Unv1srucCUhmh wA6LNCbk2EOh1y9h1i3NPVLV2Tkn4xXwu/WfpgN+aF2/Tv3R5zyAL7rzZWgNPG8d3N MIFtBmI0XnO0g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gy7BD5Jpkz6twK; Sat, 11 Jul 2026 14:22:28 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvtsqfu62z.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> <87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost> <jwvik6v9946.fsf-monnier+emacs@HIDDEN> <87jyrbrhmh.fsf@localhost> <jwvtsqfu62z.fsf-monnier+emacs@HIDDEN> Date: Sat, 11 Jul 2026 12:22:29 +0000 Message-ID: <87bjcdsols.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >> But earlier you said that >> >> "it's the responsibility of the caller to make sure the region is indeed a fillable paragraph" >> >> Either these two statements contradict each other or I am missing something. > > By "make sure the region is indeed a fillable paragraph" I meant that > it's the responsibility of the callers to make sure that *they* consider > it as a fillable paragraph. But the fill-paragraph-function has no idea about assumptions made by the callers. It needs to operate with its own assumption about paragraph syntax. So, if the region it is called on happens to contradict that syntax, it cannot get anything other than - "ok, the caller wants to treat the whole region as a single paragraph". But in Org mode, it is simply impossible to treat certain regions as single paragraph. I cannot "fill" something like Normal text. #+begin_src emacs-lisp "Elisp code" #+end_src So, the only sane behavior will be filling as much as possible, but leaving paragraph + code block as a sequence of two separate elements. However, then, the caller may be confused, especially if it expects the end result to be a single paragraph inside the requested region. >>> What behavior would you find more intuitive? >>> IOW, how would you change its behavior to make it more intuitive? >> Given that I do not quite understand the intended API and behavior, I >> have no clue what would be more intuitive. I just don't understand the >> current design well enough. > > I don't know how else to describe it... OK, here's another try. > The basic behavior of `fill-region-as-paragraph` is roughly: > > (subst-char-in-region BEG END ?\n ?\s) > (goto-char BEG) > (while (progn (forward-char fill-column) > (< (point) END)) > (insert "\n")) > > Except it makes sure to insert the space only at appropriate places, > counts columns instead of chars, takes care of `fill-prefix`, compacts > sequences of whitespace into a single space, etc... > > Does that make sense? So, in other words, it only joins the paragraphs on blank lines that are either empty or only contain spaces (no tabs!). Page breaks and tabs will remain separators and we may end up with multiple paragraph after filling region "as paragraph". Honestly, sounds like a bug reproducer. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 11 Jul 2026 12:17:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 11 08:17:06 2026 Received: from localhost ([127.0.0.1]:41316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wiWdm-0002D5-3W for submit <at> debbugs.gnu.org; Sat, 11 Jul 2026 08:17:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:60225) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wiWdi-0002CA-L9 for 81038 <at> debbugs.gnu.org; Sat, 11 Jul 2026 08:17:04 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 22CBA240103 for <81038 <at> debbugs.gnu.org>; Sat, 11 Jul 2026 14:16:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1783772216; bh=hBLl4x4EJrsEHxo6qPI2L5ylSNJ2BO48IFlNh26wntY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=DoTBoHulbPxLxpLJzFrf0YIQbs4lb0fYuCY49GTOlFvQlEeSS8UADJV3OxkDsSXSN cmceSKLmCfumZDxGpQ/vZwROmiBANnKsJUhjNvDrcKEXxM62lDNBzzsr9wLgt598+M 1CtTnWRHMTsK0vyM09vOeAwrVvP2BUVjT68/H7PhApkRixK2UDy37kZS9Ibkj0hgFN ZfxNBDbVge4Btu7LOVXU5YYrZBY40yKpT17CVVxtSjRNkXWrAtc7Hi3KAeHsiLAq08 eQndcDRL/9iO7IQ+7dc03YC0rz6OAIrfsyOLuQ7Ugn6xtBD+pZxD6m+07fek1Owidb AEZEhzqm5Xlvw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gy73q1bG0z6txn; Sat, 11 Jul 2026 14:16:54 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvwlvk15vm.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87h5moctgj.fsf@localhost> <jwvpl1c2myn.fsf-monnier+emacs@HIDDEN> <jwvwlvk15vm.fsf-monnier+emacs@HIDDEN> Date: Sat, 11 Jul 2026 12:16:55 +0000 Message-ID: <87ech9sov1.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >> Good question. I suspect the current API doesn't currently support >> that well. > > Hmm.. smells of the office of redundancy office. Could you elaborate? -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 4 Jul 2026 12:32:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jul 04 08:32:13 2026 Received: from localhost ([127.0.0.1]:56800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wfzXW-0003Xw-UK for submit <at> debbugs.gnu.org; Sat, 04 Jul 2026 08:32:13 -0400 Received: from fout-a7-smtp.messagingengine.com ([103.168.172.150]:51293) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wfzXS-0003Wm-19 for 81038 <at> debbugs.gnu.org; Sat, 04 Jul 2026 08:32:08 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 4AD9AEC005A; Sat, 4 Jul 2026 08:32:00 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sat, 04 Jul 2026 08:32:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1783168320; x= 1783254720; bh=y3fIdBraZxIPffsqR0aj1W9s4AGN6wHNvCoHFFO/cFc=; b=S iO0GZNOnrYp0658P5XhGzBmGbfrodgARDoKmI5WvJFOg/zslSZDQvIwfg9TkNz5a QfgitcUyB6gsJ4LAwA+ULFw/vhaOAwU8QXwh2N+PPQcat/WBtCCi7Psu2BtIKO97 gebtpp62qaKzO5tonIfHwidiyix5cGxL8vdB6Mc+iAMDTgt5J+dZU42dNhN6PkUL W5MqkWTYkcb2i77a3/e+evj04itxV+hMgBM+yzto0aNwsdZ2fVQtT0K4uuhlnK3N BjzKCkCAu92bzGQ/p+cU7tDsjzjeimN6/mGErgTrZdGZ3PHST8MQleXOoxCk/xWK GZQt5uFhZ3dPeSw4wTE0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1783168320; x=1783254720; bh=y3fIdBraZxIPffsqR0aj1W9s4AGN6wHNvCo HFFO/cFc=; b=dDBwdnn8kLr36sgTvqfn56z+Q4swFYTW9+Ki651rjRSSnQc8lNa RC2Is0XDuMcYaYReGHjT1+goIbXuQxiAcjpI9vV9Jv+qoAHR6jrVbP+lXQHGvl63 KKg9b35CvsJBKaQ6X0WtwuArtzEG3ipyMMji4Q4S2AdxCBJ7dpZzMcfmQ9u8QYMB jvF3bCrbc4NSNEUGJKs5/Uyel0Tbw/BPQgPE2IFQD2yVaNnyARmeI7MHhCk3XpZ1 0b0yFXqOR2M3aTuCX51ib+ywxqO1wjozrWgOHi6gnJt518F9HPmgo2WVNr3nUZKp KHpI7jpdOBFiicHWR6fWf6yEu334+mH4yaA== X-ME-Sender: <xms:P_1Iavmx0y5YARwoq035rYRZxMWcBkSIFPlIBC_40GOn-ofbhP5hdA> <xme:P_1IasLsgQUJYuc8At73TxR7QmX4Dn0Jt-fXHXEGTNqoZtTpoM9jJliKgqa5FSMiO 29F9h-3roAVdEuBsmPXtHhKZm0PTMdW2wmxzbel7CdofJ2MQYyQ2ao> X-ME-Received: <xmr:P_1Ias7pVfj_JqfolTVyDqkP0LlCSGIOjILPkjwCOnqjKtq7e7x4sDysuBi0iXOh6AbbLgmXKSfZ> X-ME-Proxy-Cause: dmFkZTF79f4wrBNOjXSojG1ymxpg+/dkZqqCph2DpTV/p0mvwN4NK9oicAMQiv+4k2w25W MuwPJZcQpa4fuI1e5QqzPBDp4rGOkNXK/t0uEoaCOOIMyFt2dY96I7CxHSXrGDw1M04Hm7 3QjJf9Mnh93KFBFzDbbgSzBo4SEaaRoh/r17Sud9lYm+aNz+9vRNLnhtu6ktJht39Y7UBY Ueb9RAoaLKpFdIULM78X1y2/Y1BhFQYt3s6AiodPEK4dirpxizhXxo65k+n9yImpg+lyEx +q58TrEinJFnALe9TVtxqBicaHOB3dFQ8b985Ocq35e0+jAP1neirDupG2Qnxetebz3/gv NEavZi4E0eb30sZD17fuCDhcsbJ79hQWNt2SU1ItqlSzihq9z250/SMUdT0Atz6ShHbBul CIWSl+bj63/0PoybFGkAdxdVVBOEZMMx+miHAA1mEEx8WVQxPli8NQwPQqF0QbhJXW+oEI YS9Aonrsdf2oBMMhKbVRbyw9Pw3nUFmOmzXVlgao/ThD6jdEonrk/Uqnzy6MWrzQeYtCdn n5QCEinK8V3wjztpYl1VpzVncHzLlnvkcVGm+1s/MpwG3GxoYlU2EdXSGkO9x1eXFrl345 07LrukjnamhZZHHo0BsIX5Hi31cg0/WKMJyqGRZq5S6Fqkjnfbgvp2A1g+uw X-ME-Proxy: <xmx:P_1Iao2_u6kT9czYMfvy8l8BLC8lW-CMDTzG0BCyjiw2s2kLQQlsaA> <xmx:P_1IaqezDd3Br5xuWjC-hluNlWN89ItirqItD_jcdYVQI8xCkez0yg> <xmx:P_1IameM_9y5iUdt2CR2iKU7foKpy--s109_SCrCNFN5N2_fJ4y7Ow> <xmx:P_1IatwtK11TtRK9s22YREfpk6Gz2AYaeuQYxodPTJYptkOmJ9TujQ> <xmx:QP1IapRdskUVj89uhXOvsNMg9Dpf3NRIFOcJPrnvQg_yWDJHz_djpvYe> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 4 Jul 2026 08:31:59 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 0DC237E7C3C; Sat, 04 Jul 2026 13:31:58 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvik6v9946.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> <87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost> <jwvik6v9946.fsf-monnier+emacs@HIDDEN> Date: Sat, 04 Jul 2026 13:31:58 +0100 Message-ID: <878q7rvsu9.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [03/Jul 3:28pm -04] wrote: >> fill-region-as-paragraph is an interactive function. >> It is very strange for me that calling it interactively requires the >> user to select region within a single paragraph and nothing >> else. > > I think even the above statement is the result of a misunderstanding: > the region passed to `fill-region-as-paragraph` can be *anything*. > It should just correspond to what the user wants to treat as > a single paragraph. IOW, it's used specifically when the "builtin" > notion of paragraph doesn't match what the user needs. Exactly. >> Especially "regardless what ... human brain looking at this may think". >> If Emacs command is counter-intuitive, what kind of command is it? > > What behavior would you find more intuitive? > IOW, how would you change its behavior to make it more intuitive? > > AFAIK, it's fairly unusual to call `fill-region-as-paragraph` > interactively, comparing to uses of `fill-region` or `fill-paragraph`. I think users who know of it probably use it a fair bit (I have a global binding for it and felt its lack for a long time before discovering it). -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 3 Jul 2026 21:25:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 03 17:25:46 2026
Received: from localhost ([127.0.0.1]:53560 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wflOK-00070J-8O
for submit <at> debbugs.gnu.org; Fri, 03 Jul 2026 17:25:46 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:23699)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
id 1wflOG-0006yx-5e
for 81038 <at> debbugs.gnu.org; Fri, 03 Jul 2026 17:25:41 -0400
Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3323C1000DF;
Fri, 03 Jul 2026 17:25:34 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
s=mail; t=1783113933;
bh=3n8I8Kh3FPDq0kw7xGdkFRG+Bnr1KY6+gIeNOZkhmMc=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
b=E1acrOWhitT02PsT4d1jlSgNZR1kQSWZ1sqtscUQtqQDGNYc6cOWuQIvavi7ub/cL
dyUSzL5Jtxk7v83i+7rktqUB0d4TMsLGEt8CAlVhbyb3XGc53ieOIJweGZUNE7RdKy
4xmPdUx4QW2uxED1hgWBa/THLCIke3p2yamPBA32VW2MmZsPm6Ubwwg/H772x6nQis
5nX+mPaiLCPpz/1IdH3aM9y+njPXIRFgbt/7ahGAZ9Jjy9kfTSWssFNYisx2/qKkiB
l9ymG9y1G1uPocHZv1ylVLyDNtv2uqgwhxJL752kjP4susuV4z7jh9P573O6w4HliO
riA9oawujYhow==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 384351000BB;
Fri, 03 Jul 2026 17:25:33 -0400 (EDT)
Received: from pastel (unknown [104.247.237.64])
by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id F193E120282;
Fri, 3 Jul 2026 17:25:32 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <87jyrbrhmh.fsf@localhost>
Message-ID: <jwvtsqfu62z.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost>
<jwva4shw3od.fsf-monnier+emacs@HIDDEN>
<87cxx94db4.fsf@HIDDEN>
<jwvy0fxcf56.fsf-monnier+emacs@HIDDEN>
<8733y44298.fsf@HIDDEN>
<jwvzf0bydxb.fsf-monnier+emacs@HIDDEN>
<87tsqjj5k4.fsf@HIDDEN>
<jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN>
<87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost>
<jwvik6v9946.fsf-monnier+emacs@HIDDEN> <87jyrbrhmh.fsf@localhost>
Date: Fri, 03 Jul 2026 17:25:30 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results: 0
ALL_TRUSTED -1 Passed through trusted hosts only via SMTP
AWL 0.079 Adjusted score from AWL reputation of From: address
BAYES_00 -1.9 Bayes spam probability is 0 to 1%
DKIM_SIGNED 0.1 Message has a DKIM or DK signature,
not necessarily valid
DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
domain
DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
domain
X-SPAM-LEVEL:
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
>>> fill-region-as-paragraph is an interactive function.
>>> It is very strange for me that calling it interactively requires the
>>> user to select region within a single paragraph and nothing
>>> else.
>> I think even the above statement is the result of a misunderstanding:
>> the region passed to `fill-region-as-paragraph` can be *anything*.
>> It should just correspond to what the user wants to treat as
>> a single paragraph. IOW, it's used specifically when the "builtin"
>> notion of paragraph doesn't match what the user needs.
>
> But earlier you said that
>
> "it's the responsibility of the caller to make sure the region is indeed a fillable paragraph"
>
> Either these two statements contradict each other or I am missing something.
By "make sure the region is indeed a fillable paragraph" I meant that
it's the responsibility of the callers to make sure that *they* consider
it as a fillable paragraph.
>> What behavior would you find more intuitive?
>> IOW, how would you change its behavior to make it more intuitive?
> Given that I do not quite understand the intended API and behavior, I
> have no clue what would be more intuitive. I just don't understand the
> current design well enough.
I don't know how else to describe it... OK, here's another try.
The basic behavior of `fill-region-as-paragraph` is roughly:
(subst-char-in-region BEG END ?\n ?\s)
(goto-char BEG)
(while (progn (forward-char fill-column)
(< (point) END))
(insert "\n"))
Except it makes sure to insert the space only at appropriate places,
counts columns instead of chars, takes care of `fill-prefix`, compacts
sequences of whitespace into a single space, etc...
Does that make sense?
=== Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 3 Jul 2026 19:36:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 03 15:36:09 2026 Received: from localhost ([127.0.0.1]:53349 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wfjgE-0007eG-0q for submit <at> debbugs.gnu.org; Fri, 03 Jul 2026 15:36:09 -0400 Received: from mout02.posteo.de ([185.67.36.66]:34059) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wfjg7-0007cL-6C for 81038 <at> debbugs.gnu.org; Fri, 03 Jul 2026 15:36:03 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id BE25C240101 for <81038 <at> debbugs.gnu.org>; Fri, 3 Jul 2026 21:35:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=1984.8680eb; t=1783107352; bh=3U/BUV8ut+Yis8EpzxY2Dj3uP9Pia5kRkP9qO3CeKUs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=VU8CgFfHRjz1hNG4VGDt4aWVhGuIGiuK05AZZ+dT9dUeNUhslRvHEX2pozwv5MC9e KjNCYOAPvY28JBymfPpPkFO6FpSmoxKfRf2gf5IbUepAFVxAT1VOxu0JS2jrVeHifQ vCMiteHeLnW7wN/WGCG14LXPcKHbKDerJ0qVC3Gau9jcbFBZ9yD9c9UtvrKw5VeeKU Og4R0wSCIcJ75oIi/YL0lQnwC2DY3MAzqybdvEdidNLYMVgWgeNRUj4wpNsdsSfOnW E70Rb8DgF9D3oB4iFz0W/G/MvMyRKB/y2gAotBfCpzgLYJ9sriAUSicUTmCbPR3H4o PIhtOcWUbhy2Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gsP9z4YRWz6twR; Fri, 3 Jul 2026 21:35:51 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvik6v9946.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> <87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost> <jwvik6v9946.fsf-monnier+emacs@HIDDEN> Date: Fri, 03 Jul 2026 19:35:52 +0000 Message-ID: <87jyrbrhmh.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >> fill-region-as-paragraph is an interactive function. >> It is very strange for me that calling it interactively requires the >> user to select region within a single paragraph and nothing >> else. > > I think even the above statement is the result of a misunderstanding: > the region passed to `fill-region-as-paragraph` can be *anything*. > It should just correspond to what the user wants to treat as > a single paragraph. IOW, it's used specifically when the "builtin" > notion of paragraph doesn't match what the user needs. But earlier you said that "it's the responsibility of the caller to make sure the region is indeed a fillable paragraph" Either these two statements contradict each other or I am missing something. >> Especially "regardless what ... human brain looking at this may think". >> If Emacs command is counter-intuitive, what kind of command is it? > > What behavior would you find more intuitive? > IOW, how would you change its behavior to make it more intuitive? Given that I do not quite understand the intended API and behavior, I have no clue what would be more intuitive. I just don't understand the current design well enough. >> (defun fill-region-as-paragraph-semlf (from to &optional justify >> nosqueeze squeeze-after) >> "Fill the region using semantic linefeeds as if it were a single paragraph. >> This command removes any paragraph breaks in the region and extra >> newlines at the end, and fills lines within the region. > > I can't see anywhere here where it says it "might be called on multiple > paragraphs". Maybe you're referring to the last two lines, Yes. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 3 Jul 2026 19:28:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 03 15:28:51 2026
Received: from localhost ([127.0.0.1]:53333 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wfjZ9-0006Vg-4M
for submit <at> debbugs.gnu.org; Fri, 03 Jul 2026 15:28:50 -0400
Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20407)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <monnier@HIDDEN>)
id 1wfjZ3-0006UR-EV
for 81038 <at> debbugs.gnu.org; Fri, 03 Jul 2026 15:28:44 -0400
Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 80B1980872;
Fri, 03 Jul 2026 15:28:35 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca;
s=mail; t=1783106914;
bh=vKaLUXK+W1i/xleV/bHuG3Xlt+B0/J96mEYntEtNDr4=;
h=From:To:Cc:Subject:In-Reply-To:References:Date:From;
b=CBoXPsFb/SkqSrCOWg4fCcLDtDzoOvEO+P4pf2MbtlvmVJ+9a7HECu5gC2NWa2TUj
B1sKwBPOmos2NYwSdQSqM7MdFJhhrktCK8vOEWncLJVlQH+xUorvUnswjPrAJltGPJ
NTh2DT7spkmKCmc90fVYDqNNJ7t5YQVQpMUg7C53kWfVFSPcdMFxQLWxDQq0ru/9j6
213Vwcxahz+0S0CeSwWaNN4OFR40g2YqyjT7EJR+fRp4WG+dIJ5x6QBLXiSsetqAGy
macetUaJ8yuXdx0C+CO0VztERzCppjFKS9x4LmTy2ZksrqNypWMUgHM72uVkhoedBf
UEn1MAFWtIcwA==
Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1])
by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id B9FD3800F6;
Fri, 03 Jul 2026 15:28:34 -0400 (EDT)
Received: from alfajor (unknown [192.197.121.23])
by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A1BA4120234;
Fri, 3 Jul 2026 15:28:34 -0400 (EDT)
From: Stefan Monnier <monnier@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <87se5zrjfa.fsf@localhost>
Message-ID: <jwvik6v9946.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN> <87se6giiy9.fsf@localhost>
<86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost>
<jwva4shw3od.fsf-monnier+emacs@HIDDEN>
<87cxx94db4.fsf@HIDDEN>
<jwvy0fxcf56.fsf-monnier+emacs@HIDDEN>
<8733y44298.fsf@HIDDEN>
<jwvzf0bydxb.fsf-monnier+emacs@HIDDEN>
<87tsqjj5k4.fsf@HIDDEN>
<jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN>
<87echlzqg0.fsf@HIDDEN> <87se5zrjfa.fsf@localhost>
Date: Fri, 03 Jul 2026 15:28:26 -0400
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-SPAM-INFO: Spam detection results: 0
ALL_TRUSTED -1 Passed through trusted hosts only via SMTP
AWL 0.031 Adjusted score from AWL reputation of From: address
BAYES_00 -1.9 Bayes spam probability is 0 to 1%
DKIM_SIGNED 0.1 Message has a DKIM or DK signature,
not necessarily valid
DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
domain
DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
domain
X-SPAM-LEVEL:
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> fill-region-as-paragraph is an interactive function.
> It is very strange for me that calling it interactively requires the
> user to select region within a single paragraph and nothing
> else.
I think even the above statement is the result of a misunderstanding:
the region passed to `fill-region-as-paragraph` can be *anything*.
It should just correspond to what the user wants to treat as
a single paragraph. IOW, it's used specifically when the "builtin"
notion of paragraph doesn't match what the user needs.
> Especially "regardless what ... human brain looking at this may think".
> If Emacs command is counter-intuitive, what kind of command is it?
What behavior would you find more intuitive?
IOW, how would you change its behavior to make it more intuitive?
AFAIK, it's fairly unusual to call `fill-region-as-paragraph`
interactively, comparing to uses of `fill-region` or `fill-paragraph`.
> The fact that fill-region-as-paragraph-semlf explicitly says that is
> might be called on multiple paragraphs does not help either.
>
> (defun fill-region-as-paragraph-semlf (from to &optional justify
> nosqueeze squeeze-after)
> "Fill the region using semantic linefeeds as if it were a single paragraph.
> This command removes any paragraph breaks in the region and extra
> newlines at the end, and fills lines within the region.
I can't see anywhere here where it says it "might be called on multiple
paragraphs". Maybe you're referring to the last two lines, which are
just copied over from
(defun fill-region-as-paragraph-default (from to &optional justify
nosqueeze squeeze-after)
"Fill the region FROM ... TO as one paragraph.
It removes any paragraph breaks in the region and extra newlines at the end,
indents and fills lines between the margins given by the
`current-left-margin' and `current-fill-column' functions.
[...]
I don't know exactly why those lines are there in
`fill-region-as-paragraph-default`, but I agree they're misleading
and I'd remove them (it's just newlines that are removed: non-empty lines
that match `paragraph-separator` aren't removed, AFAIK).
=== Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 3 Jul 2026 18:57:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jul 03 14:57:18 2026
Received: from localhost ([127.0.0.1]:53130 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wfj4b-0002SD-Fy
for submit <at> debbugs.gnu.org; Fri, 03 Jul 2026 14:57:17 -0400
Received: from mout02.posteo.de ([185.67.36.66]:49541)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1wfj4U-0002Qo-BB
for 81038 <at> debbugs.gnu.org; Fri, 03 Jul 2026 14:57:10 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id 77C77240101
for <81038 <at> debbugs.gnu.org>; Fri, 3 Jul 2026 20:56:59 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net;
s=1984.8680eb; t=1783105019;
bh=vloXsiPEpGRyHz23Ofe+54khwPv9AMktAxHTJAz96j4=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=JYx1wWRUORGt2ONo/ipnp2Z9uWISq+cebFxmI06+qyWtRY5V8k2z43jNAayfZs12z
H5v4HPyp4X8yS20vbmnh7QJK/7Q2ZYGaIutVZ6yCQNt/Vc/B5HjzMdH1klqUAjCA9U
IuxRoX13JyXQiRHV5gVwhXzGHAu3EYsuRxAsxdoSxfYuvuzyjiyl9rmhQ9FqTydZLn
PCgoo1b9NcQkSf6Njy/3tMnhxWsCdffbn1z1Cxq8g2Ey9TS7gVwF4lhp5yTvqQZsjf
rOj70YuXlSvknc3kHTN5qa9nHx8NGpJ3s1PnHfXl9ShCIJFz4E5efmGPiLZBGMx11b
PayE9J/qkI2Dg==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4gsNK62XK0z9rxF;
Fri, 3 Jul 2026 20:56:58 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Sean Whitton <spwhitton@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <87echlzqg0.fsf@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN> <86mrwocwzs.fsf@HIDDEN>
<87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN>
<jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost>
<jwva4shw3od.fsf-monnier+emacs@HIDDEN>
<87cxx94db4.fsf@HIDDEN>
<jwvy0fxcf56.fsf-monnier+emacs@HIDDEN>
<8733y44298.fsf@HIDDEN>
<jwvzf0bydxb.fsf-monnier+emacs@HIDDEN>
<87tsqjj5k4.fsf@HIDDEN>
<jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN>
<87echlzqg0.fsf@HIDDEN>
Date: Fri, 03 Jul 2026 18:56:59 +0000
Message-ID: <87se5zrjfa.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Stefan Monnier <monnier@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Sean Whitton <spwhitton@HIDDEN> writes:
> Stefan Monnier [01/Jul 8:08am -04] wrote:
>>> You say that it's the responsibility of the caller to make sure the
>>> region is indeed a fillable paragraph but in the case I described it's
>>> two paragraphs.
>>
>> What is a paragraph? How do you define it? You seem to presume that
>> there is already some known notion of what is a paragraph, but that's
>> not the case.
>>
>> The moment you pass that region to `fill-region-as-paragraph` you're
>> stating that it is one paragraph. Regardless of what your human brain
>> looking at this text may think.
>
> Right. Then we agree (as you said) and I'm not sure what Ihor thinks
> it's meant to mean.
fill-region-as-paragraph is an interactive function.
It is very strange for me that calling it interactively requires the
user to select region within a single paragraph and nothing
else. Especially "regardless what ... human brain looking at this may think".
If Emacs command is counter-intuitive, what kind of command is it?
The fact that fill-region-as-paragraph-semlf explicitly says that is
might be called on multiple paragraphs does not help either.
(defun fill-region-as-paragraph-semlf (from to &optional justify
nosqueeze squeeze-after)
"Fill the region using semantic linefeeds as if it were a single paragraph.
This command removes any paragraph breaks in the region and extra
newlines at the end, and fills lines within the region.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 2 Jul 2026 09:33:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jul 02 05:33:28 2026 Received: from localhost ([127.0.0.1]:40072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wfDnU-0002vn-B6 for submit <at> debbugs.gnu.org; Thu, 02 Jul 2026 05:33:28 -0400 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:34939) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wfDnT-0002vT-0G for 81038 <at> debbugs.gnu.org; Thu, 02 Jul 2026 05:33:27 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id 50F277A00E1; Thu, 2 Jul 2026 05:33:21 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Thu, 02 Jul 2026 05:33:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782984801; x= 1783071201; bh=3lWKCr7rgNH1wS3FyIUDGvnTVTRASoBlLJMn3Hyab10=; b=D R9LAmdhcYAmgrLpowTPOTKaz5ixQm0rmfAMnyrVdiqREVhLSzt/7qRNnvxAi0AtY OONmnC5+WW6ZxRkjodxaUxcjbw8+lYtgFnnH18uTVO0cbQkSKEVZrw+ELrqTkDJU U8RBCXUdG2A26cKQ096l2qnRO2CgSNkYxGh2FBXsYo4Q4YW/g9EV0m4mo/F9uvS6 oNOgzPIOrWpE9O0sp8nXpRxxX9VJD3YPJJKSDu8jqAWoh6mwLQe9Nr/sOGRQDgO6 uA/V1Lw3gqXvzuDGV98mC1UUSHoij8X6fQfLBxP+AP/xQ4Uux0jzgPjVUEKvWmhu nRAKsZdkueFGLOJsVstcA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1782984801; x=1783071201; bh=3lWKCr7rgNH1wS3FyIUDGvnTVTRASoBlLJM n3Hyab10=; b=i9OfnQGDDhlGlD0WEOmkQlXRroWZg4U52nKwH68lTI2X36FKYWB S10g1qkW53Rg5E0bjI4zA8AOF6jtWIwRtXLj/YmS5bbj7oR7Y8ZpbMWTnKhYO+Vv 0qU+ULK69g+jk3p0EejFpLN2ThoU4OVW/AcEh78tLhgTcYlfJjBcbrAB4BT8ndsY uOQj1FQrci8+dL15FuZd46bHDMwx+aldUpfukYcWzNwuipuGrtcsPuUYYU6qe2RP b/4LDser7EREQZZe+Dl2Soddu2nJ0GkB2lSyq3tGirgUYB4X6uOIYvkmUyPtwMgL Nrp8fBv7woOdjDDXOhtHvf/G/NmW3wdbJxQ== X-ME-Sender: <xms:YDBGanIpZix5xdxToK84_41LLUJsdKTxcNYzLoOOVnV3rFlxIFUs1g> <xme:YDBGakeBwaWetjoKYtxxYYPq6nyGDXNv-nLniFbibfcloImVA-IzrWEj0k-xs9gwU gg7qqZTGazOQEJK1yeBfcGwXxkqAn1yR11u-IFFd1ZmXQzW_W64rTc> X-ME-Received: <xmr:YDBGam-kc5MBywas2UVGrPnyfmcjGB7Ksz90HdXGAuK1UGJo56AMTiiAaFgwgGH1FL5ITG9Bo2i4> X-ME-Proxy-Cause: dmFkZTESGFrUOaP+vARggocbEaEsoYovtscsHbgFgjmbEaN9lq/3HxgOjgyf0NL/GtoyAZ /Fbsqy62BszzyfGTGD+ugJgjVlyFOSpzTYOkTI9u2KkAbGzvvmhCBxNz6ISo+Voi6j140B FhkC2T5jwdSNz9FwXYmltsK5nPz96FDSsd/+mQ9Lb4D4EfehFxyn9Rti3j6KDwAWOgcJIg J3NduxPMNwSX78O8XQzUHj2HB4R9zvWpjyLtSUIV9ovuPsP7f3Gv7hnCjmZmvAWjEB1T9G dt0aXCXdZNJII66JeBrXcw5uzFhZjioyKDwxFkV4IUZLzwCZnKzexr6ywV54PtgW6m+BgW fbpN0HZcUO94DPciaQ1FkBcFuwBkMPBJuR8wLqpm/mbSHSlRcGMFqBhUB1LZ30ssQoK8U+ kOvnE2ZVjpiwa00guY7D+gOKmKoKVVnltrLEJ7d/An6JbmQrcgXZVIluxE6WceAJr7X7dy KjoP9H2XWFK5hY99XGNAeoU2sGulWeXp6Eq+oNtNK20LLVrGrdrSZykeOl6bxDUVkCHW+u a4gr7YaMDG3EHKzhpV/D8IFtmE/IUalxbdRzJUHGNPeHX7mMWJthj0lmt77h/U0qoeA+xw KPcQd3TfWt4OrPyL9DWGFnKAYidXCX5KHMzjdOQ4shs/VdBakcNqhlX2aYTw X-ME-Proxy: <xmx:YDBGahrcfBUonntef-H96ihE5JmmWDruhInuTrn21e-KJtFXVfNZtg> <xmx:YDBGarCJ6dVpWst_P_p48WQBYBOhhuc0vFw_28ouoasP_nOc03xMHg> <xmx:YDBGajzEMXOR8IsgZmj1-cmALStcKZhesTIGGpZTPUxiKbx_joi30g> <xmx:YDBGao1REp26rSkEG9syurXsDMHA-AtVeWagzNoehymNEO465Ln2Kg> <xmx:YTBGagX11MOPXtUiL959Ef9OWB3bDyewANkStekFIMo1aDVkCCV1MrXK> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 2 Jul 2026 05:33:20 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id A9F157E76DE; Thu, 02 Jul 2026 10:33:19 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> Date: Thu, 02 Jul 2026 10:33:19 +0100 Message-ID: <87echlzqg0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [01/Jul 8:08am -04] wrote: >> You say that it's the responsibility of the caller to make sure the >> region is indeed a fillable paragraph but in the case I described it's >> two paragraphs. > > What is a paragraph? How do you define it? You seem to presume that > there is already some known notion of what is a paragraph, but that's > not the case. > > The moment you pass that region to `fill-region-as-paragraph` you're > stating that it is one paragraph. Regardless of what your human brain > looking at this text may think. Right. Then we agree (as you said) and I'm not sure what Ihor thinks it's meant to mean. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 1 Jul 2026 12:08:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 01 08:08:21 2026 Received: from localhost ([127.0.0.1]:59147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wetjn-0008V8-I4 for submit <at> debbugs.gnu.org; Wed, 01 Jul 2026 08:08:21 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:59826) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wetjk-0008U0-AM for 81038 <at> debbugs.gnu.org; Wed, 01 Jul 2026 08:08:17 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 488241000B0; Wed, 01 Jul 2026 08:08:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782907689; bh=VKSHpzO1YxQ4CamFuv7fQQUlOlpbkbw1ZY8kLYGaNac=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XSmYhvuE7RfXpZv7jAyKJMwwRIOitmVfpVe7qx7+1HHci6OuRepopruIjsE7JLVaB bGzYGPqMif4102TLiJp1GPjTU+nSKtB7WJY2/E9EOBgi3zpfQVpP4K66p7b/4WiLIF DulKfaFtUc3Emr5RjNhNzXyL5JYj8tFkiPMAOACSoYpxsBCSb10T2gJvwir/jvOeix rKb9ol50bf0CLojAWAM6ww41NGqdJKTN/+1Sen8zLinK2tyKmbYu/r9mxYB/tMmu9J a/KJqFfp3+YcQYHBHdyi6Bm0VMz4MvEWNlHCOYr2F6qNG0gmo+tCfFpiGVGKpXHHyy shSqQ5laVr+Zg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 47A61100070; Wed, 01 Jul 2026 08:08:09 -0400 (EDT) Received: from alfajor (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0334F12034F; Wed, 1 Jul 2026 08:08:08 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87tsqjj5k4.fsf@HIDDEN> Message-ID: <jwvy0fu9ap1.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> <87tsqjj5k4.fsf@HIDDEN> Date: Wed, 01 Jul 2026 08:08:09 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.072 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > You say that it's the responsibility of the caller to make sure the > region is indeed a fillable paragraph but in the case I described it's > two paragraphs. What is a paragraph? How do you define it? You seem to presume that there is already some known notion of what is a paragraph, but that's not the case. The moment you pass that region to `fill-region-as-paragraph` you're stating that it is one paragraph. Regardless of what your human brain looking at this text may think. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 1 Jul 2026 11:46:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 01 07:46:45 2026 Received: from localhost ([127.0.0.1]:58933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wetOv-0003AZ-AE for submit <at> debbugs.gnu.org; Wed, 01 Jul 2026 07:46:45 -0400 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:40945) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wetOs-0003AG-Oa for 81038 <at> debbugs.gnu.org; Wed, 01 Jul 2026 07:46:43 -0400 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 13CA914000E9; Wed, 1 Jul 2026 07:46:37 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Wed, 01 Jul 2026 07:46:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782906397; x= 1782992797; bh=LQUuCl0MyVi7ICNbzAhjKSxkLaelrhzjwAnGqbCl2wQ=; b=j N36Nvgjboz3Z4WTcaoOrrKwXr9MX+DksfQs1jGm+8J09vsHp+48vq0zZuIzNPHs3 fiqVz4HkAil6CUCh0g/ChUmwFmMLLZbYHpNt3bytguTgSIGdxUc64nTFgr1+6qUZ wSsSr+Eou4WHZzsydvnfbSwxPRc5EPvD/ATN4QsP8oAP6I24/JSV10GGK4RTjIRt hhDbiYvL2ZELmGfXIZcsU/iN2NdNw3UMG6bTf/ONkIn/49tx3JjauG4WwbdeOsoo PC+ZfnX/A61CYwGEnzirkcg46CtxYon26JrpzjWyeHRWk/5PBi7dGsErwBkKTURP ACZNQUi9eRCr0edfdQxlw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782906397; x=1782992797; bh=LQUuCl0MyVi7ICNbzAhjKSxkLaelrhzjwAn GqbCl2wQ=; b=bG1ETgZMk5Cd+1B9bYFGhk0PwAE/U/KV5jxwW9Q/ukfA0k/9Df1 cph2wHOL5i4IIijHCMfU2WNBYEfTFOYOUCMbII68n/Q8620++pFeYzIdmNwrNuIg 9gXF6MisvamvusN7bWY+Dt7YjWBd9MhIWErhURlUxueJNASwE9vPDw2eY4RM/uQV CmN9pxMbkHVczVRm40+0g6uhofm7K/b7b/b9DQiYb2jNvBV7/FUFaG0cvb40ecnO AlZUICP+K8P6I+VA+KnjE0j4j2/GmUJK9Ce+pb6ZRlhdKadlk3uQi3p6W2X7dYnU TvaoBVtHv9fc/n9gghl/ht6+dwRJL7U+Crg== X-ME-Sender: <xms:HP5EatDg0MSpVKC-LjPUcwziNc5znBps7L02YJkIfYTBUAjeanHzDw> <xme:HP5Eak0ImPpbUsDkCUY-QrZnjIph7j-74DyHcpOVdhg4pezrC8SRbA9Ys9os3pFKr 6gguIIA96Fe9RqmDAi8JOtY7BM1JjnjjQ2uxvhg_h0IXVNFvGdVHR0> X-ME-Received: <xmr:HP5Eav2Foh0QJLxTWqpmD7xelUreHIReQBW4h5N6WsmwMkhGWdRuBoSzPOXQlqZZk_TEMlcGkkT3> X-ME-Proxy-Cause: dmFkZTFQ+JGbZRVP3OP+uNzYsscfm217Zh0J9mys4y+R4PnVGd6CC4wC3121OV+tjxl3ji eOwLB5LtAfMf7AzPwmDoC6O0JicjwAHA9gnEb3uZALoQ6r3U6p18V7jtGVIwNBA258RiR7 Ms89N/YoYaTriIOIVYpbFsvCll1srg3YGqg/NhhCPRbLYrotBffKxBQwmAMy5v2m2A5pW0 N3zJ0vQICaTqcDfCqBXHIoaW71gtGY8ckBfVAmwrDKgV+Z1uP09L2BcAhU/NKA7CwxPDcj /XEQauzH7jLx05ntyXibQuTAcrx2NFRwvr8c9OHNKD2QnNL0sVlIGOUx7Poejy+2Wwagpf 3PKLVBawVJpJeelhfowBcqt7pcIzyL2/MPiz+wIv44zNL1q7xzwhgePKetItf/WookThcg czXAREQmU/UhD/P0pvffB8kcyrfb69ZDhchCggqrL3pA3QBsAMqcdtSnKWMceDvYtBEqO0 ybzQnoIQZjrcDf0k59ZVvDWd57ZPEmR0ozcs6K7YZvNUpmlE+9t8OL0Jy520BxfI5TE23V dWJqqQNpXcWu1tvUBUq1m0/0fzLfMqH/NGpHanF2ZELLbVvcsM1d0Jha1xnKLMuNV+alxr 54OKB6k1genNVzELOrJlqLXxMql4ZZvG1GkYd3qfKz/n1pbKKddjejcqgXcg X-ME-Proxy: <xmx:HP5EapB5AB11btxmJFuq7sKoQl907Gu2FRjxivyZpk3F2Y9ycBmPpQ> <xmx:HP5Eau6YM8X3iafqjZsVcX7SAwho0gwTQc3TgSr0stWibmpb4sZ6VQ> <xmx:HP5EaqL1k7CecasfIygOWlWICWatCF3iCpHaUDBa4V-FX5LQnnZSYg> <xmx:HP5Eavv9SvZpz_d2XYTvZ6TZv9N-mlMpJzWjC9Q7fV8z4_gU5dsz1g> <xmx:Hf5EavPF54WJ-AgzZlhuTOm4a-uA1fTrI8oq5NZgw-UsuWuu2XkXiQ2d> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 1 Jul 2026 07:46:36 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 380437E8C2E; Wed, 01 Jul 2026 12:46:35 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> Date: Wed, 01 Jul 2026 12:46:35 +0100 Message-ID: <87tsqjj5k4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [30/Jun 4:25pm -04] wrote: > Then I don't know what you meant by "I'd been interpreting that more > along Ihor's lines". Well: Sean Whitton [29/Jun 3:43pm +01] wrote: > Stefan Monnier [26/Jun 2:48pm -04] wrote: >>>> Not all regions make sense, indeed. It's the responsibility of the >>>> caller of `fill-region-as-paragraph` to make sure the region is indeed >>>> "a (fillable) paragraph". Usually this is done by calling >>>> `fill-forward-paragraph` to determine the bounds of the region. >>> >>> Is it? The docstring says >>> >>> "Fill the region as if it were a single paragraph. >>> >>> It never hints that the region SHOULD be a single paragraph. >> >> From where I stand, "as if it were a single paragraph" is saying exactly that. You say that it's the responsibility of the caller to make sure the region is indeed a fillable paragraph but in the case I described it's two paragraphs. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 30 Jun 2026 20:25:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 30 16:25:19 2026 Received: from localhost ([127.0.0.1]:54244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wef1D-0002GO-4O for submit <at> debbugs.gnu.org; Tue, 30 Jun 2026 16:25:19 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:51330) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wef1B-0002Fu-91 for 81038 <at> debbugs.gnu.org; Tue, 30 Jun 2026 16:25:17 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 3137E100235; Tue, 30 Jun 2026 16:25:11 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782851110; bh=9txefFImUPn/sRGUszHk0mg8Ts8F4N9mgPeJwHlmHMs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=kxnVe7kjCfa29/FXTu5B0AKslyij7rPxkdwnkKWKMtc6+zwuGtrzn3+DCAk4UFRWa lTcb7/KzqOnFTt56l6DQIOKGPb31VBbSmYhlOOlqyPOTVS0jakCiH75Y77/R2Jc0bS 0rshDdfQAVHzQpIhFP40SWjteUoN7+Ajc3Yzr3hIE+/srY3mjP4DLB5jasbFlkWTh4 2AZtAT+t+lQg3r2ETz1gNRZSPzH0O6z8MhJg2pAfAxN0lYu5G1hYbtryH5YDmHS58n mi0Us8f7bM2UUhUnef7KJQq/EPaQwP9WcjUXyituSVaw/1OckOEY5/7cAP+tMBfoW/ MyGFed9ZWk89A== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 4400A1000AE; Tue, 30 Jun 2026 16:25:10 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 007C71201C8; Tue, 30 Jun 2026 16:25:09 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <8733y44298.fsf@HIDDEN> Message-ID: <jwvzf0bydxb.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> <8733y44298.fsf@HIDDEN> Date: Tue, 30 Jun 2026 16:25:09 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.075 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >>>>>> Not all regions make sense, indeed. It's the responsibility of the >>>>>> caller of `fill-region-as-paragraph` to make sure the region is indeed >>>>>> "a (fillable) paragraph". Usually this is done by calling >>>>>> `fill-forward-paragraph` to determine the bounds of the region. >>>>> >>>>> Is it? The docstring says >>>>> >>>>> "Fill the region as if it were a single paragraph. >>>>> >>>>> It never hints that the region SHOULD be a single paragraph. >>>> >>>> From where I stand, "as if it were a single paragraph" is saying exactly that. >>> >>> I'd been interpreting that more along Ihor's lines, FWIW. >> >> Could you suggest a wording that you'd find more clear? > > If I have > > Paragraph one this is it. > > Paragraph two this is it. > > and I put point after "one" and mark after the second "this", the two > paragraphs > > this is it. > > Paragraph two this > > are joined into one paragraph. This is what I expect to happen and is > what I understand "as if [the region] were a single paragraph" to mean. Then I don't know what you meant by "I'd been interpreting that more along Ihor's lines". > Do you still think we disagree? No. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 30 Jun 2026 12:54:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 30 08:54:54 2026
Received: from localhost ([127.0.0.1]:50335 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1weXzK-0007V9-5d
for submit <at> debbugs.gnu.org; Tue, 30 Jun 2026 08:54:54 -0400
Received: from fout-b7-smtp.messagingengine.com ([202.12.124.150]:56327)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
id 1weXzH-0007Un-B2
for 81038 <at> debbugs.gnu.org; Tue, 30 Jun 2026 08:54:51 -0400
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46])
by mailfout.stl.internal (Postfix) with ESMTP id 531911D00099;
Tue, 30 Jun 2026 08:54:45 -0400 (EDT)
Received: from phl-frontend-04 ([10.202.2.163])
by phl-compute-06.internal (MEProxy); Tue, 30 Jun 2026 08:54:45 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
h=cc:cc:content-type:content-type:date:date:from:from
:in-reply-to:in-reply-to:message-id:mime-version:references
:reply-to:subject:subject:to:to; s=fm3; t=1782824085; x=
1782910485; bh=rPuuCRQk6LLtmLkAyxpFXf2SGoiBOKQtuQmif8qd2Dw=; b=a
WhacybdBNJFDSJdQe7G8XxxeFcWZNbv2r0+xDtpvLY4OFyUeu4xPU5zjLZ1Fv5QW
oACdj3bfPDvOdX2EuuBOYKvJlY9XL887P48L9ioB5myaR2R4LaUIKL3wbl23sBr8
jrggNiBzVp92Ej3aeKwjBeDFFVbZcaWhSjLlliNu7a/8YFCJDEEq+HUmjh0KoORl
zmT5/sbdE0Oc4wQyq81JvMxOkj8s56WUmGNtQo4o+1Wm4ZeI3NYo3/B6DEssxIKQ
sSPjODJptgEK/s1QQjpDQV9dTtK5ab9Ol3OAFw9dWQHj1JdemSGTEB5q1zB+Z+sI
U3EljvQVoeZKPvzLx0ABQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
messagingengine.com; h=cc:cc:content-type:content-type:date:date
:feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
:message-id:mime-version:references:reply-to:subject:subject:to
:to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
1782824085; x=1782910485; bh=rPuuCRQk6LLtmLkAyxpFXf2SGoiBOKQtuQm
if8qd2Dw=; b=JSSaRbnItPgS0x/Re3Ly2JtQq9kHhb8eFbMItyNtiY7iLueVvt2
aywMv1U3wcUFBPt6W2u8FNEnLtClH8+Xlei7DOWlNf47trI9scTajsxzCWh0vIdq
Tz3FA6gJWoO5LU6CerLg+G0UVYvwUDfO0yJQwkgZqs8yeFgDfc3DoBKWTICe0cG9
SVj82jlN8yyegqYBD5Kk/YbJs7tV4ZTThQCZGK1fR2JEQ6rS33JBwhfzdrLLgye8
Ncd1V2+P8fuI6PtHZcJtusfa0kviCdcGB/mAmbtxDEq2RoO4+DIJX4z0tYtBFNAg
4Bx8HMYHb1tvezg/ifuu1yuOJOOwQepaDBw==
X-ME-Sender: <xms:lLxDaqD57V8RceupHtJOr4Ef2v0gz9u-MbRHuBAeim6Tax0zSdRLQg>
<xme:lLxDat14BmoY-b11Pfl8HJidQyG3Am6enh73PsBJIq991u4hefZGfIFU4mRxQvVAD
QbZKzbpxMuO50PldygYS5mQRBJAikifVh0ujdkfdMgopIIZ95M62cM>
X-ME-Received: <xmr:lLxDak3TiW2gCbToDzKXwE02ek91G2KvZxQFjL5HC1XnWHknEdsuUPVf7GlSge6fZNHu9USLrA8z>
X-ME-Proxy-Cause: dmFkZTGCdIeu9yT2OeCwZMNnLzcUsNyN6IKgkREE4GUfO76bQn0aoylXT21pR8cEujmRLU
oeK8EOzmYZ331JLG052b3RwqhtdJw5RyPjyA375Srl26ymZB1G97NaOALG6mX5Aq2UPUKn
76atg1XuejA0UJ91tC7k34Nbxw0zq1VjWMqulsK2/rM8mI/0lBO9Xe30MHaXaxrc6TzM5T
q6jXePxSWHwxtC1gRs9EiM7pVt6KR0zMxjg9zkbEg5QqXjrxSIBSxo212UGQzvG8CMtLLf
1bRRBKR1BmS25Ibc0wyeahGamx9jPTQfospGPstbowA5jZtNymKhb8pXwBNIMD4eY1nIry
Q6MZ+d9eqPk8Ne02MJRSM51a3FRKRoMoqD3G/BBlB8rxTJlDgjVlmH/IO/lPEbK1mW3kUJ
g9yxs1VS3nZGIHaKgqlUy2arpWmxpNRa1A1/XydRh4o2sdsOlxwXTUGcikKOeBGAPAqY7P
U+mmzzBlcePuVTIkd/jEnR2p5n3uoXfcMLKq9gYIjReYpzDjK70bsABlx3NdLSpEL1pWzM
9suhsdHdRpetYYM6wrrm83HgfDay7Hd95/isOfqahA2X6+c/o6cfEXtdJdYGM/e0JOD1+P
flaVN0475ouUMKnOosLxCAwOjGgClqYyUb6TMXxAXJu5A/CULMWlFjZsQn4w
X-ME-Proxy: <xmx:lLxDaqBEspffMUKdz1IgT7eT2VBDYHnjeTXUfCH7HpL3wZLYdg-hiw>
<xmx:lLxDar5uF9J3TTZ6wwjPrKE9rVpH4Tbuje5y_-Yadt4K5BOltgWPow>
<xmx:lLxDajLfblve355KGbfPIzF6KcaFCbRbqWIW7nkpYeloCuZsQoCbyw>
<xmx:lLxDakvQF5Q7yB1z8a2aZQKzhw4XOcdV4KLKg8-EL98oRYk5YM_d3w>
<xmx:lbxDanExYl_vySqn5SwIswwJGRdJ6X-HbteMqhImwlBRpyi_L3UMiFUb>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue,
30 Jun 2026 08:54:44 -0400 (EDT)
Received: by melete.silentflame.com (Postfix, from userid 1000)
id C308B7E8931; Tue, 30 Jun 2026 13:54:43 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN>
<87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
<86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost>
<86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost>
<jwva4shw3od.fsf-monnier+emacs@HIDDEN>
<87cxx94db4.fsf@HIDDEN>
<jwvy0fxcf56.fsf-monnier+emacs@HIDDEN>
Date: Tue, 30 Jun 2026 13:54:43 +0100
Message-ID: <8733y44298.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>,
emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)
Stefan Monnier [29/Jun 3:37pm -04] wrote:
>>>>> Not all regions make sense, indeed. It's the responsibility of the
>>>>> caller of `fill-region-as-paragraph` to make sure the region is indeed
>>>>> "a (fillable) paragraph". Usually this is done by calling
>>>>> `fill-forward-paragraph` to determine the bounds of the region.
>>>>
>>>> Is it? The docstring says
>>>>
>>>> "Fill the region as if it were a single paragraph.
>>>>
>>>> It never hints that the region SHOULD be a single paragraph.
>>>
>>> From where I stand, "as if it were a single paragraph" is saying exactly that.
>>
>> I'd been interpreting that more along Ihor's lines, FWIW.
>
> Could you suggest a wording that you'd find more clear?
If I have
Paragraph one this is it.
Paragraph two this is it.
and I put point after "one" and mark after the second "this", the two
paragraphs
this is it.
Paragraph two this
are joined into one paragraph. This is what I expect to happen and is
what I understand "as if [the region] were a single paragraph" to mean.
Do you still think we disagree?
--
Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 29 Jun 2026 19:37:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 15:37:30 2026 Received: from localhost ([127.0.0.1]:44896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1weHnN-0004pC-4G for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 15:37:30 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:21479) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1weHnJ-0004o6-EP for 81038 <at> debbugs.gnu.org; Mon, 29 Jun 2026 15:37:26 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 138E1807E3; Mon, 29 Jun 2026 15:37:20 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782761839; bh=BM5jqzNACKh2kJuyPoVLjrf7eJCferR2m2/PhVBRB70=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=X3Nrum9C3oPalqm+j+CJzKqZOz6AKkqLIg5v0CTU6cFa2+7Pxt32zk0AP+QTEQfpT Yu05RIwzmwbZcSR75ELHS7+W5JM8/vR2uK22EsfWJ1p7O1KMXd2YZhBBZsOnHYiTaL Ytb69iEH7sMIaqAmVyIRUK5C3wYpSmOq90GTv2krEkDYx5dA29hkBuuYBCxWx8QWGC rq8myJkH3HTHhGRvUKguzGDcthLdB94fYMobOlEMQzjvb5Df19cBWRH0/T+XADUnZh 4kNVDLtS+N5+d+Yz02tFIDW9kmUMNoyFyQ+REi0xAlT2BAgScHVctz66k7eUiMEx09 B1KLOsN1mIBQA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3EEA08066C; Mon, 29 Jun 2026 15:37:19 -0400 (EDT) Received: from alfajor (ipagstaticip-5505c342-1c1d-1390-2071-58a76633f259.sdsl.bell.ca [69.159.242.2]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 22CC51206B4; Mon, 29 Jun 2026 15:37:19 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87cxx94db4.fsf@HIDDEN> Message-ID: <jwvy0fxcf56.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87cxx94db4.fsf@HIDDEN> Date: Mon, 29 Jun 2026 15:37:18 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >>>> Not all regions make sense, indeed. It's the responsibility of the >>>> caller of `fill-region-as-paragraph` to make sure the region is indeed >>>> "a (fillable) paragraph". Usually this is done by calling >>>> `fill-forward-paragraph` to determine the bounds of the region. >>> >>> Is it? The docstring says >>> >>> "Fill the region as if it were a single paragraph. >>> >>> It never hints that the region SHOULD be a single paragraph. >> >> From where I stand, "as if it were a single paragraph" is saying exactly that. > > I'd been interpreting that more along Ihor's lines, FWIW. Could you suggest a wording that you'd find more clear? === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 29 Jun 2026 14:44:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 29 10:44:00 2026 Received: from localhost ([127.0.0.1]:38567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1weDDJ-0002un-VW for submit <at> debbugs.gnu.org; Mon, 29 Jun 2026 10:44:00 -0400 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]:37161) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1weDDD-0002u1-K2 for 81038 <at> debbugs.gnu.org; Mon, 29 Jun 2026 10:43:53 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id CDEA17A0074; Mon, 29 Jun 2026 10:43:45 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-04.internal (MEProxy); Mon, 29 Jun 2026 10:43:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782744225; x= 1782830625; bh=EbjIUK4iUTanhIn0D3OOxNQQjE0S7bbc3DXU46m7+rs=; b=d K55HbW7RD14nkxqtP9DMqLIecuFSU910lh1DJorc6pgIXU9mL6BPGSijQR80rY8+ 7V31F/sIYh3zsxeJqkDqByMzb3BMQW3YkWynvH4l7b9BL73YmkSIcVFgnIwHF6gQ FAaLky4Pr3nr7c0tzQnElXvLcGOtpKmf9tV/FVcbvR/yD8z1+zaxwotTdNZ3nsD0 IqqGpjnpK7I4SPFd60T8iATv2nvY0UX0efFM5cv9emnbzjpg1zMfJdWlWJcuD8Uc UXc6PlRPA7p1sbnTeAAFM6rD8KGJ9ShIc2cbLSqOBQwYUExjg3ZuJX1QtqgWZjbB OYbVvNIVDF0Um474IwG6w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782744225; x=1782830625; bh=EbjIUK4iUTanhIn0D3OOxNQQjE0S7bbc3DX U46m7+rs=; b=a6TtY5t1tJOXJuUzxERC3RVCH6ImiXi2PBqmg3RJpU8UOAM8eiV QfnEP78w+t35hDcbXxilIam6JQ2txPi5LOYzv8Hx8XgTR1QI4FSDgnBlUglgR5bb 78qHDm0MA9CvaJPxw+ahDu0+5A8/BRsKjcaHplMvE50Z68OcdDu4cauQtUInakz/ X5XKKMooT+vVtp0CaqcojO9gunYvdJYK7igFZYmhGcZTs+tQ1L8bVzK5rQcXzrCc Igi4eFnBSVeACpjZbww/G9e2bNRnYeLFFgOHuwo1SQ/tCaPy9sfKIe2ayQUGv82f quvEOTNXa+94S6mrCuLPynArPfovaEkfEmg== X-ME-Sender: <xms:oYRCaqJvUhFQXuTEkzJ6bEAeOAF8XCpSUSGQ4xuwGaCDFNos6_uPsw> <xme:oYRCareDqrnAuYf8Cw0kxUK0YdutTB6tsiE_5sWzwsHuT-huO6v7mtWQ5x_D2w604 HbeSkSEUkTocHLb71yGnZaxw9lQNnSuQ5U9o7oZEsnQR5VfCTrmqGo> X-ME-Received: <xmr:oYRCah9OGsXBxHEmAAJ8K5ZrYWXVIaQH9tyhrljckcuHgNukPNvWdd0M-rFKXU_A5GCZStziJPfK> X-ME-Proxy-Cause: dmFkZTFMKsKt0o4+d17aqrmOwXVTaH0s4MQRNaHOr6YHim3gFa3sOppJKXvUKaYJ2rHYEu jswBM8JEnWjY0GACTaBjx6n/UpnUg/0gl2TG+N/YgY83wyp3jx0gGzjoQsHrys5W6wBB2W ZSsnuYKsnAKlz0TstZ/XRsbiqTkA7qzntxzTXD/t7fSzXewYu2UJMkq/U2gwOkq3ZQaq2B AyXYaU6db6v2hANDS4hFae1LYd14KKA4QbluxW81bAFzBJIyj7QMNUs79nggag5yYNm30o vV8vZ1/gzrBCCQLMN2bTl6GBuSAf0giE9hx6RrWZHrNdCBthiGcnevB3pjLqRNeJuJ+Qnk 344qUqCcvmkcInJ1FS5ilUywasO/LQhd7goxSQCJvsUYAcOXeIrukOs5hSZNAyx2VD4Cmg LwepYVyrBbDTU8Dtg8A82dsqTcKmLC/4GH90L104gQB9sr7G+wa9iC05XUw/j7sIM6Nz6R uWD21xji//lqCHYvFH7vOwdIJ7AzVmyAaU36bKQeaTQyiK2iJgXtTfDQIgttuFRIodJo2W 7bFvkt+j5qV7T1wnCGhRtUNLmBX88GOecbxfNgwFvjSBEkppeus+whwlgqYdzMV9dmvIT2 EjgEEdqLW1n8OiGLI98JnN1UyHgAKRMS+Vsb2+ByoIXMsHnVaw4BqhgYjP2Q X-ME-Proxy: <xmx:oYRCago8JwS0DlNkVRT1Sx7kTXSjc8lxhLB9x-07tTd9OYJNPutsLQ> <xmx:oYRCauAC5hcoU1q-tgnX8M0bsvOMtEFbc1Dz2UQW0Oj8WCSlQF72Cw> <xmx:oYRCaqx90riJgJuIJ0CaYqH2cu8bqFDQ24XWw8U_uUxTfk5rw8Dvzg> <xmx:oYRCaj3mW7wQNukfW3IbqKmShxUjTVsRl451ac_rrELcwILYvMF_2w> <xmx:oYRCarVd282Ql5gXAA4swegKBV1mJcIZAiNNOHaE5Aa7c3jwCKt1OWcr> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 29 Jun 2026 10:43:44 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 06C087E769E; Mon, 29 Jun 2026 15:43:44 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwva4shw3od.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> Date: Mon, 29 Jun 2026 15:43:43 +0100 Message-ID: <87cxx94db4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [26/Jun 2:48pm -04] wrote: >>> Not all regions make sense, indeed. It's the responsibility of the >>> caller of `fill-region-as-paragraph` to make sure the region is indeed >>> "a (fillable) paragraph". Usually this is done by calling >>> `fill-forward-paragraph` to determine the bounds of the region. >> >> Is it? The docstring says >> >> "Fill the region as if it were a single paragraph. >> >> It never hints that the region SHOULD be a single paragraph. > > From where I stand, "as if it were a single paragraph" is saying exactly that. I'd been interpreting that more along Ihor's lines, FWIW. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 27 Jun 2026 13:17:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 27 09:16:59 2026 Received: from localhost ([127.0.0.1]:51087 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wdSu1-0004jF-Bw for submit <at> debbugs.gnu.org; Sat, 27 Jun 2026 09:16:59 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:35361) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wdStx-0004ia-8z for 81038 <at> debbugs.gnu.org; Sat, 27 Jun 2026 09:16:54 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0D1A6440808; Sat, 27 Jun 2026 09:16:47 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782566206; bh=LlC89tpKX8eF297/veM1ga2Gc2nCYRUzYTHMkk/5NYA=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OwE5e2pPi7JPUdt0+8ToGt2WNbVKbNfNlw1oWViq9c36UlosG8Mblzs8UvgA6crlj yia0sqQF2ZS064xcOt6b0vqhsi8YTaW65rx5pChsgBMBWnMaF0DEySY1A3MyAbhav3 pEYhYW43isHkHrH8GS9RJF57bIn0zpaPgTrCPR6kbeXi+J+7Ziwzsz4E1EHYdeI3wR Mkblq1Ht2v1olFy603fNLTd9iGXc0+VoDETCRlg/jBYOPHrMRhEqzROFMMUyMwGDE4 tGE1xiC4KY0dYxBDYA29Gk9PFbjkvDIs5Sl/VWxzfPLwyLReFzDIWqEf1eTn8uQAAw AKFQAvSbQ7A7A== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 38933440C2E; Sat, 27 Jun 2026 09:16:46 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id EB685120AAB; Sat, 27 Jun 2026 09:16:45 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvpl1c2myn.fsf-monnier+emacs@HIDDEN> Message-ID: <jwvwlvk15vm.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87h5moctgj.fsf@localhost> <jwvpl1c2myn.fsf-monnier+emacs@HIDDEN> Date: Sat, 27 Jun 2026 09:16:45 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.128 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Good question. I suspect the current API doesn't currently support > that well. Hmm.. smells of the office of redundancy office. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 27 Jun 2026 12:26:12 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 27 08:26:11 2026 Received: from localhost ([127.0.0.1]:50804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wdS6q-0007nZ-66 for submit <at> debbugs.gnu.org; Sat, 27 Jun 2026 08:26:10 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:28194) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wdS6l-0007li-1U for 81038 <at> debbugs.gnu.org; Sat, 27 Jun 2026 08:26:05 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 56379440C50; Sat, 27 Jun 2026 08:25:57 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782563156; bh=+QEHiqJqE+u+jUsGHg4ruQleftvo+0XVKhcnths/vXQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WbhqNY1Y5uuEA9HvTTS5wRcN1hYoWT5nTDHeV3HPnLGC87gBmR9t11L3XIT8AAVmn 2bwNsg3MWA3esaaGOX0XMM4PNG+t0L+B+at+cJ0cGOOYLObEXP7Ye0cphpT7tsrgal DHwfGH1PjZ2088z29RMVpB8yyeoMwQwqW59FW3mOIBx6Bez11kWpWZTvRXgzSA8rhB 1fHaOVnlcDu9fy/twLTXBVInW8q6G5YhAZqAZ3H1VfYpLAIm9oJHHM6sW1kBns+WSi xrt7+7vwXG+r0Ka5J5M8TmcLGABjXELr6IIRHhnc9MBoH6Dd0Rg0x6BtkZ7HIuz429 NE7C2sBYIkAQA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 63787440C1A; Sat, 27 Jun 2026 08:25:56 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2509112046C; Sat, 27 Jun 2026 08:25:56 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87h5moctgj.fsf@localhost> Message-ID: <jwvpl1c2myn.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> <87h5moctgj.fsf@localhost> Date: Sat, 27 Jun 2026 08:25:55 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.146 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >>>> It doesn't help: it should *not* move to that place, since the `* >>>> Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph` >>>> should move to the end of a (fillable) paragraph. >>> Are you sure it is how it is designed to work? >>> I just tried a quick test making fill-forward-paragraph-function return >>> its argument - never fill anything. >> Why would you want to do that? In which sense is the region between >> point and point a fillable paragraph? > Because I have 0 idea how to indicate, via fill-forward-paragraph, that a > paragraph should not be filled. `fill-forward-paragraph` should stop at the beginning/end of fillable paragraph. So if a "paragraph" is not fillable, just make the function not stop at its end/beginning. > Consider a major mode that should disallow filling completely. > How should I go about writing fill-forward-paragraph function for such a > major mode? Good question. I suspect the current API doesn't currently support that well. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 27 Jun 2026 07:51:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 27 03:51:15 2026 Received: from localhost ([127.0.0.1]:49482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wdNop-00086n-Hl for submit <at> debbugs.gnu.org; Sat, 27 Jun 2026 03:51:15 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60779) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wdNon-00086Z-0r for 81038 <at> debbugs.gnu.org; Sat, 27 Jun 2026 03:51:13 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 9834D240028 for <81038 <at> debbugs.gnu.org>; Sat, 27 Jun 2026 09:51:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1782546666; bh=qW4b/sqMf7JeORKDX7qeZhyzDZwqsvU1s1W74a65ZPM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=ZiWJU1rDovc1xY3fXCssFIjgpFzfefOv6Ql0NuQOA1Q2oEQ6dR+FsMHZUgJdapGFN E0cHNju3dTdgzlQem2udMerxoJ4QxQrbALySmd2lmyvGuFyUo+h5nsFOfPARTYdV9J Hw0EqdAmEO3pAoRLD2yN2XLKSUgHfcExK5npjY0xJ1Mjx07Fv8SqoI4s3q/CMGDlZV wVmqvDtgziOSRXdmX6aX8B3jFNPJl6xAKs3xL1Ki1OINcmGLOUhqn1MbFLJsikIPnF nBJd9n3z0xHgFFLAdhlwO9xdYmToQy1HyhfTvq1PPM6e7HtHhIxXFK98btRYrmjb+9 ZxwBriXrOmlkQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gnPqY29tDz6tsg; Sat, 27 Jun 2026 09:51:05 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwva4shw3od.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> <jwva4shw3od.fsf-monnier+emacs@HIDDEN> Date: Sat, 27 Jun 2026 07:51:06 +0000 Message-ID: <87h5moctgj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >>> It doesn't help: it should *not* move to that place, since the `* >>> Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph` >>> should move to the end of a (fillable) paragraph. >> Are you sure it is how it is designed to work? >> I just tried a quick test making fill-forward-paragraph-function return >> its argument - never fill anything. > > Why would you want to do that? In which sense is the region between > point and point a fillable paragraph? Because I have 0 idea how to indicate, via fill-forward-paragraph, that a paragraph should not be filled. Consider a major mode that should disallow filling completely. How should I go about writing fill-forward-paragraph function for such a major mode? -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 27 Jun 2026 07:04:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 27 03:04:01 2026 Received: from localhost ([127.0.0.1]:49260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wdN56-0005cG-O9 for submit <at> debbugs.gnu.org; Sat, 27 Jun 2026 03:04:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46022) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wdN53-0005c0-Ka for 81038 <at> debbugs.gnu.org; Sat, 27 Jun 2026 03:03:58 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wdN4w-0002X5-PE; Sat, 27 Jun 2026 03:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=H0QZBCaWQzCmJFlKMGhAs9URwJW9H0Q0Tw6Du9e18tk=; b=ggj1+e09zuIa sli48HC6Au2f/0bzSWH+ctgIbRJIs9GTQcITxXve08HkldA1crlHJuPW7SMMDyMKJ06vZ4XUYIEcj 7NlzPg55BiecN/GcNwJ42TVurU6x1RbBKueXIL5mYDSt2CR81Nwyww2EVcVMS/dypkn2ZieljFu5j lg9GS8UVByV/0UiuRYpbQqtveky/tWRBYLNYjiMq8s7MQk7B8aZ1BMYTABGgpdgVS/BTB9g7U1/lZ 6xzz2PFFqPBwJcBkl5OA2MnrGCtTV8ShDYcnQd98eBzub4SESMC5aGask0bbLS50/+0BgMaWLKKzI ku8iIHfXWBnFU98fMYhLaQ==; Date: Sat, 27 Jun 2026 10:03:46 +0300 Message-Id: <86y0g0ihwt.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <874iip6uql.fsf@localhost> (message from Ihor Radchenko on Fri, 26 Jun 2026 18:07:44 +0000) Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, monnier@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ihor Radchenko <yantar92@HIDDEN> > Cc: Sean Whitton <spwhitton@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>, > 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN > Date: Fri, 26 Jun 2026 18:07:44 +0000 > > > Not all regions make sense, indeed. It's the responsibility of the > > caller of `fill-region-as-paragraph` to make sure the region is indeed > > "a (fillable) paragraph". Usually this is done by calling > > `fill-forward-paragraph` to determine the bounds of the region. > > Is it? The docstring says > > "Fill the region as if it were a single paragraph. > > It never hints that the region SHOULD be a single paragraph. > After all, what is the point of that function if there is fill-paragraph > already. It ought to do something else. Feel free to suggest improvements to doc strings. They are not carved in stone, and aren't always 110% correct and accurate, let alone clear.
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 26 Jun 2026 18:49:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 26 14:49:08 2026 Received: from localhost ([127.0.0.1]:44344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wdBbs-0007a6-Oo for submit <at> debbugs.gnu.org; Fri, 26 Jun 2026 14:49:08 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:60689) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wdBbm-0007Z7-6y for 81038 <at> debbugs.gnu.org; Fri, 26 Jun 2026 14:49:02 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 547AD440443; Fri, 26 Jun 2026 14:48:52 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782499731; bh=c8PgqvDiU/x7e4gGvoKe0s98fWcexZISXs/LEZtUN98=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oCaCWLxik+NDBi41bexzTJEjm9eN0OhYEskRcCP4AFBFM20aH3kqp8CG2DQS8kOwf p2+xelEshSuINaS+KH88f1E8FsE1d2NWz6kmCk3gdORrYIrD50/YdsffsCoeWfGdgQ TS2BLgXP8g9RccjfsjhdYl1gjwJ5zdcdD1FJIuWVAQMyevJeK8Zksjy3tvVXMFUK/7 UqyhRkMBtYnnMCxnf6UL6UQCAw1fShg0o4XCg7+P/vk6FItZJOw0UtEYfNyqa2szUo LuJ6tU71b0CeBxPB6YWfioznn1/la3MPlOqExvIZvCxoEYNdPygp9nEnQZwMLZXk8K qaT0xTaPtXUPw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 09B8A44156A; Fri, 26 Jun 2026 14:48:51 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id E2DA612037A; Fri, 26 Jun 2026 14:48:50 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <874iip6uql.fsf@localhost> Message-ID: <jwva4shw3od.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> <874iip6uql.fsf@localhost> Date: Fri, 26 Jun 2026 14:48:48 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> It doesn't help: it should *not* move to that place, since the `* >> Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph` >> should move to the end of a (fillable) paragraph. > Are you sure it is how it is designed to work? > I just tried a quick test making fill-forward-paragraph-function return > its argument - never fill anything. Why would you want to do that? In which sense is the region between point and point a fillable paragraph? > Then, M-x fill-region inf-loops. GIGO, eh? >> I'd guess for `fill-region` (and thus indirectly `unfill-paragraph`), >> you'd similar use the `fill-forward-paragraph-function` and >> `fill-region-as-paragraph` hooks to switch to the `emacs-lisp-mode` >> buffer and re-call the function there. > > Kinda, but I am not sure if that's going to work well. > fill-region-as-paragraph assumes that any region can be filled into a > single paragraph. But it is not always possible in Org. For example, > imagine that the region includes code block + something else. The best > Org can do in fill-region-as-paragraph is filling the code block > separately and the rest separately. `fill-region-as-paragraph-function` should not try to outwit its caller: if it's called with a region which doesn't make sense, it's OK for it to output something broken. As I said elsewhere, it's the responsibility of its caller to make sure the region is meaningful (e.g. in Org's case, the caller should make sure it doesn't straddle a code-block boundary). >>> However, in Org's context, filling region as paragraph does not always >>> make sense. >> >> Not all regions make sense, indeed. It's the responsibility of the >> caller of `fill-region-as-paragraph` to make sure the region is indeed >> "a (fillable) paragraph". Usually this is done by calling >> `fill-forward-paragraph` to determine the bounds of the region. > > Is it? The docstring says > > "Fill the region as if it were a single paragraph. > > It never hints that the region SHOULD be a single paragraph. From where I stand, "as if it were a single paragraph" is saying exactly that. > After all, what is the point of that function if there is fill-paragraph already. `fill-region-as-paragraph` is used internally in `fill-paragraph` (and `fill-region`). > It ought to do something else. Filling is divided into two tasks: A. Finding the boundaries of "fillable paragraphs". This is what `fill-forward-paragraph-function` is about. B. Filling those "fillable paragraphs". This is what `fill-region-as-paragraph-function` is about. `fill-paragraph` uses A to find the paragraph to fill, and then uses B once. `fill-region` uses A to find the paragraphs and then uses B on each one of the paragraphs. When called via `M-x fill-region-as-paragraph`, the users play the part of A and if they do it poorly, they get what they deserve. >> I'd expect that `fill-region-as-paragraph-function` is usually concerned >> with things like indentation, preserving line-prefixes, preserving >> line-suffixes, etc... > > Well... the default also joins paragraphs together: Why shouldn't it? The caller of the function states "please treat this as a single fillable paragraph, regardless of what it looks like". === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 26 Jun 2026 18:08:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jun 26 14:08:03 2026
Received: from localhost ([127.0.0.1]:44259 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wdAy7-0002pM-Ey
for submit <at> debbugs.gnu.org; Fri, 26 Jun 2026 14:08:03 -0400
Received: from mout02.posteo.de ([185.67.36.66]:48069)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1wdAxz-0002nM-Ja
for 81038 <at> debbugs.gnu.org; Fri, 26 Jun 2026 14:07:56 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id C7278240103
for <81038 <at> debbugs.gnu.org>; Fri, 26 Jun 2026 20:07:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
t=1782497264; bh=mwoFK/XlNqkBdcTp/gDxdpw5uUxmwZDrZb1kW1REmRM=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=dhPC4Wmuosu7SVuzHACxS0FoG2Ga9IOsqaEPP+H3fWl5m46b2SFYB39iFibiiBBRO
mlPudHoP056AUdclxZ0MeLqAIpqjoGPFyjGW1feLr5VmoQIgvYGfMAGKXdsrCMugwS
NIi02+pn8KxFSGORaaGT5Tr3wLNnmxcU4aq+mJUHANiJ28rk5LZbooqrzsT31gdlKe
U5hFOT2xM50DyOkMO36aDmVuUAxD33uN150vwEYfW00GJ2OGAAoOoHFvh77PjTEHtI
GVipNj10Tl4mZeTtV2g2VLRwp7MJilInyg2uGhNLJR8hXOgE64FmUi8D7MEY8AAGmR
nmol4eo7bLSag==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4gn3YW5gjwz9rxG;
Fri, 26 Jun 2026 20:07:43 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN>
<87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
<86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost>
<86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost>
<jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost>
<jwvwlvmffj1.fsf-monnier+emacs@HIDDEN>
Date: Fri, 26 Jun 2026 18:07:44 +0000
Message-ID: <874iip6uql.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Stefan Monnier <monnier@HIDDEN> writes:
>> * Heading
>> <point>SCHEDULED: <...>
>>
>> How does it help with the fact that filling headings just cannot work -
>> they must always be on one line?
>
> It doesn't help: it should *not* move to that place, since the `*
> Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph`
> should move to the end of a (fillable) paragraph.
Are you sure it is how it is designed to work?
I just tried a quick test making fill-forward-paragraph-function return
its argument - never fill anything.
Then, M-x fill-region inf-loops.
>> It switches to dedicated buffer using block's major mode (in this case
>> emacs-lisp-mode), calls fill-paragraph there, using major mode settings,
>> and copies the result back to Org.
>
> Still a bit too short for me to understand the issue.
> If the command is `fill-paragraph`, presumably you have no problem using
> `fill-paragraph-function` to switch to the `emacs-lisp-mode` buffer and
> call `fill-paragraph` there (or maybe you do have problems because the
> inner `fill-paragraph` doesn't tell you the bounds of its effect?).
> I'd guess for `fill-region` (and thus indirectly `unfill-paragraph`),
> you'd similar use the `fill-forward-paragraph-function` and
> `fill-region-as-paragraph` hooks to switch to the `emacs-lisp-mode`
> buffer and re-call the function there.
Kinda, but I am not sure if that's going to work well.
fill-region-as-paragraph assumes that any region can be filled into a
single paragraph. But it is not always possible in Org. For example,
imagine that the region includes code block + something else. The best
Org can do in fill-region-as-paragraph is filling the code block
separately and the rest separately. But then we risk breaking the
general filling code that will assume that filling will create a single
paragraph block. Maybe I am missing something.
(My main issue is that the concept of filling region "as paragraph" does
not quite fit within Org markup).
>> However, in Org's context, filling region as paragraph does not always
>> make sense.
>
> Not all regions make sense, indeed. It's the responsibility of the
> caller of `fill-region-as-paragraph` to make sure the region is indeed
> "a (fillable) paragraph". Usually this is done by calling
> `fill-forward-paragraph` to determine the bounds of the region.
Is it? The docstring says
"Fill the region as if it were a single paragraph.
It never hints that the region SHOULD be a single paragraph.
After all, what is the point of that function if there is fill-paragraph
already. It ought to do something else.
> I'd expect that `fill-region-as-paragraph-function` is usually concerned
> with things like indentation, preserving line-prefixes, preserving
> line-suffixes, etc...
Well... the default also joins paragraphs together:
(defun fill-region-as-paragraph-default (from to &optional justify
nosqueeze squeeze-after)
"Fill the region as if it were a single paragraph.
This command removes any paragraph breaks in the region and
extra newlines at the end...
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 25 Jun 2026 22:14:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 18:14:21 2026 Received: from localhost ([127.0.0.1]:37278 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wcsKv-0008J3-3k for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 18:14:20 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42061) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wcsKo-0008I8-Cr for 81038 <at> debbugs.gnu.org; Thu, 25 Jun 2026 18:14:14 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 55D6080794; Thu, 25 Jun 2026 18:14:04 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782425643; bh=FTzTc8pM6d/ZIZhAQigJvf7KqqN23b8I6GaFjAW42nE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=oYti4uZ3vh4OLYqCQB6rmzKLUa+mL5DgUPlyyn+/KWZD/WBs7fGzXjLYljyyvpPzo FrEdxCIT4bMr5/rtSNUga6AGBoed5CZlhkXQ1h2UwTNxQxgzKbya+z7viwZg89ZUGZ teWOP7dD7gzO58Jn5P364/4T1tFlJ1RETyOuyFGUEXAZAdIzD733N4BXocyejWHZ/Y vaBLLEyXC2WygRz2TqUiK/jQAvXVnlW4RSsOCLQliT+bBB0hmCMLOASql2QjYkMl/e jScjGeoPU/TeKQJwl8k4mQ4j/SaXy+Ch5chW3ZSCgL8+GYCeLLl4HLs8djaTNQv43z FttIG2sXLNFiw== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 70E6E80644; Thu, 25 Jun 2026 18:14:03 -0400 (EDT) Received: from alfajor (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 007EB12055C; Thu, 25 Jun 2026 18:14:02 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87mrwi7ec6.fsf@localhost> Message-ID: <jwvwlvmffj1.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> <87mrwi7ec6.fsf@localhost> Date: Thu, 25 Jun 2026 18:14:01 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.101 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> AFAIU `fill-forward-paragraph-function` should take care of such issues. >> If it doesn't, maybe there's a bug in the way we use it or the way Org >> defines it (where "it" is `fill-forward-paragraph-function`). > > With > * Heading<point> > SCHEDULED: <...> > > fill-forward-paragraph will move point to > > * Heading > <point>SCHEDULED: <...> > > How does it help with the fact that filling headings just cannot work - > they must always be on one line? It doesn't help: it should *not* move to that place, since the `* Heading` is not a (fillable) paragraph, whereas `fill-forward-paragraph` should move to the end of a (fillable) paragraph. >>> 2. A source block >>> >>> #+begin_src emacs-lisp >>> (if t >>> (message "Hello!") >>> (error "This should not happen!")) >>> #+end_src >>> >>> When filling the source block, Org expedites part of the process to >>> emacs-lisp-mode - something fill/unfill-paragraph has no idea about. >> >> Expedites part of the process ... of what exactly? >> I think I'm missing some details to understand what is the issue. > > It switches to dedicated buffer using block's major mode (in this case > emacs-lisp-mode), calls fill-paragraph there, using major mode settings, > and copies the result back to Org. Still a bit too short for me to understand the issue. If the command is `fill-paragraph`, presumably you have no problem using `fill-paragraph-function` to switch to the `emacs-lisp-mode` buffer and call `fill-paragraph` there (or maybe you do have problems because the inner `fill-paragraph` doesn't tell you the bounds of its effect?). I'd guess for `fill-region` (and thus indirectly `unfill-paragraph`), you'd similar use the `fill-forward-paragraph-function` and `fill-region-as-paragraph` hooks to switch to the `emacs-lisp-mode` buffer and re-call the function there. > However, in Org's context, filling region as paragraph does not always > make sense. Not all regions make sense, indeed. It's the responsibility of the caller of `fill-region-as-paragraph` to make sure the region is indeed "a (fillable) paragraph". Usually this is done by calling `fill-forward-paragraph` to determine the bounds of the region. I'd expect that `fill-region-as-paragraph-function` is usually concerned with things like indentation, preserving line-prefixes, preserving line-suffixes, etc... > Also, fill-region-as-paragraph-function can be ignored when > `use-hard-newlines' is non-nil. I think we discussed this aspect though. Yup. =F0=9F=99=81 =3D=3D=3D Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 25 Jun 2026 16:52:31 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 12:52:31 2026 Received: from localhost ([127.0.0.1]:34253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wcnJT-0004QU-25 for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 12:52:30 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38509) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wcnJF-0004OY-6m for 81038 <at> debbugs.gnu.org; Thu, 25 Jun 2026 12:52:17 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id BDFAF240029 for <81038 <at> debbugs.gnu.org>; Thu, 25 Jun 2026 18:52:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1782406326; bh=4hcLOdV+t8EaN+PH/MQjKN/TVv863Vy/MVpelKdUfuI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=bsEASPuey/ZLM3vrNznNLC6KOTPnVUcfc9JaXzOO5Dd22jk5RH+j/c3uCu5s6n/+m R1ii+4afupo9jx4mk2CAUb3j5cbIk6CeEGmjjyR/hnKdIqmhC8ZA2PxzgTwwcQjAFQ jdHhy6280k2eQlt0OWrkL1ZW9l1Q1SL4NKB+2jwpm/QJFmQaLw0szIuWgHaMQLs9gm e9Q1ncx44mTPLO3Qpp72LRFO+cSvanCLvwJ9kimH/G62HQLvlQKwcP9QTFwC/RgxXj hwb6BWXo9u6Hfro/Tv67UJxgxzREDYpToxbv5cGdrfBwR1J4vzornp6cq9VWO29D2m ybZ6PN7TWoCig== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gmPwj57zGz9rxN; Thu, 25 Jun 2026 18:52:05 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> Date: Thu, 25 Jun 2026 16:52:06 +0000 Message-ID: <87mrwi7ec6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Stefan Monnier <monnier@HIDDEN> writes: >> * This is a heading, and filling it is not allowed because it juts cannot be multiline >> SCHEDULED: <2026-06-24 Wed> >> >> If we do try >> >> * This is a heading, and filling it is not allowed because it juts >> cannot be multiline >> SCHEDULED: <2026-06-24 Wed> >> >> Org document is broken unexpectedly, because SCHEDULED line is no longer recognized. > > AFAIU `fill-forward-paragraph-function` should take care of such issues. > If it doesn't, maybe there's a bug in the way we use it or the way Org > defines it (where "it" is `fill-forward-paragraph-function`). With * Heading<point> SCHEDULED: <...> fill-forward-paragraph will move point to * Heading <point>SCHEDULED: <...> How does it help with the fact that filling headings just cannot work - they must always be on one line? >> 2. A source block >> >> #+begin_src emacs-lisp >> (if t >> (message "Hello!") >> (error "This should not happen!")) >> #+end_src >> >> When filling the source block, Org expedites part of the process to >> emacs-lisp-mode - something fill/unfill-paragraph has no idea about. > > Expedites part of the process ... of what exactly? > I think I'm missing some details to understand what is the issue. It switches to dedicated buffer using block's major mode (in this case emacs-lisp-mode), calls fill-paragraph there, using major mode settings, and copies the result back to Org. >> Similar case will be with various programming modes, especially when >> those modes need to take special care about indentation (e.g. docstring >> indentation in Elisp). > > Supposedly `fill-region-as-paragraph-function` should be able to handle > those kinds of constraints. That might be the case. This function is very new. (And Org will need to add support for it in the near future). However, in Org's context, filling region as paragraph does not always make sense. So, Org is not always going to make a single paragraph even if Org supports fill-region-as-paragraph-function. I suspect that it might break some internal logic in fill.el even if I implement Org's version. Also, fill-region-as-paragraph-function can be ignored when `use-hard-newlines' is non-nil. I think we discussed this aspect though. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 25 Jun 2026 10:22:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jun 25 06:22:19 2026 Received: from localhost ([127.0.0.1]:59887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wchDs-0005Zi-OQ for submit <at> debbugs.gnu.org; Thu, 25 Jun 2026 06:22:19 -0400 Received: from fhigh-b7-smtp.messagingengine.com ([202.12.124.158]:59099) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wchDn-0005Yi-SG for 81038 <at> debbugs.gnu.org; Thu, 25 Jun 2026 06:22:13 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id 9CDAA7A008D; Thu, 25 Jun 2026 06:22:05 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 25 Jun 2026 06:22:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782382925; x= 1782469325; bh=NXu9SgDF3rF2MykWL8TUsL7HWNnxV4pRlQF8ZCARUcY=; b=r cadGeiovdBq58S4ghMvMdy453xWHxthUEQELgbq8N6bsETYufzp0UjnPSv8NskBN kPxBecWLHyxwPgsFcDryW8Rrk78KkfKkJRm4nIWVRc+8FAMM/PZpAjRe+7kVdx9r 4D6uYthTEv2M26GEkVFF9sdVq0S0zcxG+vyqco04O4onA90LHkw4/WJ+b9rhRtzv JK6NiTUIY5j156vZeSljDeyiRuBNJtkoWcKMEwJVnwymEt2OsLx3bGRImXx2B9FR W6gxVvU4FOxreHkHJeQG+bROHDLhuyoLK0saG//aDWTsOd2vYfoRxh+92meYNaCs cv9OhJHTdXFLmUei7g33Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782382925; x=1782469325; bh=NXu9SgDF3rF2MykWL8TUsL7HWNnxV4pRlQF 8ZCARUcY=; b=ZK4GE/njz+D5AhcLPFH8EuCqX7fbxtBYSTEXtvINjG5d8HOuO4M wyhbyIwqkt+A3vAsysSxHEpfiIW9D4rC9nDWjg+f720bP0h+KaH5Vq0wwFGjB30W Vl/9rN8RKyO9RcWewUKJ6asyQ7SPkUqdIobbMI7PTqcw7a1UhCqegJTU6Sdga+wQ C3VA9ccGeW4UWVX9b+0abS0uWZuXoNKn4LIYSjr3AB/OeeDwhRR4b9xhCS0XbUdG 0KwJtZR1ovalq8syhUZtZO4tuh1wLs+TNbxwKk/E+DD3ZhnyXLx93Evm/+aWUSRI B6oYaUMTUDim5eE/Z5CFiYDi642op8a/LFQ== X-ME-Sender: <xms:TQE9anWDJyRj5Ic9ttzLD9cZr_Ws0eJy4nZaPPltmAzQyAamTzLXxw> <xme:TQE9ao6Gt24ZDpe9usMPrJNgGK8mX2HdNXrCYT6vSeWUIHcRdS45d3OjhgFqFhorJ oQpaNc0kEL_pltiqvcK-JVzJL50__2xOQtj4SBLNEtq3QMZONCdJqU> X-ME-Received: <xmr:TQE9aqqtZZyeDVA-awdm_SD9cJ03xXfB3szpzW5tinVKkAhFt0AzrPFbTgNtq8H38SXJWy5Ym5EU> X-ME-Proxy-Cause: dmFkZTGj8PrG84TWLSYBelg1FMRcUTDNaWAropXxBCKzGSyFMlSzPJWU5LnqOdS6eP7/1V VRz24P0VBMDii0yF/AeDomAgXt5XTCkY1mHqfTH/FrAtYreTDXIAgwsjWctfXMAivVtqyS GX2LzwvdrlruS/bBaqwNbztqfeZrzexuYLO1WzR3M0lcIPQV5tTj7SkI3o6MaQrWpebIrl Siu0QxqGIBn3mBBTMQsRmxC8bi454/qXET9tsfuXaybZtd3rTde3TfT2IsqRZ5dwkFRHe2 3Ub1H+u/o15+mZEudpA21L7sFVdHzYewsUuKsAC3/dWOwV+UThEK0PKPzStzLoY8doI3KD B0g8xAMDbsB1yy/Kx3XpseNmGa9TQCtwmq4UthLG23fxOsgYy1frgdZ+XHaLuBSz+JPem6 lb95+vTKeHnTc+CCJ7hSijVNdw6eeHp6N3NnuQHZToHEfwjwG2pvbtPtqxplhw/P1klquv 0ANEDwY04RIDouOvH60cehVdRicT3obAbth9pwgdwQBwfY2XvS8+xC3HfSo34E5jvgq6G/ 5rLGPtH2zOdk+JVLHqlKBYGhWtUl+eUS+2W490gb+YUEOyvBy9Sc0UW2smh076RRtkQIS5 9Tj3Ovzf//N9Zybhu1yRf8NHX896ZoM4BnIwStiZGS4bYCpcc5AtQYTstWdQ X-ME-Proxy: <xmx:TQE9ajnMOQXNRWXMmeZiTASRS0emj9UtY12L6bFZcohSPl9LOxRPhQ> <xmx:TQE9auOgq-cS2KgaB8vJJh_sBXl50eTgAVrJ1O4cGogzDQ9ZJeE9ag> <xmx:TQE9avN2sQDnXcpZpCTotSPxmu-dXhk60BL5CYZM24DbTIMuDCMuwA> <xmx:TQE9anjTtQnCISFZcGL9v5xhcnZ36kqA6EXr8Po0pzVJFvGVyGSXQg> <xmx:TQE9ajAc5sOXycUgU054IJlVyRKlD92LCbR99uwui5FfOmmWIG7o8QN8> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 25 Jun 2026 06:22:04 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id BD02D7E740D; Thu, 25 Jun 2026 11:22:03 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87wlvn22mu.fsf@localhost> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> Date: Thu, 25 Jun 2026 11:22:03 +0100 Message-ID: <87mrwiq5ro.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Stefan Monnier <monnier@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ihor Radchenko [24/Jun 6:51pm GMT] wrote: > Sean Whitton <spwhitton@HIDDEN> writes: > >> I think therefore that unfill-paragraph ought *not* to respect >> fill-paragraph-function, because in that case, binding fill-column is >> not actually sufficient to unfill the paragraph. > > Or should we introduce unfill-paragraph-function instead? > As major mode developer, it is very annoying when I do not have tools to > alter the behavior of filling functions, especially when the defaults > can literally break syntax. This is fair, let's see where your discussion with Stefan goes. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 24 Jun 2026 21:17:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 24 17:17:30 2026 Received: from localhost ([127.0.0.1]:55057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wcUyP-0007cb-Sr for submit <at> debbugs.gnu.org; Wed, 24 Jun 2026 17:17:30 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:7099) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wcUyO-0007bh-39 for 81038 <at> debbugs.gnu.org; Wed, 24 Jun 2026 17:17:28 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BD40F441F14; Wed, 24 Jun 2026 17:17:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782335841; bh=z2zcoyYZO33Vk2N7BWuqkGP+Bg3Y1bZYVnYrw1v2Sfw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=h+yCiTJE3wAfYFW4razPIRQl5Rb3DfDGK3sIhxgxt70TkO6EaCSMhYm/yt6EPk6Bd j8D5/Dwjm5p7/4zoGpjKtx39eJbGbpQRwK7fbClxYaALcB4nxbeGoNLT9ShsyGO7ja pdzpJK8fDKaj07Mid3S6Ox8QDXK98lGUitIgDBmTij54Z39u88IU5N9p4btjgV1VyI q7eiBbQXQ5oGNqkFAezCe5FbVRw3EGpfRDiA3B6+hWhD+6ptlfywAXsV+NT68xCONB zmAPp3PaOg1jKUbfM4VZ4/T4Vv0yxcNomzFiW6G+4ZN4xsYJ1LSsCPrvY7KS1UFH1y FvPBcWTvcyRlA== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 40999441E52; Wed, 24 Jun 2026 17:17:21 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 22B7212008E; Wed, 24 Jun 2026 17:17:21 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <8733yb91ah.fsf@localhost> Message-ID: <jwva4sjy74r.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> <8733yb91ah.fsf@localhost> Date: Wed, 24 Jun 2026 17:17:20 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> IMNSHO, `fill-paragraph-function` is a pretty bad hook whose intended >> semantics is very unclear, barely more than "do something that would be >> nice to have on `M-q`". > >> So, before we add something similar to `unfill-paragraph` I think we >> should have a clear idea of the problem it should aim to fix. >> As a starting point a clear description of why >> `fill-forward-paragraph-function` and >> `fill-region-as-paragraph-function` aren't sufficient. >> [ My secret hope is that we can fix that problem with hooks that are >> applicable also to `fill-paragraph` and/or `fill-region`. ] > > Let me give you two examples from Org: > > 1. A heading > > * This is a heading, and filling it is not allowed because it juts cannot be multiline > SCHEDULED: <2026-06-24 Wed> > > If we do try > > * This is a heading, and filling it is not allowed because it juts > cannot be multiline > SCHEDULED: <2026-06-24 Wed> > > Org document is broken unexpectedly, because SCHEDULED line is no longer recognized. AFAIU `fill-forward-paragraph-function` should take care of such issues. If it doesn't, maybe there's a bug in the way we use it or the way Org defines it (where "it" is `fill-forward-paragraph-function`). > 2. A source block > > #+begin_src emacs-lisp > (if t > (message "Hello!") > (error "This should not happen!")) > #+end_src > > When filling the source block, Org expedites part of the process to > emacs-lisp-mode - something fill/unfill-paragraph has no idea about. Expedites part of the process ... of what exactly? I think I'm missing some details to understand what is the issue. > Similar case will be with various programming modes, especially when > those modes need to take special care about indentation (e.g. docstring > indentation in Elisp). Supposedly `fill-region-as-paragraph-function` should be able to handle those kinds of constraints. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 24 Jun 2026 19:38:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 24 15:38:52 2026
Received: from localhost ([127.0.0.1]:53767 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wcTQy-00066Y-54
for submit <at> debbugs.gnu.org; Wed, 24 Jun 2026 15:38:52 -0400
Received: from mout02.posteo.de ([185.67.36.66]:34433)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1wcTQv-00065z-3Z
for 81038 <at> debbugs.gnu.org; Wed, 24 Jun 2026 15:38:50 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id C2F37240101
for <81038 <at> debbugs.gnu.org>; Wed, 24 Jun 2026 21:38:42 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
t=1782329922; bh=zDQ+H/zzw8BqwOfExB+N397HIzc6l2y07bvaJbi32xM=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=ZwWExQgCjaLwpSiMOkZ1HnJgEwMWRWKQ390WBEfkxiDBak+2dHivro/dCCcCh7pgO
UKVYMZ3872jx3xRfWuMWPpTRBhoRBCzlCwXspT4QiJFPf90YaZHziOWxKdqqWs/dYp
KJZ8HnQijBaIug6kqinBEJAo+NaNiHBmxHEzB2dmJ+hoWcrvriGMSIYWrzgz5M1VDo
1QMxUqxAoHtDPSbYE1gCCyDvfIzaGs5MsUGS/HKuxjsXXZzvq56nx83mm9yehyr2le
R7MW620LSCmkl5GW9vXg367L2vyyAkup8PDnILQ6T9tErpB0AYq7youud1xkc/nDN9
KJRZXqdY3j21A==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4glsgP4hYcz9rxK;
Wed, 24 Jun 2026 21:38:41 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Stefan Monnier <monnier@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN>
<87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
<86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost>
<86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN>
<87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost>
<jwv8q83zrk0.fsf-monnier+emacs@HIDDEN>
Date: Wed, 24 Jun 2026 19:38:42 +0000
Message-ID: <8733yb91ah.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN,
arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Stefan Monnier <monnier@HIDDEN> writes:
> IMNSHO, `fill-paragraph-function` is a pretty bad hook whose intended
> semantics is very unclear, barely more than "do something that would be
> nice to have on `M-q`".
> So, before we add something similar to `unfill-paragraph` I think we
> should have a clear idea of the problem it should aim to fix.
> As a starting point a clear description of why
> `fill-forward-paragraph-function` and
> `fill-region-as-paragraph-function` aren't sufficient.
> [ My secret hope is that we can fix that problem with hooks that are
> applicable also to `fill-paragraph` and/or `fill-region`. ]
Let me give you two examples from Org:
1. A heading
* This is a heading, and filling it is not allowed because it juts cannot be multiline
SCHEDULED: <2026-06-24 Wed>
If we do try
* This is a heading, and filling it is not allowed because it juts
cannot be multiline
SCHEDULED: <2026-06-24 Wed>
Org document is broken unexpectedly, because SCHEDULED line is no longer recognized.
2. A source block
#+begin_src emacs-lisp
(if t
(message "Hello!")
(error "This should not happen!"))
#+end_src
When filling the source block, Org expedites part of the process to
emacs-lisp-mode - something fill/unfill-paragraph has no idea about.
Similar case will be with various programming modes, especially when
those modes need to take special care about indentation (e.g. docstring
indentation in Elisp).
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 24 Jun 2026 19:11:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 24 15:11:44 2026 Received: from localhost ([127.0.0.1]:53384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wcT0i-0003p4-7r for submit <at> debbugs.gnu.org; Wed, 24 Jun 2026 15:11:44 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20818) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wcT0g-0003oT-3B for 81038 <at> debbugs.gnu.org; Wed, 24 Jun 2026 15:11:42 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id D4F7D803AD; Wed, 24 Jun 2026 15:11:35 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782328295; bh=0irVmDVeZbFdYwU5zxZPCR/KRjiy3iwzRRpkBwumHcI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WATK5FDyzCGqTugukZbpK0JUFTuQaLcyzJ2kooJxWCBCquKsSElbfNx4k0qbPJLnK w+64m/p/TtorZi4vISeR8tbEOgH+YshUJHW1gAtOSxwYmteXlx5kQWtUAabGxoU9f+ GJkHnnVGnenJUg2GRiyR5a9SRtF9thJt3fWSJGGwHLYSF8WymxTzk1ZrXB7cj6nDes CqzVkh3RNeOMZWd/VjPBOfH1wrOL0OVjiwi/PkMVvUR22+WLd7hI1Tj/E+1O0GBcvf 364osL9A4bDBvZNQyL9/42j9+Y6npQq8Titt7pE4gXgxUwwnTt90sxTR+j/cWatjkH 0BJN1PYOPiB5w== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F2F3080320; Wed, 24 Jun 2026 15:11:34 -0400 (EDT) Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 9D780120198; Wed, 24 Jun 2026 15:11:34 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87wlvn22mu.fsf@localhost> Message-ID: <jwv8q83zrk0.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <87wlvn22mu.fsf@localhost> Date: Wed, 24 Jun 2026 15:11:34 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.194 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Ihor Radchenko [2026-06-24 18:51:34] wrote: > Sean Whitton <spwhitton@HIDDEN> writes: >> I think therefore that unfill-paragraph ought *not* to respect >> fill-paragraph-function, because in that case, binding fill-column is >> not actually sufficient to unfill the paragraph. > Or should we introduce unfill-paragraph-function instead? > As major mode developer, it is very annoying when I do not have tools to > alter the behavior of filling functions, especially when the defaults > can literally break syntax. IMNSHO, `fill-paragraph-function` is a pretty bad hook whose intended semantics is very unclear, barely more than "do something that would be nice to have on `M-q`". So, before we add something similar to `unfill-paragraph` I think we should have a clear idea of the problem it should aim to fix. As a starting point a clear description of why `fill-forward-paragraph-function` and `fill-region-as-paragraph-function` aren't sufficient. [ My secret hope is that we can fix that problem with hooks that are applicable also to `fill-paragraph` and/or `fill-region`. ] === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 24 Jun 2026 18:51:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 24 14:51:43 2026 Received: from localhost ([127.0.0.1]:53128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wcShL-0002Ar-Ew for submit <at> debbugs.gnu.org; Wed, 24 Jun 2026 14:51:43 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60439) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wcShJ-0002AM-M1 for 81038 <at> debbugs.gnu.org; Wed, 24 Jun 2026 14:51:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5F7B5240028 for <81038 <at> debbugs.gnu.org>; Wed, 24 Jun 2026 20:51:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1782327094; bh=8GOxJV0BBo/hMzM6j2szkZf/vcti5OzkEPd6JPiMan0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=N8aIygL3mGm1A8efxLvolnkW83stoy2p7oOLbzhb42AiOPM/+RHzUlb8ODotZ7dHI 71j9rOa6aSD/xOX5mglnsuEfFEJcWI5FZy0xnuyeesCjznb9MJuISLgAsKpdE/+PKh zDdGsKbhgepTc0K/Ip8W8L1BsxMFVoeKbrn/o0LGQpcs0IoIPZPsMhCL3tswJVWAxg nIiOfBLO6XZig3QU84RJS7Y1mdIbTMt9JpNBBXlMB/nBKlfi9EYWH6wkWEUAY6eReq J5yY74GctM/zUwILw8a/8xXBgphnx+MNal1+uZ4SZOfi7Iga1g1dL3CQmdgfhzO/Q+ G/OtX/ZE7lfjw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4glrd11GBfz9rxM; Wed, 24 Jun 2026 20:51:32 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87ldc5o673.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> Date: Wed, 24 Jun 2026 18:51:34 +0000 Message-ID: <87wlvn22mu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Stefan Monnier <monnier@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Sean Whitton <spwhitton@HIDDEN> writes: > I think therefore that unfill-paragraph ought *not* to respect > fill-paragraph-function, because in that case, binding fill-column is > not actually sufficient to unfill the paragraph. Or should we introduce unfill-paragraph-function instead? As major mode developer, it is very annoying when I do not have tools to alter the behavior of filling functions, especially when the defaults can literally break syntax. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 23 Jun 2026 13:14:16 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 09:14:16 2026 Received: from localhost ([127.0.0.1]:39315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wc0xD-00007b-Pc for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:14:16 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:51249) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wc0xC-00007M-7U for 81038 <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:14:14 -0400 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id BC9E8140012B; Tue, 23 Jun 2026 09:14:08 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 23 Jun 2026 09:14:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782220448; x= 1782306848; bh=E0BTEAMG8Jf+VEdJ2b1M3U5eqy8n3bXTPqXvFa5y6Xw=; b=j XA4+DYEhRBmmvmgATggDBW072yyMWupbUI/IeQUmckueHibQEmw36RV80Az2Foqn 4bJAN7YY3TSUSVGX7vFw15u8DmkZwGkSRuRtvV13sKVrtks9zYiQKpkqEtu0ovBN BC/uSu0vnYrlmKCtqO3oVdLfxDUk94Av8L5WU9hMs57sg2mYbYSYas9BoAH10npM Wwiduvprh5ZJM0z7XOP/MSQWziHLMrJ0e46LTepUiAs1KuhMmpujgGS9rhztgLtP xU5ftm4wPmtp0+lUn4eyMUyfFo8pnG9I5+JNJoXh3h/XiJDsvXhVeRuMhECZXY06 Kt77l03gK/9xRnQW+hCsQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782220448; x=1782306848; bh=E0BTEAMG8Jf+VEdJ2b1M3U5eqy8n3bXTPqX vFa5y6Xw=; b=VM/IXT/jIPG92klrCus4VuOsqNylnWdA6DeiQtNaB4LuybXhnB1 x8l+0cAAgv5Jvp60NI8V66n79C6S27ylcqmEDNULJwjiCNpfmcrmuIj65EwgDgvz INRfrlLczHJlzIvlk4OQpGabQiIp5CEKDAbbPifQ6xPXkUzcGeEY2yjoctb1YynV 2/e3Nf2wilrJT0wJkLZuiZ4zfqninDlkxsdKmEcccJpO7DlxSFlpweUaz47AxxG3 bWIhn5rj0y51U2YrLEK2ktsupwa4ip4ac4wgPRgsBbuaqUWEKVf95RqM0OPn/FYD /DIVijOhGlHzyYYI9feqwQ7zD7GtNvA9e/w== X-ME-Sender: <xms:oIY6ahEYIvVFcTqF_s01F9c-c5HG-9rYXlbQme8G62IOuCHoU13vxw> <xme:oIY6avr0vNJefgYd5k_imVRO83vHw5QHM9WEOnpqEIs70oOz1zxPt4hy3_Ez3abq5 UUMKi5BhbkWR4u3hLHp3Z5iuYQ5G8-ORel1eZ6IJdkOZuKM1JGemQ> X-ME-Received: <xmr:oIY6aqa5eocA-lpIOvlNGIFLNvMZM_fZS4ap_4G41wiZ9lEDlW73Pv6mgfgXUh_DsOegLTRebYUh> X-ME-Proxy-Cause: dmFkZTGxCSaqZfSsi1yJJTYX3/fy2q5fQW4jIMGClAi8ph6KV284Dlua3aSgFUlW+ZVWTY K/GSwDZJ64bPRSfK9IQ0xoXF+7p/XG6H9l2C2UFq7M0qHhtzTcaSLBDwvJRIfCvttOGuEv itRwXtB+jrEZ6cxJrarQmpM2vUy4OB9Tjf0MWgglTiw0STqTeLGSHZbSPMcZuNgruEWgBu d/gAAe4HCp7VNQ64Q8fZJ4E/+4KqdVxgB7qBxE/Q7t6roVipU33a6myyi+kKbt0kzJ2Iow Ww+xfScCBAuJnwIFeu8YgQ9Gko48rq9aZe6E8CaIUw9+bU4EDs8SroR0qKrZYSqS1KCjUS rZ1vnJNOr7Pj8Jj89Y5Y/u9a64cmmlwdXbjIUSWlJPkFm75Ntq6mFUi+rtKvFrpZkYjerX dyRcXYwXOqTw+rabyJ04RFOMT5Bx80Mwu2LKYj7In+fZWcBs2SxY0khvS/5RdOFvlOqO5+ gULvcJaW5w28kiKnPSAvVTibFAHnBjian81B2o/JUjElDKS6HQp2SM31T4xO7kY0iQyYKu TALqtTzzoIkLSsBqe0g41cAs8WGw6ISXExtERjdariMwIfn0xCe+So4alk1mb7P3U1Scjq feHYDCClWzxvtzwJ7KxkGHO5G7917QapVU5TNsMbwiq7uP4Q4M9wLZWdEYkw X-ME-Proxy: <xmx:oIY6aoVORJoWZ4rZdJG4ZZYgyItcjjAnQLnC06sUz1AJjcqZRLXJeA> <xmx:oIY6aj9jRdTYDfCkJFm_l-Nx96Z256cmFgbnzmDbJ5BtGbQnIB90ew> <xmx:oIY6ah_gl9cUYGbNcPcivO2J6FeHqXweHsH7fT6J4Rd0cNgJBzlVEQ> <xmx:oIY6ajQj3qgsj9T_7o24RKMrUZvl-Ifczf4igvzG5FoMtU-Ga3G5bQ> <xmx:oIY6ambnUfgtTEYGs4VD514a5220z-Xfk-DAKH6oDh37XREBgxcmF9ul> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Jun 2026 09:14:08 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 3C7557E6A7E; Tue, 23 Jun 2026 14:14:06 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwvh5mt9zjt.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> <jwvh5mt9zjt.fsf-monnier+emacs@HIDDEN> Date: Tue, 23 Jun 2026 14:14:06 +0100 Message-ID: <87zf0lmmap.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Ihor Radchenko <yantar92@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [23/Jun 9:07am -04] wrote: >> I've prepared a patch doing this but it breaks a simple 'M-x >> unfill-paragraph' within an Emacs Lisp docstring. I think this is >> because lisp-fill-paragraph respects emacs-lisp-docstring-fill-column >> instead of fill-column. And theoretically this could happen with any >> other major mode's fill-paragraph-function. > > I feared as much, tho I didn't expect to break quite so soon. I think that everything we can fix in this bug is fixed, now? -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 23 Jun 2026 13:07:17 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 09:07:17 2026 Received: from localhost ([127.0.0.1]:39263 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wc0qT-0008Dc-If for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:07:17 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:29148) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wc0qS-0008DM-4d for 81038 <at> debbugs.gnu.org; Tue, 23 Jun 2026 09:07:16 -0400 Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id C3E34440F4F; Tue, 23 Jun 2026 09:07:10 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782220029; bh=70gLziQE/qWpEMuXmaBH8qi+wfAUfCbJN8QTo4ud7Ms=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=Loim8ktSy1VrW4QZqIkuKvm2jT+MaGaiVaAztc7inGbw4tRrCTELk4Jo4MrxVaYmd Db3SgjubWlV3uWGaG4IJi07IoyrgA/9mxX8rA+HcjkSO/cQr1D5bhkG3vAH8ZTeB3V nI35IrrRyogSZspsA58eUWpJ2XrQFlwVS4Bk8Ey3s1r1n56Grv/YH0nOrxAkfQa76q z2mvtcpLY7SkUlXsAz6+q1Blz4NnEigy1ReIL+wTNoISJbegHqpqh/cDrpudvd8XoP mOouHP07jyX8IxeQ2y2OCYB4jRCyO0bS444vbIgtE21j2pM6GTJTbPb7W+VhmcqwUL hAf+yP8w7pPtQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id CB33B440F3C; Tue, 23 Jun 2026 09:07:09 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 8E39912042E; Tue, 23 Jun 2026 09:07:09 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87ldc5o673.fsf@HIDDEN> Message-ID: <jwvh5mt9zjt.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87ldc5o673.fsf@HIDDEN> Date: Tue, 23 Jun 2026 09:07:08 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.056 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Ihor Radchenko <yantar92@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > I've prepared a patch doing this but it breaks a simple 'M-x > unfill-paragraph' within an Emacs Lisp docstring. I think this is > because lisp-fill-paragraph respects emacs-lisp-docstring-fill-column > instead of fill-column. And theoretically this could happen with any > other major mode's fill-paragraph-function. I feared as much, tho I didn't expect to break quite so soon. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 23 Jun 2026 11:19:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 23 07:19:10 2026 Received: from localhost ([127.0.0.1]:38675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbz9q-0008Sa-Et for submit <at> debbugs.gnu.org; Tue, 23 Jun 2026 07:19:10 -0400 Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]:49101) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbz9n-0008SA-Qz for 81038 <at> debbugs.gnu.org; Tue, 23 Jun 2026 07:19:08 -0400 Received: from phl-compute-07.internal (phl-compute-07.internal [10.202.2.47]) by mailfout.stl.internal (Postfix) with ESMTP id D731D1D000D0; Tue, 23 Jun 2026 07:19:01 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-07.internal (MEProxy); Tue, 23 Jun 2026 07:19:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782213541; x= 1782299941; bh=GDk7CgGoXH4oOEOreAR4ipYpg8QQGelWrHFL4QXQkmo=; b=Y oXUoqaX9Cfi+mFQIE/B3vX7k60YbkHr6ZW4ekn/LbIR4QwMNnkli0ZI/RdgdmdoZ 8sEMfGe+oszXANM19wiF2Qx7Qvy+yHVIWjqo/fx7xi68wUZ6rOvBGuqfmbr/6R6M q5wqUi+f6ENJeD0UzrVpVovos000kG7O+6pZpmsiUusZPC1mk6SAzgfjaeP7A5+N 6U1b1On9Rp+pYY7v+fYX0YR3uCYgWkkI18M6w9HLqT/AaQS/yCetepdev8+hPGNt 0Uj4Mb4jIupfcwUMqpMUSMq/cLguFTdcBusmz741gT3aZwYXwjBZucQaZrl/Y0rW y9tgopjQTt1nF99fPmaVg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782213541; x=1782299941; bh=GDk7CgGoXH4oOEOreAR4ipYpg8QQGelWrHF L4QXQkmo=; b=WUpr9WYmtxdH24SWMWJRu6aUI+Ms6Uf8NOgIG8p+I8TYU1BaMbd 2vCJJLYCIET6GEQoxDBBcFhTrYlHpsTSD+jRyA9aKn8t8BuP6qu8Olsi2Buq93bN 4XBm4nNRV9NpSh3j7NYVfcytSb7HPpzEacN528Etnos4aCORgF9ekMFGz1YK9sUY L9JAjdkBfv+0RKLuUWd5gCqD0Jc5KdtiFSspJCy7Y8zL0iwVzMpvR3BmGfgoca83 mypO19/VLQD3ashCEBC8LUrlsKEWeMRIBmJCM1kgrzaj5XFYdpC/Rj4/VLlZRTJu 8s8JU/eaBNaEdLDWJiZFJUaHOX6eRG4fpug== X-ME-Sender: <xms:pWs6aqdRF8SKp6JlC9VNbVM6InJ9WH247ehWGeaFgG8jmZhIVH6FwQ> <xme:pWs6atg9K21jS6ArHZyfl70jhl0tYlvjaF6voerRqKe4SCdffGv-oIIQvS-SVUksx Om50qq4OHDAANio1beQI5VtiFJcRmWp8SJv6tbOrMDD1Uf9kqtCe7U> X-ME-Received: <xmr:pWs6aiw0jw7Hol7SWEICuzUVE9wRv_UAE4hz7WeYCIdIBamoFnA4FiKYBPbjrKuPUL65o5pHc-ue> X-ME-Proxy-Cause: dmFkZTFIkDmJc5V7xsbNX1rFxJLWB8+R4ncIzPPgziV2p5xja6LAMLkGIMbZlkANYq67h+ VcDRtOjyUU0UcmnUe+M008Mevg3ouIo4rld/cQImCY/SY7meLVgfMZVqYCbGq5uJJ/XU6R Ye+uD1SmFNG4Om43bqZbYRMjIj3EMuXCFdqo9sBSxvwr/psKGvwvENyjG18hnw2MxrU9Aw saXg+WBCmCAL3yHyFNdU98Ebbby5oUL37wDjhoFVnZm5pXZzAeqcGVTdttkA3Etz4NI2nZ oZpjQz8bsqB56Xu7JNQFaYBfqbfFHK3s+sd/aQo1J0FVAzrylSqHhgy0Bnjy/73wnk2bfQ 6+RaoV7gh8w4hGuU+uRdTGe1XwwbhkvlVpEPdYUMpogc0B5wi//rzxVYG5ws1lI4AsPEIZ 6L3oueUx52uYtEQiEVBfXLCL0yeP6x0AHPz9eRi0uZyvI3xY03u4Wt7NBORB8ZPc76mV8e pg3f4s+ftjwuTu03tvAUFuPxWQOY14LpzH0Ws7EsfuGHjH4N4/JY1rhn66oafBlysqBi5M XnAeUnYhJ9jsryTbs7TcPnCblZxFHh1EKK1MqVG+srobz4PQCqScXfRGwpAuPMd0/6dmkH vMdEYNu55dHGsBamYN/Ho/MTv3+kXJiwsLyRHmcPtMQNuSQ+WQj+g5GYTYfA X-ME-Proxy: <xmx:pWs6apPdmKsNbebT6Xb6HjZKC6v1IxlieHQ7w1QpInVW18NyXXVVGg> <xmx:pWs6ajXgtDLC-hF-kHsapl8N8KpT5gJvaEri4yai41ABKt-FoUIPaw> <xmx:pWs6at0YHb7Lw6ehvNlpDD9HNfAyE0h1H3_St8t96UVauP6QIovgKg> <xmx:pWs6ahoAupP4INxMDTkxIGGwOet6kChft2DWakZl3H3qgc7oR1yVJA> <xmx:pWs6alLgX00avE_Ke_85Unz5nAdjCyOBYlg2Wvj_kzMek6sNUNexagxh> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 23 Jun 2026 07:19:00 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 9A9317E8A35; Tue, 23 Jun 2026 12:18:56 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> Date: Tue, 23 Jun 2026 12:18:56 +0100 Message-ID: <87ldc5o673.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [22/Jun 8:25am -04] wrote: >>> Join lines of this paragraph and fix up whitespace at joins. >>> Interactively, if the region is active, join lines of each paragraph in >>> the region. >>> >>> Why not calling fill-paragraph-function in a loop on each paragraph in region? > > For the same reason `fill-region` doesn't do that: the caller of > `fill-paragraph-function` has too little control over the region that it > should fill. > >> AFAIU, unfill-paragraph should produce a single paragraph, so looping >> over several paragraphs and filling each one might not produce the >> same result. >> >> Stefan, WDYT? > > When BEG..END are not provided, I guess it could make sense to make it > rely on `fill-paragraph-function`, to make it more like > `fill-paragraph`. > > When BEG..END are provided, its current working (i.e. to call > `fill-region`) makes a lot of sense, and it should work just as well or > as poorly as `fill-region`. > > `fill-region` suffers from a lack of hooks for use by major modes, but > we've lived with that for eons so it seems good enough for the > corresponding use case of `unfill-paragraph`. I've prepared a patch doing this but it breaks a simple 'M-x unfill-paragraph' within an Emacs Lisp docstring. I think this is because lisp-fill-paragraph respects emacs-lisp-docstring-fill-column instead of fill-column. And theoretically this could happen with any other major mode's fill-paragraph-function. I think therefore that unfill-paragraph ought *not* to respect fill-paragraph-function, because in that case, binding fill-column is not actually sufficient to unfill the paragraph. -- >8 -- lisp/textmodes/fill.el | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index 270cb388971..30b6c1fc1a6 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -972,20 +972,10 @@ unfill-paragraph means to join the lines of each paragraph in the region delimited by BEG and END." (interactive "P\nR") - (when (or arg (not beg)) - (let ((arg (prefix-numeric-value arg))) - (when (zerop arg) - (user-error "Invalid numeric argument to `unfill-paragraph'")) - (save-excursion - (fill-forward-paragraph 1) - (fill-forward-paragraph -1) - (setq beg (point)) - (fill-forward-paragraph arg) - (setq end (point))))) ;; FIXME: It would be better to use ;; ;; (let ((fill-column (* (max 2 tab-width) (point-max)))) - ;; (fill-region beg end)) + ;; ...) ;; ;; multiplying by at least 2 to account for any wide characters in the ;; region to be filled and by at least `tab-width' to account for any @@ -993,7 +983,17 @@ unfill-paragraph ;; prove that filling the region will actually unfill it. ;; However, `fill-region' fails if `fill-column' is not a fixnum. (let ((fill-column most-positive-fixnum)) - (fill-region beg end))) + (if (or arg (not beg)) + (let ((arg (prefix-numeric-value arg))) + (when (zerop arg) + (user-error "Invalid numeric argument to `unfill-paragraph'")) + (save-excursion + (dotimes (_ arg) + ;; Call `fill-paragraph' in order to respect + ;; `fill-paragraph-function' (bug#81038). + (fill-paragraph) + (fill-forward-paragraph 1)))) + (fill-region beg end)))) (declare-function comment-search-forward "newcomment" (limit &optional noerror)) (declare-function comment-string-strip "newcomment" (str beforep afterp)) -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 22 Jun 2026 13:23:09 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 09:23:09 2026 Received: from localhost ([127.0.0.1]:55142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbecG-0006sg-Oh for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 09:23:08 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:42957) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wbecF-0006rj-KR for 81038 <at> debbugs.gnu.org; Mon, 22 Jun 2026 09:23:08 -0400 Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 88A7F1000DF; Mon, 22 Jun 2026 09:23:01 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782134580; bh=Rxz6kQnp23Xkh39na6XRBc9NOfawcMVDEhsowJfd1Gw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=MQIoFZ/9oD8jPHNtXPo/ViYFQ8Uo2vODuFcZUIKCANoL8Ivn+slIW4sTLbTloFBYC 20g+YAb/TUvn4wfa9USrBQ1qipSyUKeXaHSv8S9BiAwaMdBmQJfdFNLkr/rr6Kq3ew x3feDmgPoEdGQoGp6OE0HJb4XnUkwfvuS0PdPL//pV5KGEQvBkoxJUARobveU/G8lH r+m9+ACaGMgri51lwJWt+K7hjoj1ea3eKw8pZIFCbMECyiEiq5QJkp5v74aqavAI+/ XOSzJGJopE+zSbzrw3tEOLDT+fXSRIJC8ykpLDTNGjfVysuaMVXCiyWE20zx9nwqOY iq34wei5vTsQQ== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id A71C41000AE; Mon, 22 Jun 2026 09:23:00 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 5ADCD1208BE; Mon, 22 Jun 2026 09:23:00 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87wlvqpx5d.fsf@HIDDEN> Message-ID: <jwv4iiubtkk.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> <87wlvqpx5d.fsf@HIDDEN> Date: Mon, 22 Jun 2026 09:22:59 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.071 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, Ihor Radchenko <yantar92@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Do you have an opinion about the case when ARG is not 1? > Which path should we take then? No opinion: `fill-paragraph` doesn't have that feature, so I'd be tempted to not support it either. > I'm a bit apprehensive about having it use completely different filling > functions depending on whether BEG or END are supplied, tbh. `fill-paragraph` does exactly that: it delegates to `fill-region` if a region is specified. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 22 Jun 2026 12:39:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 08:39:20 2026 Received: from localhost ([127.0.0.1]:54797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbdvs-0001Z7-5r for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 08:39:20 -0400 Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]:58519) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbdvp-0001Yg-Tu for 81038 <at> debbugs.gnu.org; Mon, 22 Jun 2026 08:39:18 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 33A291D00129; Mon, 22 Jun 2026 08:39:12 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Mon, 22 Jun 2026 08:39:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782131951; x= 1782218351; bh=6g5r/vwquTXzUDDEycEDhwFwYFh0aMeDs9fz2pzx5AA=; b=E aaP+izmf4kNey5Zr0ghgJYgIO2gzm9/9b/X567WhHmJkh/5SgpsTPqE8xhuUnrSz f3b182TFmyx1q4RsyRUT+twXGBY4jdFAxYOXRiRRE70cEAMgGJGiY97fP53TrPuZ Ku16bQbyKkUfoH/g2zhcHD6c3sXdJ7As5MyVteI0aJMvuMDSIW1C0hHPs72gKSj9 PD9/s6tB0jF+BjUq0E5v6AX+Kk3NINd9BitZxJu+fTKKa/LFcoGQek++V66bATRE Ew/x+KP9/jpikVj+mHjQ32d61iVTOpt3Ehh5HI0w3XjKFbAvYI8X2Y6+j/3/jK7Y Xk30dKGH2BM1RSb7zEzPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782131951; x=1782218351; bh=6g5r/vwquTXzUDDEycEDhwFwYFh0aMeDs9f z2pzx5AA=; b=He/WSmB0gpUrmIKdf5707KIbyse7mYYzJWwIQlLx7IcHHy7G4d3 l3sXW/KT5i6VrBEoT/VyuOd1+LQyETR/psiY6NQXIMpQiFgIZxv8yey+powIje04 Rq0goZAJqbonjdQKlGaRIW/8ur6ik/CAdUr8u320l8JS+y1/w6OAFxfGd6bTSTNy NDE8rIoEK/yhDyuKTGtr2sAMi+934SZTHUuDDXY53NqrRiuQUZQ70Ik0/qHoiG2G ptMcC7PRcbD+K2Bu8KXCODa1RttIZexhoIgAA9HcZ5bRZB3jAsYY4MWnGInzYJhA tm9zbBzuPb470+x2QHE63Ot8nolv23XJpmQ== X-ME-Sender: <xms:7yw5aqBSBMrcHAwXEef1IdFaEiKgaxxgqtguvyMD41ehj7R80cTMTg> <xme:7yw5at1dgLXh9tQUrvpteQMhTZfK0vEqthBblgtyN5fCvkDuGhhlhqdxF3m4plLP8 KjVJ0UN-fL49BeO3nlHfOJBCaHbnm32XBYlT9MGr82fZ_FtYZZX40I> X-ME-Received: <xmr:7yw5ak1ULjC96Qa4rw3XD7DdYMJydWDF6WJu5SqxttcziUlB_W7t2fbz0Gg8WcP7AaI4lwUVI1qj> X-ME-Proxy-Cause: dmFkZTEG7QSUaCDteYoKzofV7CZbDOfcQrpfzz9UifD3t+2QGEo0FXFBuZXmvveGqXmPYL Fk8cqmMf1LZ7Q23c/P0vSaNFN9/gYX9g8KYH8WS0NUjLmEnlOXtGqzz2ZcXhLka/paGou8 Daoz+FqSBTkq/9TxjAufVlI+cj1NWV/bU9OltGSvjwGW5KcQ+LC8QSbeou6RHVhhvvnrjH btz1B4RcH+IGJgrX8ggzCMKXPqCESdiTsioyte9ZfYycVOSekezMdezXxPoQPMYflrcAu4 tQvCCKeQi1b7QfOgf+qqHSJgYwv8jqkf2jPxGxZiQS9fEd62G1wkHSMoBTKq6r6nXgvmJB t6/J6XaMrSjYQGbUX8kKYPgJ6Vb2KA1h5Czn6eljK/X7oHNh3jlzYpHlWaG+sepF7tSjxz bwLVRMG2Jvar7zBLZA4WVR3Fcyr1WjsDr+7AIT8VmYZkUmdupaCgdHUkoI1GOHgjgKzsfy JV9mDPwdid5Ait/LORNQ9XRgaipptRTmmc0ap8bQsVw9auIKWItkW40Hi0JwXXvLYUH2Ms GauAEi8et1MgTyjqwBJWjxFtaEw5J4DJKSVd+1JatyQRCpVinR95iKdFfyf6YsHb8lzStY xgYbv1Moo/yX9A+ZU9Jd7lnw8BvGCe+QGXxVPPHIL3sdjLhjDKl9HJ15/z3Q X-ME-Proxy: <xmx:7yw5aqAxoy-ubpO63APjPnShaTZz30V63RZG_D0Jhx7pd8Jnkwm7kA> <xmx:7yw5ar5XmnQa0xFpIqAmK0aDCgWrqyCLB5PfPRPmcMZGiRE3PPFMig> <xmx:7yw5ajIUgvY5iFyuoM2QcblcVBrMBU02hzt0dtRZC9_GeQTVPqAD7Q> <xmx:7yw5akth47hGmAb2gfBqOCiRh18yhgdF0PNRnpolA5qNPZEeCMj39w> <xmx:7yw5akNVRZL0xcZJxw46_K3jMV5RtIQ2invitdLQPBCXpPVPI0iddcaC> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Jun 2026 08:39:11 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 0B32C7E7B5A; Mon, 22 Jun 2026 13:39:10 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Stefan Monnier <monnier@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> Date: Mon, 22 Jun 2026 13:39:10 +0100 Message-ID: <87wlvqpx5d.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Stefan Monnier [22/Jun 8:25am -04] wrote: >>> Join lines of this paragraph and fix up whitespace at joins. >>> Interactively, if the region is active, join lines of each paragraph in >>> the region. >>> >>> Why not calling fill-paragraph-function in a loop on each paragraph in region? > > For the same reason `fill-region` doesn't do that: the caller of > `fill-paragraph-function` has too little control over the region that it > should fill. > >> AFAIU, unfill-paragraph should produce a single paragraph, so looping >> over several paragraphs and filling each one might not produce the >> same result. >> >> Stefan, WDYT? > > When BEG..END are not provided, I guess it could make sense to make it > rely on `fill-paragraph-function`, to make it more like > `fill-paragraph`. > > When BEG..END are provided, its current working (i.e. to call > `fill-region`) makes a lot of sense, and it should work just as well or > as poorly as `fill-region`. > > `fill-region` suffers from a lack of hooks for use by major modes, but > we've lived with that for eons so it seems good enough for the > corresponding use case of `unfill-paragraph`. Thanks. Do you have an opinion about the case when ARG is not 1? Which path should we take then? I'm a bit apprehensive about having it use completely different filling functions depending on whether BEG or END are supplied, tbh. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 22 Jun 2026 12:25:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 08:25:42 2026 Received: from localhost ([127.0.0.1]:54677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbdig-0000nj-0P for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 08:25:42 -0400 Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55068) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <monnier@HIDDEN>) id 1wbdie-0000nD-5O for 81038 <at> debbugs.gnu.org; Mon, 22 Jun 2026 08:25:40 -0400 Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7DDA880405; Mon, 22 Jun 2026 08:25:34 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1782131133; bh=P5Cv2RWYBi1HlvPgAiQP38ZWCg7snvFLUtcPk+N5N1g=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=l7u1xneZ+MeckVXJA6bSJOnMRhjWgiorNaSTxE+lswetSB8P5Xz41Ivi0uxbj+nq9 MKgvz7yuIBjyGu1giCMQGBYuAS7Ix9N2PIl+tYeJwu5APFJii0ddfZckFDmfgGad/V GXL54l7bLvBh1wJa/FQSFH0Ba7jL1hBPaXulCMNhES1/c7ZqVyB2yAx+9EjcPouNg6 Kc5w0Xol3c+S9VxnvWRTyyjUU/pC0kf965zLq1RdpayTkPQPIstW/D+FJTWxZ6d77w 3D1cRBZhO/SLcbRn3jOpLVUhsL+6k5yZWF2IlqbSrVuACCRAYVgUFO2XJxnuqzhHBj /bhYwoM1l5kMg== Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 87639806BC; Mon, 22 Jun 2026 08:25:33 -0400 (EDT) Received: from pastel (unknown [104.247.237.64]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 453B1120C3A; Mon, 22 Jun 2026 08:25:33 -0400 (EDT) From: Stefan Monnier <monnier@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <86jyrscw69.fsf@HIDDEN> Message-ID: <jwv8q86db7n.fsf-monnier+emacs@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> Date: Mon, 22 Jun 2026 08:25:31 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-SPAM-INFO: Spam detection results: 0 ALL_TRUSTED -1 Passed through trusted hosts only via SMTP AWL 0.106 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DKIM_SIGNED 0.1 Message has a DKIM or DK signature, not necessarily valid DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's domain DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from domain X-SPAM-LEVEL: X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, Ihor Radchenko <yantar92@HIDDEN>, emacs-orgmode@HIDDEN, arstoffel@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) >> Join lines of this paragraph and fix up whitespace at joins. >> Interactively, if the region is active, join lines of each paragraph in >> the region. >> >> Why not calling fill-paragraph-function in a loop on each paragraph in region? For the same reason `fill-region` doesn't do that: the caller of `fill-paragraph-function` has too little control over the region that it should fill. > AFAIU, unfill-paragraph should produce a single paragraph, so looping > over several paragraphs and filling each one might not produce the > same result. > > Stefan, WDYT? When BEG..END are not provided, I guess it could make sense to make it rely on `fill-paragraph-function`, to make it more like `fill-paragraph`. When BEG..END are provided, its current working (i.e. to call `fill-region`) makes a lot of sense, and it should work just as well or as poorly as `fill-region`. `fill-region` suffers from a lack of hooks for use by major modes, but we've lived with that for eons so it seems good enough for the corresponding use case of `unfill-paragraph`. === Stefan
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 22 Jun 2026 10:56:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jun 22 06:56:45 2026 Received: from localhost ([127.0.0.1]:53819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbcKb-0005kn-5U for submit <at> debbugs.gnu.org; Mon, 22 Jun 2026 06:56:45 -0400 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]:34957) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbcKZ-0005kO-OF for 81038 <at> debbugs.gnu.org; Mon, 22 Jun 2026 06:56:44 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id 9C7491400200; Mon, 22 Jun 2026 06:56:38 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-03.internal (MEProxy); Mon, 22 Jun 2026 06:56:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782125798; x= 1782212198; bh=3KFkzV66L1SBbd/YSlhetcEO0Z2A494s6RPAFL0tO3s=; b=G pg2FgAE3x6wnPkAqHN9UMYUQS8C9M2SfCu6Dt1jRQ166IxJXWiPZw+RZzEtzR1Tm IDcTG0Nu7sZirAWfBJBevvBNeC/YUPFqQNC2RN5XhhdIkKOD8m3ZW3vqaMKvn8wP SiAfeXhLMkoqoet1pgVnguDNh8beHuCwHlDZtSkCD1PdcwVY6BpzHlPMFjMMT6uY ICCyiC5jzVv4xgxgnZABYd6ZwBqmuBUu1qdv3HKgDO7CuRdr5FnVfVdTRDf3il6R xFzh2H2tEeOx046Jw25JXVbtnhAb0xJJRQJ5FGN9QI4ZSEvTCDMzSxNIMPl8OCYL OKubcp+l5dsKlmHduh9dA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782125798; x=1782212198; bh=3KFkzV66L1SBbd/YSlhetcEO0Z2A494s6RP AFL0tO3s=; b=h7kWPe3a4RkipElcS+ARwDzP6DPl77XzJWOIQ/R2DSDzdC2egHf zVC3eZQo9xoNZ6Xrm1PzLrOEWgXxfDuzd75pF0cvlLBxUl1fXXmv/VkLCGBdVO9C jG8i9YWOr8rtAvpSF6f4szD5RP4CqemA8m2mWJI6efJj/rDLQvnGyoXhZS5WTCWh S5fjcCIXkOPsFS+MuLJnac6zPVcm71UBkzrDcM/TkmijKXL/viCARt1mdlnsvSKm z3xcjGDjbRNiLPYkgMAqMpD7Z8dKHwU9xxm1hd5QnrHLcnAp+HK03BFb1FDVCN+H Jh4xXjMHf0kqUN1SAQO4ixaTg3kxp3nivJQ== X-ME-Sender: <xms:5hQ5avqH77uz8XAIkP2ItTi6ACqD21Plu3pTMd9HH54uJrkFgaad1Q> <xme:5hQ5ai_xjEP8tkqaLJn9QweHZSCW7-ijOZFJcbut0YaRYQeQc6_YQvhaNru7DP7pR eFYVBD0GlIfXfRB35Oza2EA4G_0N4Q_vqgHCAJdWLuecKAfUxoBi1k> X-ME-Received: <xmr:5hQ5aje6fOO8AJ4kTgM-fkwCpwm8b4GajgByK8hgIrW6_U_ihaxXBr3MNiq6kzE8VI0D362eFZgs> X-ME-Proxy-Cause: dmFkZTEfUVHQmosArA1+kupVh92VQLdCsyG0US/4jNYw4suUJWEUbfMIt4+pDNmXb5ZYwW XWiXJfQ/FOGXDswZdpKKYCBIB1Hc7B3ZEvRzTNs/X9JDh1qyhsOSmP7Htb0poAhdCuYZcK yj0CGYpsoqpOFrKsHm+QVH5CdJZ+7gzXCi0nIEMReA3uB8s29z2Buu3cihyXY0jzFmfeMS 7bRYbUzJDme5LRU5hb/prmHbrC+cQTeUg0/bbkOBFCX+GvvuUqPEQ2+tqDLqxmmmje/dhi UpkM25B07V5kr5YPaPiE5xVLqNpN+E9CmjJNYFRVmC6w9HqVcNT2kA3ypgiBYIoAbOuBdu JH3iiMFyYYtfyDPEBDnFlnxGc9fD82XbgdPhwXzh4N+9yoRwgtec+CeLCXy8HMfzbGIBHY uuvVezA7CIoXsm15nK94JQVheEWMAknnZF078gyZ16tCty6vVYGYz5nXfa9JbsDUsG4jAl Fw9iDse2Ny3aVNRYoddV9DSw85YJNbdZ833h9fifmE5DZvfdpozodTLULiUFah8Df7pamn ANHLLgJiYDoSYMyVa08uWEpMTX1C/O9o/PSvhrZGtI8NBVABp+78BUp4tz7B2Dc7O4tq19 jjVsai+GF4hjIF4+VvO1+Adj/Vw9IbyoQK44bXaVxr4Sn6pg6/Hzh1vVAScg X-ME-Proxy: <xmx:5hQ5akLSTNclbZTuIXpQX8rJmY6vabnwgUShH2MzBIdQnmaioZVirw> <xmx:5hQ5arhIfc833uZE_c3CpVg8Ld8JgmdqGYOVEjlG5uT-YIK8gAOJHg> <xmx:5hQ5aqRKG4A9uASnttPZ710w5IYsYkt8PM5ltNG5eBDz2PmjgtSS-A> <xmx:5hQ5atX7IQPDstce-SAIqpyBSjgIgnXyOAZswmX6jMWCc3ZamZMtrQ> <xmx:5hQ5ak0NZWS8h85g611G0haEj4MydDj_5KeH4rGuPfqFFIf02IM4OLY8> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Jun 2026 06:56:38 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 5D7087E75F0; Mon, 22 Jun 2026 11:56:37 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87bjd4ge3x.fsf@localhost> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <877bnst1kw.fsf@HIDDEN> <87bjd4ge3x.fsf@localhost> Date: Mon, 22 Jun 2026 11:56:37 +0100 Message-ID: <87wlvqrggq.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: arstoffel@HIDDEN, 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ihor Radchenko [21/Jun 2:30pm GMT] wrote: > Sean Whitton <spwhitton@HIDDEN> writes: > >>> Why not calling fill-paragraph-function in a loop on each paragraph in >>> region? >> >> That would probably be okay, yes, though I'd be reluctant to introduce a >> loop like that on the release branch. So maybe we can only fix this on >> master. > > I do not mind. > Actually, maybe fill-region itself can respect fill-paragraph function. I think for a change like that we'd need to hear from Stefan. Stefan, do you thin we should be aiming to change fill-region to respect fill-paragraph-function, or make unfill-paragraph loop over the paragraphs itself instead of calling fill-region, to resolve the issue here? -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 14:31:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 10:31:04 2026 Received: from localhost ([127.0.0.1]:45574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbJCQ-0005qn-Q4 for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:31:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:53019) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wbJCM-0005qF-OZ for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:31:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 502EF240027 for <81038 <at> debbugs.gnu.org>; Sun, 21 Jun 2026 16:30:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1782052252; bh=iYiIkJWFGm0xhzhJo/ACRj/OCXXzImFTzaOpZzh+0JE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=dNsfEktIKXI8fDklYZQxjhWhDbEhemADpNBDqI0qkMAdVH2LoH+uh8tPIb6RgZ4cr L7JkVNmv0PuWeKWfd1u2wT63LJSwDEgq71TSDq65g2GFZsoOrNczRLIc/8Z6ASAo1D sfB6uvOM72rcZ1bRFj9Qepa4NHtNFmA/UTEAHI5DlE0ljFehOZGQzGX44I65F54hmZ g9PIko1aOkuiTGJ9s2KvTBSP1F53q9S+aCCflk7/i7v9lODrW0ydgEGY1CR89Log/C LGklLM3zA6+mjuDmlizf+YctCyq2ESG/Q0IaAKM+dUvtBALu3xFm1ECRFW0071CSO7 njiWivG6/+OLw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gjtzb3kP0z9rxD; Sun, 21 Jun 2026 16:30:51 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <877bnst1kw.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <877bnst1kw.fsf@HIDDEN> Date: Sun, 21 Jun 2026 14:30:52 +0000 Message-ID: <87bjd4ge3x.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: arstoffel@HIDDEN, 81038 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN>, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Sean Whitton <spwhitton@HIDDEN> writes: >> Why not calling fill-paragraph-function in a loop on each paragraph in >> region? > > That would probably be okay, yes, though I'd be reluctant to introduce a > loop like that on the release branch. So maybe we can only fix this on > master. I do not mind. Actually, maybe fill-region itself can respect fill-paragraph function. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 14:23:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 10:23:04 2026 Received: from localhost ([127.0.0.1]:45509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbJ4i-00050k-Ia for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:23:04 -0400 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]:54281) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbJ4f-0004zi-Sw for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:23:02 -0400 Received: from phl-compute-03.internal (phl-compute-03.internal [10.202.2.43]) by mailfhigh.phl.internal (Postfix) with ESMTP id A7D4A140013D; Sun, 21 Jun 2026 10:22:56 -0400 (EDT) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Sun, 21 Jun 2026 10:22:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782051776; x= 1782138176; bh=cxf0SCa0jjo5GzdNBd9W/uK0nOP8Fgp98l1vGK8I0oE=; b=h xeNVSmbKOZ1K0CAyUvx50D2uNm9XFdvtlWbc3Zs970fPRXZCI0HJCgbg7IR1KoaD k86MrzqYxavR9Tb4wU/G4I8pV3ZpGt5l2d0K+KJ9Jui12rp8NPn2XnKA8k7hsUgb y1uozcAeMF9tsPAlVNP3tXN1GpAssQ6tgRbYGivjjlUh2j5xySmUgYAWrQ3+YPJ5 PzjXNmVzft9vSHTnwVeu7t2gSXSs9tca6nCHbpd+csSFnprbaQrYiloDbVntCc0F SKX9eCr7N+zm7K0QUQky5b9X4OgYyFDWV8Dq2lPvyIbSH7r7uRYJd4itdOGEzoKw 6LhKxw+TAIIke9peEeCcw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782051776; x=1782138176; bh=cxf0SCa0jjo5GzdNBd9W/uK0nOP8Fgp98l1 vGK8I0oE=; b=Gjih6jAeXjxpBNefuDxTwb4gIUoYcNRWxaJO0leXQhFQkxZ6c1q aOYCjjrrT8M6lz9yOYwcso+qkg+HpLn0UNiTOrhPbrYc9/+SMNFquJW4K2rqYRxx zSQ5ykfTuShk309+Sy1iTJ3F9jop7dUOug8kV3VdF8HhMU0JWRZY7V5SW4TVwJV8 ZjnpqfO1nRgARsfsmx0k51zC/aA4xWE0sCw/Y+rLQ3ZzsXtainyBDuz2rV0pZZNt Nd3F/LB+T9TYwWpcTJOGIeEcMip3VKlvodLr5oFiAQSKxYzol5rWsmmejHoOnYdW A8JIF/qi85+Qd7KvQIMXetjp5Kti41xnTAg== X-ME-Sender: <xms:wPM3atH41XBv5j66PibDyVTvEKWv8NGY9WjGKIp2pgC9gNJ-cY4leA> <xme:wPM3apOdfwKbj-Eg90WaiNk9CcQsibNpdz7J1iNR3xi5S90ceEZuqVAzeXDnmf8kj DFRueuk5MDJJA3tHVP3PfiOHwTNBPUazxnXKudHEQN1qbxi0qJbjys> X-ME-Received: <xmr:wPM3ane8fhjwXCPIRXk60k-iq9VHaBUdd-xE7KoEDPh6YOfTJMqoYs41Nh0bxXNxbjJwPZ5fdt1E9dVeyKJdSNZi48XVzA> X-ME-Proxy-Cause: dmFkZTGAIhRvn68BMmWKIJW5z8hEQUr+uJz8UKfnOX7Ywtm+ETuB1NCbSC1/jS6qORcVFS kBT5p1nR4K/0rLZ4SRSiKkK28EsoPEoGN9NJ2zwhL6qJ95/0q9WS1GGJSfQQU7mWprBxet FdQe00Uy0d19D4u5FiDKQp7q6MKg5/KtUFN2yPlKYMUjcdGHp4F04OyLaHdObxTQ3AF8aS VX82729qGPhKZD0GlDwL098ZKEMNP/QhjJHeb+77EF5251O/I36Da+yYvMxHWqib0JvP4W Z6LDZFbqdD7YJEtqksrfUBhth04B9rNWcLLGyeyGSW978HNl9nbMjsR5oRIzppccGQmDhn WhE0tAlpePzwhZAOpXoPWmwys+rLISD/KUb1VHV/N704uOHoAZ3/vQPC+cSyPK27KOTYNt Db2/8WiNdNa18lEMwAuIO+ktvRxxXpcki0JX8CgQOwBCqtq80FSJCtdWOxh0GgIdAuZxrd 6OPgsEqyz7YBfCmwlbGZIOfwliveR6waVJVD89u4Qk0WD51x1AoGI6VDonn5Vw+ktC3SUj aAn/LpPSozzpZE8jzbMpeqn4345AY9vjwt7KR4OI3CxqIOeHxdQ+YF5BCNGcLZtE1TqYuQ gu07QG3Dc3mk7MDyLkiIj60k2lMUzR3eq+ErVyUgbgMFKOnqv5b/kOWzDl7g X-ME-Proxy: <xmx:wPM3autSnsCQYAhlRtaaN05doysY3JSpSk18uaC4hue8SRlP16dVlQ> <xmx:wPM3agktorHLpisiU981VZFHzU_3hTp47dvB0l8En17V5khxmb3Teg> <xmx:wPM3aoycy6wcRto36Ckxy0K5mYUAzWwHrQ6wA5QeHNIi43Zg-YVpHQ> <xmx:wPM3aqO3oJAj4F5hgAI2EZqJO7sPw3t-wL6ubOkndp5eJqiWJTWQHw> <xmx:wPM3arpfZrPVaQWyosdFGq3h4SmBjTnghAMBPePW2P6lJrAgMABF81bG> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Jun 2026 10:22:56 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id CF4307EA27E; Sun, 21 Jun 2026 15:22:55 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN>, Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87se6giiy9.fsf@localhost> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> Date: Sun, 21 Jun 2026 15:22:55 +0100 Message-ID: <877bnst1kw.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Ihor Radchenko [21/Jun 5:03am GMT] wrote: > The docstring says: > > Join lines of this paragraph and fix up whitespace at joins. > Interactively, if the region is active, join lines of each paragraph in > the region. > > Why not calling fill-paragraph-function in a loop on each paragraph in > region? That would probably be okay, yes, though I'd be reluctant to introduce a loop like that on the release branch. So maybe we can only fix this on master. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 14:16:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 10:16:45 2026 Received: from localhost ([127.0.0.1]:45466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbIyb-0004eo-JS for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:16:45 -0400 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]:40683) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wbIyZ-0004eO-Kd for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 10:16:44 -0400 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfhigh.phl.internal (Postfix) with ESMTP id 6C8E41400027; Sun, 21 Jun 2026 10:16:38 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Sun, 21 Jun 2026 10:16:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1782051398; x= 1782137798; bh=GF+pYUeX6rQz0lQ/yFAkKMwuEUHDipZqnwiGgsQi7Kc=; b=u UrFKSYC5OSN/zg+Uba8RimAOeU1u01voyWXkELUJGpxOT8dXt3sdVSjv9hI0ugHw D8lNM8MWD8YDvXdiYzOQJ47x/H2+qIA9pQm79UlRIASAV+AiImNTruQk/7zXFLI5 YXA47Gw8K4j8/JfKR93QlXIZ+pGpk6KURWI500/8HFJXQlY17g/v2cm0FDfdpcag WEvpxdUHlQYfpLqxD+wp57lQAu5Z0VWiWGvj4zhJuhGzdA06AQilRqkxighADEUB jBIgmewyXjfQjDg59q+K8iShMTePCs4wDD2i7HdUeM84JSngYt6hQmW20n05BbeV QIHZs55p7IXTyLwTFkwyQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1782051398; x=1782137798; bh=GF+pYUeX6rQz0lQ/yFAkKMwuEUHDipZqnwi GgsQi7Kc=; b=LHp6iMkrrBF2QW4SPPW6Hyi4FjLgptqJLW3yr69OQHbUg8s57wu FELZ7zPLL7bIQfuKji8IlWX+0xeMjcUJA5Rc5KBsoEY1Toktb7YdReJDHik3sFBo ZDCVNriNQAocda+jVS11XDfYIg81j8KdSW0IY632nb0r1d3KVgiwVdAO4qcH1l0k CL9YIAEElhj4rPA3REFWbt8PUnK6+I3Vyg72TRIxY/vLIF93RFIAPcoGrP9PT82d vff2Lo8sAAItuT/Rld6uBVcZRCvtMev8bTHGFlV5NgcOVEuzn2ui66sltuaBao/c sNSvHzkA9CyAwKvrip/+bReGrrzC6m3FAKg== X-ME-Sender: <xms:RvI3auU7Qm1fmzRfDNFeB2tUuH9W3qVtcrSqTqDOi6ModFbIWhdi4g> <xme:RvI3aj6uDLjiq2BRz6NyL5nPmZ3JjSgL1MEiWYd0oic7D8WlK0tIa00sp4uFPnAmN oJMDesG4ziYOdcye7qhS36dvnCHjMFbuaXZGtTQUSxnm60ylZ-sgyMf> X-ME-Received: <xmr:RvI3apqzj42EtTV9_J33PpIB1YKmc7M2e4vzPDEdeG3000rG6NGqNf_v6xKgQKOhk8EIOtFYrqTrhQnhqZFHv7uRCd5rRQ> X-ME-Proxy-Cause: dmFkZTGW8dxYBJusM3VpgeuLs1a6bORU3K3IKQ0xSjuAYKDIURJzTT0KaIUJt0sIUVM8Wm Q1crnKmCXOW6DJnJlZM/QePNS9bOLhvTakQFxV4QBfOH0GLLVKzl0Ycy480F4vpdbOdOlv BndaMO8QW320Nz0QzqJRRYsciZYb02Cbx9xkB/XQ4QapOTrvUeCvCbaPx4/2NAbNt6rBnX iX8o38FS7CZV3Lu02JLSDAsAqXMGqRjGGL2v+Lh8310sO23UeBEz3QhoPmIxfW1Mg6Q3l2 t8xO1LZxADSIlqadD4hLGf2qxJ59Gt45yAJNZE3s7GYVXlfw1RJ3q7RMAoVd8psatAURdu 8ujZIbyo3y89lnGfKPGk5Ncsc7/92aj9QpbaLyAEwqtOozep7YvlIZ8VE0WGC4qxkSAwEq RJJg9fNLyyHZ1BZZ1Fi3Z0dnfQQfzxUmOzTpkffygYIejvdNdH0HlSBLvINoI+f6KcBfnd Pu6yK3F0TMQc4lOzwI/Hh+bm2rDfDAn1zqYznMlGSumiAMB6SU7IbUDjqQy/M4GNznPjhf pcpoeineK4bLAectSvnzVlyo42eM0YwdxZJegQssNU6FDF3aHR8hCxCCfl33IiiktcBZBY ZE6+VquDSr45WxYsk91UxlBei9KSLFvs2RuwjWB4HK6JNduz225eBKHdNeUA X-ME-Proxy: <xmx:RvI3amnzsw6WLrwApIgOmzRCS1KDeiEmBPBROt-ZB6Xcv8yfiALqnw> <xmx:RvI3alNwI3DsN1Ajk-EqlIdiHyTT5f_5TukI4nxJ5_ibwDaSwtyzjg> <xmx:RvI3aqNpUxuDt_wkLLufBLk8bWpVZoH5ITZ0TWVRkOpVq-uk3YO1eA> <xmx:RvI3amhI9DqbDzcVFzZXbJLKgpE2ySmdgzMeQ03SYsz2sPAe3_dPGQ> <xmx:RvI3aiBVQce9uf3yjOl1PN3SMAVYf5xCsbt3eTq3mlK_1fzt0rk8pYOS> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 21 Jun 2026 10:16:37 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id A552A7EA27D; Sun, 21 Jun 2026 15:16:36 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN>, Ihor Radchenko <yantar92@HIDDEN>, Stefan Monnier <monnier@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <86jyrscw69.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> Date: Sun, 21 Jun 2026 15:16:36 +0100 Message-ID: <87fr2gt1vf.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Eli Zaretskii [21/Jun 8:14am +03] wrote: > AFAIU, unfill-paragraph should produce a single paragraph, so looping > over several paragraphs and filling each one might not produce the > same result. > > Stefan, WDYT? No, it's not meant to join several paragraphs into one paragraph. It's often useful to join the lines of each of a series of paragraphs while keeping the distinctions between paragraphs. (I'll read the rest of this thread later.) -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 06:01:50 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 02:01:50 2026 Received: from localhost ([127.0.0.1]:39611 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbBFe-0004vU-5b for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 02:01:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40838) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wbBFc-0004tz-9p for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 02:01:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wbBFW-0000nU-LC; Sun, 21 Jun 2026 02:01:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=N2GLkcp38au6u2CHALUr6V9DbE4vClvscYt9zzthFl0=; b=gGc8Jrke/yR1 jkZVriBTAlcGGElkJP7mEAIJMJ+SVLlT03zAlZeKAYSZUGBTmbQBPTHnA754jyNmsolKqoM+5zYWK nxIE0f+xX4ZjjVkHDXSkRHhzl/ODnZbjvZq0D+DHg+zK6QKvdhX8JtWRk0vpn6In4JhQQIiNZb+vZ EMskXvUtQSTe1QbWiVK4+qNr3ZO/M0ls1K1ZjauSvuxrnSH9LTtFPZpeqVVOyBqpgaIpO7g/HIF4B jKfAuXXBYLckRpHrV36lhD+LSG+buYuO9Ygc9OPbC9wJ6s6MOxGNQ+CuBeL9oRRw9+wTfzj6GQpBU UTE41AcJRAZikdmqjnKLqw==; Date: Sun, 21 Jun 2026 09:01:35 +0300 Message-Id: <86a4soctz4.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87pl1kigx2.fsf@localhost> (message from Ihor Radchenko on Sun, 21 Jun 2026 05:47:16 +0000) Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> <87pl1kigx2.fsf@localhost> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN, monnier@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ihor Radchenko <yantar92@HIDDEN> > Cc: Stefan Monnier <monnier@HIDDEN>, spwhitton@HIDDEN, > 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, arstoffel@HIDDEN > Date: Sun, 21 Jun 2026 05:47:16 +0000 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > AFAIU, unfill-paragraph should produce a single paragraph, so looping > > over several paragraphs and filling each one might not produce the > > same result. > > That's not what it does! > Try: > > <mark> > hello > foo > > bar > baz > <point> > > M-x unfill-paragraph RET > > and observe > > hello foo > > bar baz OK, so feel free to submit a patch for unfill-paragraph.
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 05:47:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 01:47:34 2026 Received: from localhost ([127.0.0.1]:39390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbB1m-0003Ee-78 for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:47:33 -0400 Received: from mout01.posteo.de ([185.67.36.65]:54625) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wbB1e-0003EJ-Tp for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:47:26 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 33A43240028 for <81038 <at> debbugs.gnu.org>; Sun, 21 Jun 2026 07:47:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1782020836; bh=Wt69VolIz61NKDfX4psV5Yl4sgmBmgubUycHiqr1Lsk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=NWM8UgKfEyJD8g2pycdJ1GStpaB8wEie6j3wIu0VFqmWkMikM2WIZa6x58HIoZO1j ws0nYDS+pC/M8wm0qGlZkXmx/SuOBVPzAemJNlPP57u7LoaknMhpaMzqrPypnlKOrC sk+GjPUibRPVLY6zSibh0JQSE6kdLpiwAIuPekU0uqtZo1LfYfXOv+R3qCY8Uiivoj Zw4w7lsFBpQamk1gPlxk1UiWFT1PKKTa8MkTnj3NxLqNIG2HV7iS2uIKXSnfZcOnq+ 7D+FBDlVdXntF8nwReaqfXZCxMSdo6vFosjkFK7eiU6aAh7DqJZuHK9PF58BR/0oGi IJyxbbiGIs3Ag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gjgMR1gPSz6txn; Sun, 21 Jun 2026 07:47:14 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <86jyrscw69.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> <86jyrscw69.fsf@HIDDEN> Date: Sun, 21 Jun 2026 05:47:16 +0000 Message-ID: <87pl1kigx2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN, Stefan Monnier <monnier@HIDDEN>, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: > AFAIU, unfill-paragraph should produce a single paragraph, so looping > over several paragraphs and filling each one might not produce the > same result. That's not what it does! Try: <mark> hello foo bar baz <point> M-x unfill-paragraph RET and observe hello foo bar baz -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 05:14:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 01:14:26 2026 Received: from localhost ([127.0.0.1]:38905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wbAVj-0008RF-Uq for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:14:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35950) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wbAVg-0008QI-VV for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:14:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wbAVW-0001ZZ-2g; Sun, 21 Jun 2026 01:14:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=cP0RqWXEwQtfzu5QCTJ08upVgVTM4G+WyUlEdAvn1gQ=; b=IIiaBqbITFob YOsnGaED8knmgEoAsuJLp1EfugIGJeT7OUfbmm6RPtBKjEfuN4iT6bdgVA9vJxXoh02E7opg3j7Bf wN9X/KvnpytLGDDVoYBclt3ZvAiBNMFhGQrFSYWB0DtjpO2TdkUhFTjaOPgrMdaBPNhwAUVsodrdS 2jyEELwP9z06TE5KCFcjwlpRFS3RIaU2AgfDS0j21X/9CoiD/ZJ9nQXFt5Zc4rxq5MWEcTSu7mvR2 TaU299wr16EgriPvbUbyHp+8HWDUedP1I13mHmYn0I0r7K04ENrAio7ZyuyDQYmfv1NaTJw2xL7i5 QIQnDDXhQ5XeiRCPTJIpNA==; Date: Sun, 21 Jun 2026 08:14:06 +0300 Message-Id: <86jyrscw69.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN>, Stefan Monnier <monnier@HIDDEN> In-Reply-To: <87se6giiy9.fsf@localhost> (message from Ihor Radchenko on Sun, 21 Jun 2026 05:03:20 +0000) Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost> <86mrwocwzs.fsf@HIDDEN> <87se6giiy9.fsf@localhost> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Ihor Radchenko <yantar92@HIDDEN> > Cc: spwhitton@HIDDEN, 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, > arstoffel@HIDDEN > Date: Sun, 21 Jun 2026 05:03:20 +0000 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > Sorry, I don't follow. Do you mean the last part of unfill-paragraph, > > viz.: > > > > (let ((fill-column most-positive-fixnum)) > > (fill-region beg end))) > > Yes > > > If so, I'm not sure what you expected unfill-paragraph to do here. > > There's no fill-region-function AFAIK, only > > fill-region-as-paragraph-function. > > The docstring says: > > Join lines of this paragraph and fix up whitespace at joins. > Interactively, if the region is active, join lines of each paragraph in > the region. > > Why not calling fill-paragraph-function in a loop on each paragraph in region? AFAIU, unfill-paragraph should produce a single paragraph, so looping over several paragraphs and filling each one might not produce the same result. Stefan, WDYT?
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 05:03:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 01:03:31 2026
Received: from localhost ([127.0.0.1]:38740 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wbALD-0007Em-4b
for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:03:31 -0400
Received: from mout02.posteo.de ([185.67.36.66]:56761)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <yantar92@HIDDEN>)
id 1wbAL9-0007EH-Id
for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 01:03:29 -0400
Received: from submission (posteo.de [185.67.36.169])
by mout02.posteo.de (Postfix) with ESMTPS id 1D133240101
for <81038 <at> debbugs.gnu.org>; Sun, 21 Jun 2026 07:03:21 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017;
t=1782018201; bh=YQNExqwtPli0trsIxm90xGsDiA7BM2W2JYPRrZ7pKt0=;
h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type:
From;
b=e2c3dGWaK8HDSxZUBGscwpjpxWLUXMYfd9DEWGgNZkH+fmkP1pJywGEYTPKTbcLYA
6gIQgfcc2kj1Dz+6iwvvz6jnc2ZWzFozokXPOG4cd4ZBsP0mAshAVbt0Bl4GY18jQB
LCCkUmy26tOxMOjz7gxgwBIM8rnSIMepoPLGRJuD975qzjsQXNjGU36Ca6+bSqEq7Q
ag5wN9NPL32yqoLkwRB7J7kXNKMQGvBTkNnHr6CluA0IZCvembc1T+xPtQN/p44/q/
kEF3Xt5u3nkPl/k24NqU1KUprRTy35mAWSHlT6MeAefu8tNpPFNPqTovONlDzK5Hdi
obDuWQMzOCiJw==
Received: from customer (localhost [127.0.0.1])
by submission (posteo.de) with ESMTPSA id 4gjfNm0ysZz9rxD;
Sun, 21 Jun 2026 07:03:19 +0200 (CEST)
From: Ihor Radchenko <yantar92@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
In-Reply-To: <86mrwocwzs.fsf@HIDDEN>
References: <87h5oajtfk.fsf@HIDDEN>
<87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
<86mrwocwzs.fsf@HIDDEN>
Date: Sun, 21 Jun 2026 05:03:20 +0000
Message-ID: <87se6giiy9.fsf@localhost>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN,
spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
Eli Zaretskii <eliz@HIDDEN> writes:
> Sorry, I don't follow. Do you mean the last part of unfill-paragraph,
> viz.:
>
> (let ((fill-column most-positive-fixnum))
> (fill-region beg end)))
Yes
> If so, I'm not sure what you expected unfill-paragraph to do here.
> There's no fill-region-function AFAIK, only
> fill-region-as-paragraph-function.
The docstring says:
Join lines of this paragraph and fix up whitespace at joins.
Interactively, if the region is active, join lines of each paragraph in
the region.
Why not calling fill-paragraph-function in a loop on each paragraph in region?
--
Ihor Radchenko // yantar92,
Org mode maintainer,
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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
Received: (at 81038) by debbugs.gnu.org; 21 Jun 2026 04:56:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 21 00:56:44 2026
Received: from localhost ([127.0.0.1]:38653 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1wbAEd-0006hV-Sf
for submit <at> debbugs.gnu.org; Sun, 21 Jun 2026 00:56:44 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:55986)
by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wbAEb-0006gt-2J
for 81038 <at> debbugs.gnu.org; Sun, 21 Jun 2026 00:56:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
(Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
id 1wbAET-0006Uu-Fk; Sun, 21 Jun 2026 00:56:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
mime-version; bh=DUpx31DsXbgYcKo8vCVM60pC0U+RDfCxAJy7XSwIav0=; b=WvakJuBmz6Ab
hqlTPm2Nq+/0ihfI/wOhU/QqfpWC9nJNWZQhi+fToKO69U6Lm2Db6YfZmRvK2kTg9QHHEN65v9NbX
deLvJqL5fzuBnyDzERmDjCHoUCZuwqMKD2B6rOR435oatcvQadssG7uwRJD7sBQu1h80rVJhi7IMS
Ror4i+5xMQS3fWfkHcPylf5jwztOKEMOf/zkknhVsP4bV1VE2RsZ7fU4T11/+9opPxgfJtS5eylGz
5UaAIn+jP3fpFR4UpCwX+8evQoGNJgat3+b0tLwfOysaC4avnc68n0OodyEkpkEv//CJ5yvyjTEwm
KSlB4EdhybMROXjVNQB/pg==;
Date: Sun, 21 Jun 2026 07:56:23 +0300
Message-Id: <86mrwocwzs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ihor Radchenko <yantar92@HIDDEN>
In-Reply-To: <87v7bdhv7r.fsf@localhost> (message from Ihor Radchenko on Sat,
20 Jun 2026 19:23:46 +0000)
Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work
at the very end of a paragraph
References: <87h5oajtfk.fsf@HIDDEN>
<87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost>
<86pl1lc98k.fsf@HIDDEN> <87v7bdhv7r.fsf@localhost>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81038
Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN,
spwhitton@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)
> From: Ihor Radchenko <yantar92@HIDDEN>
> Cc: spwhitton@HIDDEN, 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN,
> arstoffel@HIDDEN
> Date: Sat, 20 Jun 2026 19:23:46 +0000
>
> Eli Zaretskii <eliz@HIDDEN> writes:
>
> >> I think it is both.
> >> unfill-paragraph ignores Org mode-specific fill-paragraph-function,
> >> directly calling fill-region. I think it is a bug on Emacs side.
> >
> > No, unfill-paragraph calls fill-forward-paragraph-function. I guess
> > Org doesn't bind that to its own function?
>
> Org does bind that to its own function.
> Org also binds fill-paragraph-function to its own function.
> However, unlike fill-paragraph, unfill-paragraph ignores
> major-mode-specific fill-paragraph-function and unconditionally calls a
> generic version.
Sorry, I don't follow. Do you mean the last part of unfill-paragraph,
viz.:
(let ((fill-column most-positive-fixnum))
(fill-region beg end)))
If so, I'm not sure what you expected unfill-paragraph to do here.
There's no fill-region-function AFAIK, only
fill-region-as-paragraph-function.
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 20 Jun 2026 19:24:10 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 20 15:24:09 2026 Received: from localhost ([127.0.0.1]:36403 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wb1IN-00010y-Ti for submit <at> debbugs.gnu.org; Sat, 20 Jun 2026 15:24:07 -0400 Received: from mout02.posteo.de ([185.67.36.66]:42829) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wb1IH-000107-ID for 81038 <at> debbugs.gnu.org; Sat, 20 Jun 2026 15:23:56 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 10F58240104 for <81038 <at> debbugs.gnu.org>; Sat, 20 Jun 2026 21:23:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1781983427; bh=CZP4B7IXSlvC3Qz+WESl/EKoMK3ltihcm/deb64Udtg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=sIlKyidzRrF6Z3E6jk3+APYAUkxDEV3312gupGVOnQ68jEcZGQnZn3zYCqMivNcXS 0bW9CdKfUc8T2idjBk346hxB3D5juMsC5H6q/cUqB2AxvoLATxxpZbRKlWqzyYavtz bieim/JJgBRq3SUO9qxFxccHiR1aB8moL+CxyOkWvbkM9xEJ7+DHK4jGLl39mE1HRw wU7to79+f+JUL6Jpvq+62tI+yJlFAqZxZqQrGprBooGsXdTkavrYIfqOKydF+2QpYk Hgrfoy+iGgi/pf5X4kd1v+Im4va84knB809wz9chajT+FBzBALXXSy6Ng7O73U2mNa j+XvdWhvQooMw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gjPX22dxhz9rxD; Sat, 20 Jun 2026 21:23:46 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <86pl1lc98k.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> <86pl1lc98k.fsf@HIDDEN> Date: Sat, 20 Jun 2026 19:23:46 +0000 Message-ID: <87v7bdhv7r.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Eli Zaretskii <eliz@HIDDEN> writes: >> I think it is both. >> unfill-paragraph ignores Org mode-specific fill-paragraph-function, >> directly calling fill-region. I think it is a bug on Emacs side. > > No, unfill-paragraph calls fill-forward-paragraph-function. I guess > Org doesn't bind that to its own function? Org does bind that to its own function. Org also binds fill-paragraph-function to its own function. However, unlike fill-paragraph, unfill-paragraph ignores major-mode-specific fill-paragraph-function and unconditionally calls a generic version. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 20 Jun 2026 19:17:41 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 20 15:17:40 2026 Received: from localhost ([127.0.0.1]:36385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wb1CA-0000Kt-Ng for submit <at> debbugs.gnu.org; Sat, 20 Jun 2026 15:17:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43104) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1wb1C3-0000Jr-Ce for 81038 <at> debbugs.gnu.org; Sat, 20 Jun 2026 15:17:31 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1wb1Bu-00027y-ED; Sat, 20 Jun 2026 15:17:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=/2UaYdnfLIShSL4EKOeN5/127SEx1ngiCtGpIZgPEq8=; b=WNtMA56rxq54 LyLaYEvkvGt6iBEMa6sFoqrleNjOK48tGrT+mrvkAXpLtkhOwDCH4itxFGvPKgky31Gpg2Q+nTQVp pk3JCWJSa836F9QsD0agfrEvBMOF6tELJMhkoshsO9VzLZjnWoY9yHn0wtqAPJnDZFlzpCs3+y5x5 mrhsTr1C2VjlOnI9/NaWWgFNm7B542vgvGf34mLgglMpjUpW3HPUUHppcPdwLYACIxTokGNdZrXpz 5CWhBYHL2V3luuOryCKNZqz2d4nH14dJruV0Elol7luevnHLc1/HBLqzJPl2YGwLgx8hRGJ0SXysY dsi1HBl27ONdLsPYE0jR2g==; Date: Sat, 20 Jun 2026 22:17:15 +0300 Message-Id: <86pl1lc98k.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Ihor Radchenko <yantar92@HIDDEN> In-Reply-To: <87ik7djeyv.fsf@localhost> (message from Ihor Radchenko on Sat, 20 Jun 2026 17:31:47 +0000) Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> <87ik7djeyv.fsf@localhost> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, arstoffel@HIDDEN, emacs-orgmode@HIDDEN, spwhitton@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, > Augusto Stoffel <arstoffel@HIDDEN> > From: Ihor Radchenko <yantar92@HIDDEN> > Date: Sat, 20 Jun 2026 17:31:47 +0000 > > Sean Whitton <spwhitton@HIDDEN> writes: > > > Augusto Stoffel [14/May 10:18am +02] wrote: > >> Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, > >> if at the very end of a paragraph (looking-at-p "\n\n."), then > >> unfill-paragraph doesn't do anything. > > > > It looks like this is because fill-forward-paragraph behaves > > unexpectedly in Org mode buffers. unfill-paragraph expects that calling > > fill-forward-paragraph when at the very end of a paragraph will move > > point to between that paragraph and the next, but in your example, point > > goes one paragraph too far forwards. > > > > I.e. this is a bug in org-forward-paragraph, not unfill-paragraph, I > > think. > > I think it is both. > unfill-paragraph ignores Org mode-specific fill-paragraph-function, > directly calling fill-region. I think it is a bug on Emacs side. No, unfill-paragraph calls fill-forward-paragraph-function. I guess Org doesn't bind that to its own function?
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 20 Jun 2026 17:32:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 20 13:32:06 2026 Received: from localhost ([127.0.0.1]:35808 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wazY2-0006zP-4W for submit <at> debbugs.gnu.org; Sat, 20 Jun 2026 13:32:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36733) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <yantar92@HIDDEN>) id 1wazXu-0006yB-Aj for 81038 <at> debbugs.gnu.org; Sat, 20 Jun 2026 13:31:58 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 4D5CF240103 for <81038 <at> debbugs.gnu.org>; Sat, 20 Jun 2026 19:31:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=posteo.net; s=2017; t=1781976707; bh=wLtWLv4cw7vI+BLzqeBH77SDKT8UzwDLStWa4YgLaK0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=QJ3VVL14WreJiql+fUQ1Kw9yiHs889/hbew8tzzYrVlY/O4zkLr8Lf0Pr2L4CWYRa qp3JSY41T/ndaJSiIvmyoSTtt8o4oDZ02oO0mhSB6pFO21uJXQKfnXJuAgiG/Wbkcu 1sMbAC/uk1GprBXTWbjp0qZ1Ua626re43dBgbzVd4G/0W/y+NHtmTMZ7YBJ7zbbsNI s7mJecyxRIF1/yDxthdtv52mEK4rtk6EFfYd0NH5rgZOSo/YYQpR4zoesRd9R8rXpk iGI27Fi3uUrqC+Kr6qENGnWIlnhnD8H3B2DU9hu4oS3CBd/yiuN1/anTG2JwpscJ3y 4IX+hi+ggWzuA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4gjM2p3l4yz6tvm; Sat, 20 Jun 2026 19:31:46 +0200 (CEST) From: Ihor Radchenko <yantar92@HIDDEN> To: Sean Whitton <spwhitton@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87h5ny8k88.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> <87h5ny8k88.fsf@HIDDEN> Date: Sat, 20 Jun 2026 17:31:47 +0000 Message-ID: <87ik7djeyv.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, Augusto Stoffel <arstoffel@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) Sean Whitton <spwhitton@HIDDEN> writes: > Augusto Stoffel [14/May 10:18am +02] wrote: >> Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, >> if at the very end of a paragraph (looking-at-p "\n\n."), then >> unfill-paragraph doesn't do anything. > > It looks like this is because fill-forward-paragraph behaves > unexpectedly in Org mode buffers. unfill-paragraph expects that calling > fill-forward-paragraph when at the very end of a paragraph will move > point to between that paragraph and the next, but in your example, point > goes one paragraph too far forwards. > > I.e. this is a bug in org-forward-paragraph, not unfill-paragraph, I > think. I think it is both. unfill-paragraph ignores Org mode-specific fill-paragraph-function, directly calling fill-region. I think it is a bug on Emacs side. There is also a bug in org-forward-paragraph when point is at the end of the last non-empty line. Now fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4a8e19faa -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 23 May 2026 10:59:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 23 06:59:43 2026 Received: from localhost ([127.0.0.1]:44614 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wQk51-0000im-5n for submit <at> debbugs.gnu.org; Sat, 23 May 2026 06:59:43 -0400 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]:56951) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>) id 1wQk4z-0000iW-JH for 81038 <at> debbugs.gnu.org; Sat, 23 May 2026 06:59:42 -0400 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 0C0111D000A6; Sat, 23 May 2026 06:59:36 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Sat, 23 May 2026 06:59:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm2; t=1779533975; x= 1779620375; bh=R9O+0Nseg6CmwXtvQqxH85wt3hkVQAR8bxjiuNytX8c=; b=N PGZIgkEF4eEppBaS788wgFm9YDMQswBpV6KcZwdhDPrHmUH3iJ6r0uD63QAUW4GW 6nHBglDZaMGeTFDvIfcb2vfs6Y/igVohWJPiqjWqfG6wgxEPXhM9eGiEIChA/kBC 3tSoRFqaP5DZ1IHUbnbAL1R1Znw0rXIbfOm8h0P0JmX4tQn/0PhcYuF2KzUsYCII lY/zY9Xcx4OShNF8EWtg8B8t78QB7JMmXjz7R0S0sVBdZGyOaEBu8IT5Nov5Gcge 7Y7Cs+6E6fYHE3Ywan3SlbAk290u9zOrubyIo+4Fl5iA74Dc/7gJQ1ZMklfTHG3S aelXCkGDgq5QfYfgaES0g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1779533975; x=1779620375; bh=R9O+0Nseg6CmwXtvQqxH85wt3hkVQAR8bxj iuNytX8c=; b=XNI6xVKTpl6JJ0760ezLuUdrx9j0nqV2e+uO7kqcKdh030MDFNm 8aOTSStLv29vITJjB+ndARu7HCqacqMPckKSmPSqwKBFBG5h1627VfWndROPLYT/ 4OkB6WLa93kqQsFAERtos4JTgX5xqjlfMQr0lWoXBiVvWrZKLPTVAOZfElGtVxs0 udvLZmuOJhRGGrw9f/FzMjCs5Fn5l97Tjr8TlX9WMokQ230aaF5SM7KjBz+2CjfC KiGl8psvzhj6h5nNiP9Hn73RPEJlgGn+oEmqxJDfrYRVWJx1ik6Ddyh29ktd9kB+ NzOoHdjyyxMbFxE2WPZtTVPNLN085EpqkGw== X-ME-Sender: <xms:l4gRav4WYPJTAY9_qzeVjbaBlKYEeILp7GQV_fXuiYsUJ8gjnOYCOw> <xme:l4gRasX1i6_98IJydO4kN-ZRdkmvIjwRpcUYHPOcq8Al2Isp_LuZQ5kcbta80JUe3 Xl11JtBnDfFECVchvFQeRKxUisQ2MKVxuPfIy7pJWPUXvf2Q7tBwuo> X-ME-Received: <xmr:l4gRaj2rgBl_oJLruRxg9jyOjfokj5kpFUvFDsTvhx7dKOFliSENJ7SNG5lcj20Tfs8VpdkRgbgcu5CovAsgPpDDfzASgQ> X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdduhedvkeejucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffvvefujghffffkgggtsehttddttddttddtnecuhfhrohhmpefuvggrnhcuhghh ihhtthhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqnecugg ftrfgrthhtvghrnhepvddvheeggffhuefhleekudffhefgheekfeetkeffgfffvdeufeeu gfdufffhudfhnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvpdhnsggprhgtphht thhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopeekuddtfeekseguvggssg hughhsrdhgnhhurdhorhhgpdhrtghpthhtoheprghrshhtohhffhgvlhesghhmrghilhdr tghomhdprhgtphhtthhopegvmhgrtghsqdhorhhgmhhouggvsehgnhhurdhorhhg X-ME-Proxy: <xmx:l4gRap06qCC7fqBPTCwAQcPe91DnTuTDg9E7AlKA5oAKi-nKzOrjUw> <xmx:l4gRam9-Z6V6GV34KALW7imYA_j9PGhsvcT7K8gBLCzpClZQefiySA> <xmx:l4gRam0QjkPNDbsjNRJa4ZM3NSS_DBt0Ny6lxV1_HQH9G9MiXAo6ng> <xmx:l4gRaj_2jX5YGRbciVY_D0C9GDbE_-nBtxhiApr6u0Z60yNS_7jaDg> <xmx:l4gRagCbvHaN4vYe20mq0cG7luDIkjrkt-92xRE0ZJVshfOEHgafBmgU> Feedback-ID: i62564b17:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 23 May 2026 06:59:35 -0400 (EDT) Received: by melete.silentflame.com (Postfix, from userid 1000) id 7D0C57E5D5A; Sat, 23 May 2026 11:59:35 +0100 (BST) From: Sean Whitton <spwhitton@HIDDEN> To: Augusto Stoffel <arstoffel@HIDDEN>, 81038 <at> debbugs.gnu.org Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph In-Reply-To: <87h5oajtfk.fsf@HIDDEN> References: <87h5oajtfk.fsf@HIDDEN> Date: Sat, 23 May 2026 11:59:35 +0100 Message-ID: <87h5ny8k88.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 81038 Cc: emacs-orgmode@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Augusto Stoffel [14/May 10:18am +02] wrote: > Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, > if at the very end of a paragraph (looking-at-p "\n\n."), then > unfill-paragraph doesn't do anything. It looks like this is because fill-forward-paragraph behaves unexpectedly in Org mode buffers. unfill-paragraph expects that calling fill-forward-paragraph when at the very end of a paragraph will move point to between that paragraph and the next, but in your example, point goes one paragraph too far forwards. I.e. this is a bug in org-forward-paragraph, not unfill-paragraph, I think. -- Sean Whitton
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 14 May 2026 16:19:01 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 12:19:01 2026 Received: from localhost ([127.0.0.1]:38240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wNYm4-0006eg-JA for submit <at> debbugs.gnu.org; Thu, 14 May 2026 12:19:01 -0400 Received: from mail-ua1-x933.google.com ([2607:f8b0:4864:20::933]:50510) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <derek@HIDDEN>) id 1wNYm1-0006eP-TW for 81038 <at> debbugs.gnu.org; Thu, 14 May 2026 12:18:58 -0400 Received: by mail-ua1-x933.google.com with SMTP id a1e0cc1a2514c-95fb6411e01so250629241.1 for <81038 <at> debbugs.gnu.org>; Thu, 14 May 2026 09:18:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778775536; cv=none; d=google.com; s=arc-20240605; b=Bq/ZNvLTJyOzy1nZSgmc7nNGLkG0LciZ8PXWSivKCxr/hvsCZNQckj/o/LyLhaOBmA P/2xDle928s8f7KAEi6h23d6XydOmeyZtMfojxC8ASz6hhS/Rx7KN2G0Q3DJ1/4hPAay D03upjRAAZHsb2Be0SMMwOXom5jLnTVKfnit66kvvptt9tVeceGsdIPn8+zuKWohD/h9 Y+iZr21wbnrgjXelMk/nSCXCH37Q7H8VJNnoiY6Dceg4XbiVVpa8bQkqI3OqKQnlVgAB 4a6fUR7ubLnT12pGVYUj+yuwPjXpiTkwAE3u7ffNkf+8vx63D3GuKBfAxPVkUcmYmH7h 44VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=mpy2MRQqZgRPY1QL7B2lxztWGhLYzNaS8tFbmpyHd+M=; fh=j+KVDLfTWvvcN8w0EUnPhlOxW2g+mu/RvZqPed1EWHs=; b=KZ1DmHvVgSzjU91IpwRS3X93m9gmP9TQ95CmEA73oXhJMaA5IWN/Hd5m0z3/5EuSAw tGC3XUA/mLXx8V0QwOLxqCKHKES5MAFRn6WggamiFcLNK3qA+X8w18qcQV2h4qxHvPK1 jMEL76uLrpcGn1TP9RuiEaMGp0a6IDTmrdkaYZjIjc34ZPtsEMoOASsQ72exILCv52QS FXIxpSazh5sXGSozCCoD1azMj8cFD1NahtdWgmgwuEBdOi8T76ans16fVf2NyZRrdu0o nhfoYuCGudAs1i1sLhZ2qVHJ/MlxuL7nf+WwCB0dyw5uYz7TJhhzJHUjIoZL2wMHQF9o q3/Q==; darn=debbugs.gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-becker.org; s=google; t=1778775536; x=1779380336; darn=debbugs.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=mpy2MRQqZgRPY1QL7B2lxztWGhLYzNaS8tFbmpyHd+M=; b=rH8vzT2/MIxl4ru+z6+8ZIiTizmzJh0QSJ3HFGNnfpZ5kwZrIq9t4/Ab2ZuN+vrbeE pIOgMS8mZtBcHrOs9DRBi8rMmxZgBICKXCe6YA6+yDbfW5vg6FnXQxSDltqCGpSz5Piz iH34E0B6krKmH3EIac31PVP0LqwIrZyyJh0z8ZXOVRAdqjURdTXxCc/q37+tOST7GKag hdwnng76bus8gxipuqy0+6pplNyYAOyd21R6DTt9WyTyI7vXlliTZp8LOtNbtRbhEG3k ZXsOKrDg8pq7QCQeosF0QZTHZLc3wJbmN1bjC3PFzfM5Wlidw5XjdQNBYfe7DdU6rnuA qpfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778775536; x=1779380336; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mpy2MRQqZgRPY1QL7B2lxztWGhLYzNaS8tFbmpyHd+M=; b=L6xnV9qMajTrF8IT5IDSe/j+FNuk4YoblihC5TutadNxLdbRW4JwKyoB7DEn745zHe bo/UIlAt4ZvMlbATI71Pe+NB0AOgcdhbL0sOE8lt5AyQk2Uv2AxRywEiU9jrzLlweidh gZ+6H4jHRpQ6pPqEOHoJUVvi0kcQzBZhdsC+uA5E0S/5HB5ky7M9VH+qA7KiwNG6zQtn deKFthvrmIP3rd7eI8aZFq4M4/I2o/tYqTaf2yJUvsECREN68R8e/g+3mD6WNSh9hMcv y7AkqM0Z2wBBfXHyT4nLVp+nKSorJEZ0M/nPNd9bf7ekLeaqpzECByuPnO0JYOVvedle km2Q== X-Gm-Message-State: AOJu0YxtKVIEPXyUabIO9Q60ByrhqAFuK1pkfNc9XKzb4m4JPgrdEB4V c5Eihn8yV1HXSgnkbPcK94dU3z07J8gD/Yh/flvrDVLz+hLs1k4/RY1ho1u/vGJsYj1759VIQzB fBPT11W0+TgUTk6yo/CoHDBJ9KRsEcqK4DZ1wzykAb0jq346NoQ9r0mY= X-Gm-Gg: Acq92OGY23BBIZ+PoqVBkc+w03BIDakHhM8e9tE3h04TCWj3BtZl4rSjK8vZAOPYrJc gFdhGgdUCw4F4q/C+kZRw39xvUyZBJx7t10aS6FwKqJCtDhGcZ07zJIZy8oFvBExOAbvL15IgP6 /C9FWvxp2RJ8Ga7zZw0kmLLPpdOwc4yqsE4sPWvhQelIsa/L4cM6umTN16bIfGJjPHzxjp6kOmu OjVswCipviP8ISmxua0YXqPHpdKe3eAoFcuWT381B5l3kn+SJNwfSJMRd5Jg5sCAQx3BHfha+vR Gl8QHnDKfNYg6nG9IkXbZy4ok9umQli+B7TJnhYqwzI679gQJHk7oZxpDMeoTAZAhenHUbEvQep IVTuotYR9RfBXWvaGmqZcS5qEx04BmE2vNScGDDC9I91a1SaGh+hUMIi+hndVwPI= X-Received: by 2002:a05:6122:401c:b0:575:e7e8:2aff with SMTP id 71dfb90a1353d-5760c050703mr105757e0c.9.1778775536370; Thu, 14 May 2026 09:18:56 -0700 (PDT) MIME-Version: 1.0 References: <87h5oajtfk.fsf@HIDDEN> <CAMbmz5nAqd5j5-kdeJu6PVwpRys4maCvqoVMdgN=Egjr_XC2Dw@HIDDEN> <CAHixrvZWUCaEVyem=w+-cgarCp8xJjFqEX9P0atbP9qeZ=0Sqw@HIDDEN> In-Reply-To: <CAHixrvZWUCaEVyem=w+-cgarCp8xJjFqEX9P0atbP9qeZ=0Sqw@HIDDEN> From: Derek Chen-Becker <derek@HIDDEN> Date: Thu, 14 May 2026 10:18:45 -0600 X-Gm-Features: AVHnY4LXXX7Wocjdop6DglcwqX-Qoq6om07vfp-rlaZYLwviuj5qw9LMqGwdvus Message-ID: <CAMbmz5m+CyTePLB1V+XoUasBxv=A_-3ST3ihXEOsqg4oiaqzEw@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph To: Augusto Stoffel <arstoffel@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000fb15ce0651c97305" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --000000000000fb15ce0651c97305 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ah, that's on me for missing it in the subject line :) I'll have to try building 31 locally to test. Cheers, Derek On Thu, May 14, 2026 at 8:38=E2=80=AFAM Augusto Stoffel <arstoffel@HIDDEN= m> wrote: > Hi Derek, > > it's a new command in Emacs 31. Sorry for the lack of context. > > Best, > Augusto > --=20 +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=3Dderek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+ --000000000000fb15ce0651c97305 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif;font-size:small">Ah, that's on me for missing it in = the subject line :) I'll have to try building 31 locally to test.</div>= <div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-seri= f;font-size:small"><br></div><div class=3D"gmail_default" style=3D"font-fam= ily:arial,helvetica,sans-serif;font-size:small">Cheers,</div><div class=3D"= gmail_default" style=3D"font-family:arial,helvetica,sans-serif;font-size:sm= all"><br></div><div class=3D"gmail_default" style=3D"font-family:arial,helv= etica,sans-serif;font-size:small">Derek</div></div><br><div class=3D"gmail_= quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_attr">On Thu, = May 14, 2026 at 8:38=E2=80=AFAM Augusto Stoffel <<a href=3D"mailto:arsto= ffel@HIDDEN">arstoffel@HIDDEN</a>> wrote:<br></div><blockquote cla= ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid = rgb(204,204,204);padding-left:1ex"><div dir=3D"auto">Hi=C2=A0Derek,<div dir= =3D"auto"><br></div><div dir=3D"auto">it's a new command in Emacs 31. S= orry for the lack of context.</div><div dir=3D"auto"><br></div><div dir=3D"= auto">Best,</div><div dir=3D"auto">Augusto</div></div> </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><font face=3D"monospa= ce, monospace">+-----------------------------------------------------------= ----+</font></div><div><font face=3D"monospace, monospace">| Derek Chen-Bec= ker=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|</font></div><div><span style=3D"font-family:monospace,mo= nospace">| GPG Key available at </span><a href=3D"https://keybase.io/dchenb= ecker" style=3D"font-family:monospace,monospace" target=3D"_blank">https://= keybase.io/dchenbecker</a><span style=3D"font-family:monospace,monospace"> = and=C2=A0 =C2=A0 =C2=A0 =C2=A0|</span><br></div><div><font face=3D"monospac= e, monospace">| <a href=3D"https://pgp.mit.edu/pks/lookup?search=3Dderek%40= chen-becker.org" target=3D"_blank">https://pgp.mit.edu/pks/lookup?search=3D= derek%40chen-becker.org</a> |</font></div><div><font face=3D"monospace, mon= ospace">| Fngrprnt: EB8A 6480 F0A3 C8EB C1E7=C2=A0 7F42 AFC5 AFEE 96E4 6ACC= =C2=A0 |</font></div><div><font face=3D"monospace, monospace">+------------= ---------------------------------------------------+</font></div><div><br><= /div></div></div></div></div> --000000000000fb15ce0651c97305--
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 14 May 2026 15:12:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 11:12:54 2026 Received: from localhost ([127.0.0.1]:37517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wNXk5-0005Cc-6d for submit <at> debbugs.gnu.org; Thu, 14 May 2026 11:12:54 -0400 Received: from mail-vk1-xa33.google.com ([2607:f8b0:4864:20::a33]:47124) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <derek@HIDDEN>) id 1wNVgQ-0007aA-DN for 81038 <at> debbugs.gnu.org; Thu, 14 May 2026 09:00:59 -0400 Received: by mail-vk1-xa33.google.com with SMTP id 71dfb90a1353d-575796e55b4so5094105e0c.2 for <81038 <at> debbugs.gnu.org>; Thu, 14 May 2026 06:00:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778763652; cv=none; d=google.com; s=arc-20240605; b=hGV7fizPA3J/HlUcxS4QdYGJdRJF1BdmclxUro0J7EQv1Vld7KzWGx0FbMv+Dnm+gj u7NYPNB3GkYN40+VUtwkBXd3uznufMg0cBskgLr87CDWvy0yIQlZMNJhjUY0ZXGWirtt 6P4kQVxQI4HEAyNiw7HYRM2ze0KiuuFAtMhTgpY81SldRIgxLbusWOjWZtshxfLWNwjz mN0LINU9xEXlSEgSL7YazZqPi+O6UMpzc/iJzZKHH6Iss+xAZwC1BsovpOHJdzAFmA4F wKE1e/zZPweVJIAZyRZi0THDz7jtBmowOZO1pIbz4ilN+BAKA8L+0VppPE7KEwS7Jsd6 lkbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=DoJYVKCyQQ+G4ny4OdajzThVA9Sy8pHceF5xRYyJztM=; fh=j+KVDLfTWvvcN8w0EUnPhlOxW2g+mu/RvZqPed1EWHs=; b=k570eAyNj2ifuyd0IdO9YZjfv7NiALL1e+HRaZcHjhWARdiRaHsfh8m1Z87ystU7A2 drBbxPFrSxLjUc/EClRatE9hpLSWyuVVanCRggws3aOxXJGhLPKnGNXF2l2Kv/AqCs2g Krvl9JskZ0V9bXIo3E8Ppeu/YaHTzbX0EaqcNP7wJjmxkwKHyFUiZZzO1vHkXXovILCK 8XYMUQsaq48U53VidBpqR5WiySBj3vs1UpsV/cu3dDv98wJg1O/VQa/XnZmrnyVKyOTM bZTFmIcJYSnrtGjc+EDOxrIcT3mfKLGUmLMhnfPnA2QsuVsaN77ltc5Rh19XXYNcKuDs gHFQ==; darn=debbugs.gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-becker.org; s=google; t=1778763652; x=1779368452; darn=debbugs.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=DoJYVKCyQQ+G4ny4OdajzThVA9Sy8pHceF5xRYyJztM=; b=NuB5JQVCKJSgK6FccjWh6n1iN43Q+ispjKrrpr+Z2MUARWMjjjZ+zTtdeuU8+exsQ4 1uVMqBxnGchAPFQ/oj8O/KojdNL4oH8fOZT4aUtSUgL56mSLmf0p9gkszGgebPtcNFNS pNy676DFSZEwoRCyTqPE8yjHFTqtJ3s0STxfK4LsV3+Tt1lcK3JsLpI7bKPLScid+3ae l14L6kF1AMaE0QjA+2dcGmFHhQO+B0iA0CF6t0V2ZYepevNFP1ymGFQ4J/xUFZqmxqFs 4oCmyR8MsJoDBReTfuHMSBwwnkmWwyzcgJDT0QbeEJHpPTU4phfAYFuTAruDmz8YWVgs UHNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778763652; x=1779368452; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=DoJYVKCyQQ+G4ny4OdajzThVA9Sy8pHceF5xRYyJztM=; b=EAPBGSZNtXdHNwKm+Srq0nWqB6Ck7HYY8y1kESHaRHrBxzql5D0PgTUJwtPFjpEdCo MwDEQo47+6qSGBnCG8PjprXL9yhJLSzxNODhAiPZU8wsS6qsh6jhcgNxUeljTJRTTcau Vo3zPPEQ6hbQPR2GRbSZWQDUWkAllwQDdL329/OtJ2FDRyuFqsXhhg526BOEKqlaN5mY TDkkMbyZQSkvIGpSqBgHfTDfE7Cg+eUq0RqFaDGO3Wgs3ONvnVBAiAVuxB7DyeCWftVO P6rCdwQS9WY2qPIBrUcQiUpuueQOKBVxePDmVyStzFxrX01huV/r30nnMbfjRRhLo/oN 3vdQ== X-Gm-Message-State: AOJu0YxXi2FaQlPoL2MrYccWThUKKaQzdHpoPcUESvw8eOUDcFJZBZUD +OlglD/IVvjCz7oEqWuMkvo6DZujKe4mOOxu1DhJfeY3NsbKmGTPZcO+/lMwFL7kDXRTSGKOaAu TEG1JfJcnfp4ZbYX8u9J42nRdjgwB6qHBDr3bNTbndw== X-Gm-Gg: Acq92OHfDwp8v6mhnFJ2pDhxHDyT4kqvRfTcJidlGJo/ajCgc+5bV6wvGlfYynf13tM NJpLI+itRhrrh3Ocnr7KfAjp7q8/h0ozELXOb/KDG+IFcCQfNH6ORYEsEI2ndmGks2vFGy3J+pr hUtZCWBpWEoB8ubBLtC2I3+EyCnSn3/X8LjY/9tCtPK93H+edTLto8GbdJO44ZX76d2xkyNZxzE n9UuR8MTf+uPxgQXhMPwJrbigU53zt0smRjHqKWVIDqQQKTPEUSkTVkERG2547AT73VSxGyB2X7 7w66CHqcUfNy6GnUn9nzq8rDUnwfv6WBGULCQQNod8F4EUW8hyCrYmJdiaJN8CJ90egWMV3hIUJ xg28eW5Z/8vyPjkmvdyY1XvrGZlsdXMsmtXRackOdJqhKPGfxDsuxm8MtEJWHu88nmuDE X-Received: by 2002:a05:6122:ecb:b0:572:353f:be2d with SMTP id 71dfb90a1353d-575e70c4470mr4149515e0c.13.1778763650787; Thu, 14 May 2026 06:00:50 -0700 (PDT) MIME-Version: 1.0 References: <87h5oajtfk.fsf@HIDDEN> In-Reply-To: <87h5oajtfk.fsf@HIDDEN> From: Derek Chen-Becker <derek@HIDDEN> Date: Thu, 14 May 2026 07:00:39 -0600 X-Gm-Features: AVHnY4JmjLOffzEHt7Hi2VdSMJMeSbDz4MZtZRG2FmzYpmEo79i-6teJzECSWcs Message-ID: <CAMbmz5nAqd5j5-kdeJu6PVwpRys4maCvqoVMdgN=Egjr_XC2Dw@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph To: Augusto Stoffel <arstoffel@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000008b7a390651c6af01" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 81038 X-Mailman-Approved-At: Thu, 14 May 2026 11:12:52 -0400 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000008b7a390651c6af01 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Augusto, I tried to reproduce but I don't have an `unfill-paragraph' function defined in Org. Can you clarify what that means? Thanks, Derek On Thu, May 14, 2026 at 2:20=E2=80=AFAM Augusto Stoffel <arstoffel@HIDDEN= m> wrote: > Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, > if at the very end of a paragraph (looking-at-p "\n\n."), then > unfill-paragraph doesn't do anything. > > > > --=20 +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=3Dderek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+ --0000000000008b7a390651c6af01 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he= lvetica,sans-serif;font-size:small">Hi Augusto,</div><div class=3D"gmail_de= fault" style=3D"font-family:arial,helvetica,sans-serif;font-size:small"><br= ></div><div class=3D"gmail_default" style=3D"font-family:arial,helvetica,sa= ns-serif;font-size:small">I tried to reproduce but I don't have an `unf= ill-paragraph' function defined in Org. Can you clarify what that=C2=A0= means?</div><div class=3D"gmail_default" style=3D"font-family:arial,helveti= ca,sans-serif;font-size:small"><br></div><div class=3D"gmail_default" style= =3D"font-family:arial,helvetica,sans-serif;font-size:small">Thanks,</div><d= iv class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif;= font-size:small"><br></div><div class=3D"gmail_default" style=3D"font-famil= y:arial,helvetica,sans-serif;font-size:small">Derek</div></div><br><div cla= ss=3D"gmail_quote gmail_quote_container"><div dir=3D"ltr" class=3D"gmail_at= tr">On Thu, May 14, 2026 at 2:20=E2=80=AFAM Augusto Stoffel <<a href=3D"= mailto:arstoffel@HIDDEN">arstoffel@HIDDEN</a>> wrote:<br></div><bl= ockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-lef= t:1px solid rgb(204,204,204);padding-left:1ex">Not sure this is a bug in Em= acs or Org, but I noticed that in org-mode,<br> if at the very end of a paragraph (looking-at-p "\n\n."), then<br= > unfill-paragraph doesn't do anything.<br> <br> <br> <br> </blockquote></div><div><br clear=3D"all"></div><div><br></div><span class= =3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_s= ignature"><div dir=3D"ltr"><div><div dir=3D"ltr"><div><font face=3D"monospa= ce, monospace">+-----------------------------------------------------------= ----+</font></div><div><font face=3D"monospace, monospace">| Derek Chen-Bec= ker=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0|</font></div><div><span style=3D"font-family:monospace,mo= nospace">| GPG Key available at </span><a href=3D"https://keybase.io/dchenb= ecker" style=3D"font-family:monospace,monospace" target=3D"_blank">https://= keybase.io/dchenbecker</a><span style=3D"font-family:monospace,monospace"> = and=C2=A0 =C2=A0 =C2=A0 =C2=A0|</span><br></div><div><font face=3D"monospac= e, monospace">| <a href=3D"https://pgp.mit.edu/pks/lookup?search=3Dderek%40= chen-becker.org" target=3D"_blank">https://pgp.mit.edu/pks/lookup?search=3D= derek%40chen-becker.org</a> |</font></div><div><font face=3D"monospace, mon= ospace">| Fngrprnt: EB8A 6480 F0A3 C8EB C1E7=C2=A0 7F42 AFC5 AFEE 96E4 6ACC= =C2=A0 |</font></div><div><font face=3D"monospace, monospace">+------------= ---------------------------------------------------+</font></div><div><br><= /div></div></div></div></div> --0000000000008b7a390651c6af01--
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at 81038) by debbugs.gnu.org; 14 May 2026 14:38:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 10:38:17 2026 Received: from localhost ([127.0.0.1]:37232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wNXCa-00028A-JM for submit <at> debbugs.gnu.org; Thu, 14 May 2026 10:38:17 -0400 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:51247) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <arstoffel@HIDDEN>) id 1wNXCX-000275-JW for 81038 <at> debbugs.gnu.org; Thu, 14 May 2026 10:38:15 -0400 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-bd394f4a931so430761566b.2 for <81038 <at> debbugs.gnu.org>; Thu, 14 May 2026 07:38:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778769487; cv=none; d=google.com; s=arc-20240605; b=CgSMqTTSJKjz6BZG5wLZ+/ndrqoBguFbTe2AtchC32e5Jv5PK1F12mFmJgB8b10mvI ngHJuuXphD3Jqf2uv7ln9QtQBTdtOfykg9PhiSRuzerFIdBarZyKWBggvwnYRT8hpswV x5VSRK/MZUXggew1GYbsdVqnYLyRRoTU4fg+SacyNJ5VT6Qiq14i0gKmL35razYxAeJr HDZhlFy5VSUkNcqSA/7OFDnfGuBhu7cyagaam5O/LRX4+CKGT77FeQtX+TJFLnxHK21+ Sed/lPlNV3TanUGnAcEwEP7bCkcGRKUi0o+JFq8MiD9Nhxt4TFvC/ZD1xLbyEfL8phX4 Im8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=FIeBr5vuXoMGzqLEqHigz7oZQrTTrOsQ077KuzwUiEg=; fh=l6RxdQabl6Fm7q74z7bzsBs/DrYSIfTVuerkw5FkUeA=; b=M8Tdm6oo4fljNhFShkSGwbXsyKrgEz+jXsGEi36RGlxMajgi5ArYNNwCsMwPP7mByY dZEHvh8PRgg4WMR4aOAhK91xb9liqO7hk9XEpEnCaiUp3y8B6/JMYGPNX3pTZNcPO1uA LLZUMGhWrO0jche9zdF7eaMvhezFo7PriBsVmhYk62lw/6WCJ/KBTjW9jkWl2Z0RSoRQ VO6iZRoCl8dFN7NLIQDp64OqmHMvSzJmCTZwSjra9/A4bZyfk1KCwPfjKd69oiz/nufM /7a2n54d1s+WoCZa+/R371K+meUP0ElRoRk+ObpguZR7XVzOznynjmT5QafMOgu0ZZy0 EC3g==; darn=debbugs.gnu.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778769487; x=1779374287; darn=debbugs.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=FIeBr5vuXoMGzqLEqHigz7oZQrTTrOsQ077KuzwUiEg=; b=Ep2R578m3vxH1vNIdZFBcmANZ0nGK9rEmXv9idSNhYalNjgB+DXWcDIbaPKa0xRCZK Nxo42A8V1gIjkNwFDeM2fQdojOv4zT2VuVq9D2qSuSPDWAHueqLEPo4In1WvEYpDCTnG C0fEwL/CgyvCOoez7eC/nDC3CDyMqUpKx6c3DlsHAMFgdL2aHY09wwhbgu3mFi6hJro0 VQnd5FkxoAKUi3hfasRzyfraqO3syPJBZ8GqCZNwEKIsBCc5oiXJD0VkwmHAzVOIZnej dt/qF9EC0vLEvvWw9YEK/FXlomqIXn/fVrd2tb/cKyX3tK0CuHQDmOAqgVeH7ddkqhbl tLmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778769487; x=1779374287; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=FIeBr5vuXoMGzqLEqHigz7oZQrTTrOsQ077KuzwUiEg=; b=hugGHolXvI7eOnYhUpmd16/gDmnFJbjj7Jtke44uwlcIGYV9klJCvjcZzQumxBK4vX zJk4i0wdcfmEhKBzwmo1bacAQ6IV99gNEpkWIBZhdNGeW7j2KNSf018/OknWvEpWTdHL dWHqtBjTeujgBVXq86Pyzrwg1vbal/jeVegJOqr/T0dL2XhzLub7yvNG0NFTSNG/LQEq Iyz6jsWtt6GE21crS9eCOYcP6N1WHPA3V4Q1ovVOVFt1+FCzp7ii0EFQgJ624vqu4qJE aUGmr7lmQiy6xfuSJzlYBQO7qEIopWzY14fcg/mv8NDyfM6q08nsDU7K9fRtHLjm8VK5 GV9A== X-Gm-Message-State: AOJu0Yw/SAGIbdTcAleDnjRQfAgjLuUYEgkp3AJmPDtahf8okV0vjoy3 1lWeTbHemcQb5WHlGjHE6VDofBlos8v2M0TwdnXTWl4/ccbpr2Z9VmJsZcvnBsBXYgbhuyihLay oPbG4pLuw24bnxnp1LR3fi3G0QEdnSMU= X-Gm-Gg: Acq92OF+uZK6IH6llJe4kqMSI6yC1qPULM0hLL5yT82TnVOUrh9y7v+B8j9yTTUzGMH bBxmXQekXwejIwHSCoqRDZtQ+PifQsNESsPHPuAa49W8vbVxwCKBg3G1Q6FtqZAz3aS4B8SIqfQ 0Nt4sH1g6JHxBG6Xc2w8Qh4kYZadGmJVvGRLhmHpMDrwv6qwQ/lM3YUHXOc2ywBaz/MV2kXwhyR 8cKaeUtBZ/R5EG5Iv4i5d6NkYq0C/PELOqGtheVr/Gt2LHyE3b7ECT+MM+6Vh4f6ghbxUcI3fUo d+LoNxuTv4XXDTQRx4guBHtAAjZEfgF9YLnHg7o= X-Received: by 2002:a17:907:9802:b0:bd0:4f6e:9b2f with SMTP id a640c23a62f3a-bd3bf197d33mr566767266b.1.1778769486649; Thu, 14 May 2026 07:38:06 -0700 (PDT) MIME-Version: 1.0 References: <87h5oajtfk.fsf@HIDDEN> <CAMbmz5nAqd5j5-kdeJu6PVwpRys4maCvqoVMdgN=Egjr_XC2Dw@HIDDEN> In-Reply-To: <CAMbmz5nAqd5j5-kdeJu6PVwpRys4maCvqoVMdgN=Egjr_XC2Dw@HIDDEN> From: Augusto Stoffel <arstoffel@HIDDEN> Date: Thu, 14 May 2026 16:37:54 +0200 X-Gm-Features: AVHnY4LqOGP3d3s0p7AS0LNhgBzlDAWcXysMGJdNqwhCE8EQTALFGDXBaBt3RVM Message-ID: <CAHixrvZWUCaEVyem=w+-cgarCp8xJjFqEX9P0atbP9qeZ=0Sqw@HIDDEN> Subject: Re: bug#81038: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph To: Derek Chen-Becker <derek@HIDDEN> Content-Type: multipart/alternative; boundary="000000000000639fcf0651c80ba6" X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 81038 Cc: 81038 <at> debbugs.gnu.org, emacs-orgmode@HIDDEN, Sean Whitton <spwhitton@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) --000000000000639fcf0651c80ba6 Content-Type: text/plain; charset="UTF-8" Hi Derek, it's a new command in Emacs 31. Sorry for the lack of context. Best, Augusto --000000000000639fcf0651c80ba6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"auto">Hi=C2=A0Derek,<div dir=3D"auto"><br></div><div dir=3D"aut= o">it's a new command in Emacs 31. Sorry for the lack of context.</div>= <div dir=3D"auto"><br></div><div dir=3D"auto">Best,</div><div dir=3D"auto">= Augusto</div></div> --000000000000639fcf0651c80ba6--
bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.Received: (at submit) by debbugs.gnu.org; 14 May 2026 08:18:26 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 14 04:18:25 2026 Received: from localhost ([127.0.0.1]:34748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1wNRGy-0002f6-TP for submit <at> debbugs.gnu.org; Thu, 14 May 2026 04:18:25 -0400 Received: from lists1p.gnu.org ([2001:470:142::17]:42782) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from <arstoffel@HIDDEN>) id 1wNRGw-0002dq-EA for submit <at> debbugs.gnu.org; Thu, 14 May 2026 04:18:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <arstoffel@HIDDEN>) id 1wNRGq-0007iN-Ls for bug-gnu-emacs@HIDDEN; Thu, 14 May 2026 04:18:16 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <arstoffel@HIDDEN>) id 1wNRGn-0003xR-HE for bug-gnu-emacs@HIDDEN; Thu, 14 May 2026 04:18:15 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-48984d29fe3so82349715e9.0 for <bug-gnu-emacs@HIDDEN>; Thu, 14 May 2026 01:18:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778746689; x=1779351489; darn=gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=wCnL9CkmyOHBTCW9zrBHudRLeKHi8LTScb3NFH8Sbnw=; b=l6Fr+106oMqGVBThqX+e1Wd0EYoNa5Q0h8Jme8YETvdN4FE3Lp1eHMLZYnmZ7+1OWB VhDj/AiL2s3mUTKPZXg6u5TuXRdNITrWU4CXe63lbeLBEAZmcOnIgVknNytkNglJf7R8 TsM+Q0weGxeXmpHJiEROKYzI+JtSsUKdkmAn+hNjG7vWoE+F8IA53m49eguyX7TxT633 g4g+fn+U3ielv9vlj99m+orNYy6hG2vg2cXSGYbvoI9i16R03vyVZGkwxdWj1Oq5GBmk fboyrmy1l4UTTZeA7nnndIA42HFpVlVjnw/TGvCuXWJ/WhfGZF8p+VPk6Ku1RFm9XcaN BpmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778746689; x=1779351489; h=mime-version:message-id:date:subject:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wCnL9CkmyOHBTCW9zrBHudRLeKHi8LTScb3NFH8Sbnw=; b=NPVBg7Mq5M9C2b/hyXwsK/JBUF+ler+sRchM/bF117riQGliMUb8Fop0ys82mFFVpB vgT0NYatMBxTdCfdSuUwJQYeTcu5OhCDkGdiyouYQWb+VpLIAwx03xMmJ6inQ4+UB5ln B4iJFW4cVuDOPj+MM8Jua6aEpzjbYYB9t/cVMQQtr976xcgdGD0FsBEjv9dWgA6YkGqh Qo6FQTtewY419wpWiSbSKB6McSoIlznq11e7HRZGca584K4t9A9R94hurnWCzAc0Xpcz 5/gFDZECRaP3RNpMo9/Qc8AIJQdCaQzeqStfYNmoOBvG6vA6xuEUMgFq2ism0TTbAbOu CtnQ== X-Gm-Message-State: AOJu0Yw5Ss6kQZSr1N7GVUJjW6kgytq4BKlI5J95IO4npuoYcgDOtTUF KqBmTHYPRclceSDILNUXT+OrWUSkt1EfqI1hjGbuydA3OnJkJQf2+3KScgKDbA== X-Gm-Gg: Acq92OFCbabPC3fY5gkjViKJ9pR7Rjoz0mF3i5v6pH8TvZZJSXP2St2liLlC/GZpB2w Pl4AxYksjGf36f43+g9UsGMnHdzUEJFe5j9ytZQ9pYqeF2v6DvsMJmVJ8Dwcr8YIeUZn4+JXtVu Cs+/2rHRS3+2GNTla+P6+ByQVeKztX2pMdOngiviizhdT7KFga5P74C+R25RZWg/7xaO4zMJVIj TShtIHzUcBMVKoXPomKX4iZ+K056U2La3XatAfoS3oVuOYWGMmtz0Z/nj87030bP6lJVyD1yPDi xiutdmJZierZdZMRe2rkW01oClcfZxAceJDAPlIQnr74a1ulARMtLhpSklAcKVia9ngbEsrFrtC RW5Hp0d1esddbH8JoHfbK5J/YmYfave9EKZ4KrjE8/uqp8PVa39ISygCphCI3GqMedTOHZcIz2J O/TloHhB8Ci4UkEMFC+Q== X-Received: by 2002:a05:600c:4494:b0:48f:d410:6065 with SMTP id 5b1f17b1804b1-48fd410610dmr41043385e9.29.1778746688768; Thu, 14 May 2026 01:18:08 -0700 (PDT) Received: from ars3 ([2a02:8109:8a95:9a00:a174:43ce:14f5:df5e]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fd64cead5sm46257465e9.10.2026.05.14.01.18.08 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 May 2026 01:18:08 -0700 (PDT) From: Augusto Stoffel <arstoffel@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 31.0.50; In org-mode, unfill-paragraph doesn't work at the very end of a paragraph X-Debbugs-Cc: Sean Whitton <spwhitton@HIDDEN>, emacs-orgmode@HIDDEN Date: Thu, 14 May 2026 10:18:07 +0200 Message-ID: <87h5oajtfk.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=arstoffel@HIDDEN; helo=mail-wm1-x336.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, 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-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, if at the very end of a paragraph (looking-at-p "\n\n."), then unfill-paragraph doesn't do anything. Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (arstoffel[at]gmail.com) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 1.0 FORGED_GMAIL_RCVD 'From' gmail.com does not match 'Received' headers X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 1.0 (+) Not sure this is a bug in Emacs or Org, but I noticed that in org-mode, if at the very end of a paragraph (looking-at-p "\n\n."), then unfill-paragraph doesn't do anything.
Augusto Stoffel <arstoffel@HIDDEN>:spwhitton@HIDDEN, emacs-orgmode@HIDDEN, bug-gnu-emacs@HIDDEN.
Full text available.spwhitton@HIDDEN, emacs-orgmode@HIDDEN, bug-gnu-emacs@HIDDEN:bug#81038; Package emacs.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.