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 aEPYFwISA1+YRAAA0tVLHw (envelope-from ) for ; Mon, 06 Jul 2020 11:58:58 +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 sHTREwISA18hagAA1q6Kng (envelope-from ) for ; Mon, 06 Jul 2020 11:58:58 +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 B38899400B7 for ; Mon, 6 Jul 2020 11:58:57 +0000 (UTC) Received: from localhost ([::1]:34562 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsPlv-0002YB-UN for larch@yhetil.org; Mon, 06 Jul 2020 07:58:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsPlc-0002Y5-P4 for emacs-orgmode@gnu.org; Mon, 06 Jul 2020 07:58:36 -0400 Received: from [183.249.139.74] (port=10761 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsPla-0005fq-U5 for emacs-orgmode@gnu.org; Mon, 06 Jul 2020 07:58:36 -0400 Received: by localhost (Postfix, from userid 1000) id 4B0F0241433; Mon, 6 Jul 2020 19:58:20 +0800 (CST) References: <87r1tpov50.fsf@gmail.com> <87zh8d2bvm.fsf@nicolasgoaziou.fr> <87o8osq3b3.fsf@gmail.com> <20200706115348.GB3537@tuxteam.de> User-agent: mu4e 1.4; emacs 28.0.50 From: stardiviner To: tomas@tuxteam.de Subject: Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph In-reply-to: <20200706115348.GB3537@tuxteam.de> Date: Mon, 06 Jul 2020 19:58:20 +0800 Message-ID: <87lfjwq2hv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.139.74 (deferred) Received-SPF: softfail client-ip=183.249.139.74; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/06 07:40:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 63 X-Spam_score: 6.3 X-Spam_bar: ++++++ X-Spam_report: (6.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, SPOOFED_FREEMAIL_NO_RDNS=1 autolearn=_AUTOLEARN X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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: -0.91 X-TUID: MphIEl/MFqgv tomas@tuxteam.de writes: > On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote: >> >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > stardiviner writes: >> > >> >> After recently (about weeks) update in Org Mode "master" branch. I found [M-q] >> >> org-fill-paragraph command not apply on the last paragraph of region select >> >> large part of text. I don't have this problem before. >> > >> > This is very vague. Do you have an ECM demonstrating the issue? >> >> I have long minimal-init.el config file. I will attach the init file in attachments. >> >> And here is the steps I reproduce this bug: >> >> 1. Open an Org file which contains long un-wrapped text. Like this: >> >> #+begin_src org >> In addition to debugging a program, VS Code supports running the program. The *Debug: Run (Start Without Debugging)* /action/ is triggered with =[Ctrl+F5]= 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 Stop button terminates the program. >> >> Tip: The Run action is always available, but not all debugger extensions support 'Run'. In this case, 'Run' will be the same as 'Debug'. >> #+end_src >> >> 2. region select two paragraphs. >> >> 3. press [M-q] ~org-fill-paragraph~ command. >> >> 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. I'm sure I select everything. Are you using the latest commit in "master" branch? If not, can you test with that? -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3