From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MGDaOhARA192OgAA0tVLHw (envelope-from ) for ; Mon, 06 Jul 2020 11:54:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wO2YNhARA19HaQAA1q6Kng (envelope-from ) for ; Mon, 06 Jul 2020 11:54:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6D63D9401AE for ; Mon, 6 Jul 2020 11:54:56 +0000 (UTC) Received: from localhost ([::1]:58972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsPi3-0000Qa-9l for larch@yhetil.org; Mon, 06 Jul 2020 07:54:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsPh2-000837-Nb for emacs-orgmode@gnu.org; Mon, 06 Jul 2020 07:53:53 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:34579) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jsPh0-0004sa-Mv for emacs-orgmode@gnu.org; Mon, 06 Jul 2020 07:53:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=jISNTBT/NaDdnztmpxF74TKLfJpCJNn63+4hKY2YUuo=; b=GkqhlhtO3MCl79G6br9qAI24zQvnQ1Z7/D397w5V4J/nomQbeHY5a1C4YoGxViQy9vH4j3zjwD2X/vG3JOVT8GJVk+dye23M4HkL55p+Jo/wlKMNWBC90F8WTvibBBc+9taJXUWqjY9jvF9USLq+Y1XAjr1lktpJbPcNM+neN6JgM2WsXAn+BB6qGt+C45+cbqs7/BYTNvicP2QnnhtPekdZRHVUqAE+cSp/yi6a0o/A7QOBEH4oP4V2grRXpM3l7Ot27pUNLQvN4OtFDQx9mxF8wfu8HAPYEh7E0TtehHd3nNoNeRspkeaul5R/5CvKAqhlMDrduHAOyPGPDsC0UA==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jsPgy-0002tD-MO for emacs-orgmode@gnu.org; Mon, 06 Jul 2020 13:53:48 +0200 Date: Mon, 6 Jul 2020 13:53:48 +0200 To: emacs-orgmode@gnu.org Subject: Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph Message-ID: <20200706115348.GB3537@tuxteam.de> References: <87r1tpov50.fsf@gmail.com> <87zh8d2bvm.fsf@nicolasgoaziou.fr> <87o8osq3b3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EuxKj2iCbKjpUGkD" Content-Disposition: inline In-Reply-To: <87o8osq3b3.fsf@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 07:53:49 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=GkqhlhtO; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Spam-Score: -3.31 X-TUID: lA3ONCNEy23a --EuxKj2iCbKjpUGkD Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote: >=20 > Nicolas Goaziou writes: >=20 > > Hello, > > > > stardiviner writes: > > > >> After recently (about weeks) update in Org Mode "master" branch. I fou= nd [M-q] > >> org-fill-paragraph command not apply on the last paragraph of region s= elect > >> large part of text. I don't have this problem before. > > > > This is very vague. Do you have an ECM demonstrating the issue? >=20 > I have long minimal-init.el config file. I will attach the init file in a= ttachments. >=20 > And here is the steps I reproduce this bug: >=20 > 1. Open an Org file which contains long un-wrapped text. Like this: >=20 > #+begin_src org > In addition to debugging a program, VS Code supports running the progr= am. The *Debug: Run (Start Without Debugging)* /action/ is triggered with = =3D[Ctrl+F5]=3D and uses the currently selected launch configuration. Many = of the launch configuration attributes are supported in 'Run' mode. VS Code= maintains a debug session while the program is running, and pressing the S= top button terminates the program. > =20 > Tip: The Run action is always available, but not all debugger extensio= ns support 'Run'. In this case, 'Run' will be the same as 'Debug'. > #+end_src >=20 > 2. region select two paragraphs. >=20 > 3. press [M-q] ~org-fill-paragraph~ command. >=20 > 4. The second paragraph is not filled. FWIW, it does for me. One thing I noticed, though, is that due to the long lines, the last one may be partially selected. In that case, the unselected part doesn't get the fill treatment. When I make sure /everything/ is selected, M-q does what I expect. Cheers -- t --EuxKj2iCbKjpUGkD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl8DEMwACgkQBcgs9XrR2kZ8JwCfTHt6Db1O2vUasH4GILQsnoTR 3a0AnApWSNOzyROjv6GHjXFSfTgyMjNJ =pDKJ -----END PGP SIGNATURE----- --EuxKj2iCbKjpUGkD--