emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: stardiviner <numbchild@gmail.com>
To: tomas@tuxteam.de
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph
Date: Mon, 06 Jul 2020 19:58:20 +0800	[thread overview]
Message-ID: <87lfjwq2hv.fsf@gmail.com> (raw)
In-Reply-To: <20200706115348.GB3537@tuxteam.de>


tomas@tuxteam.de writes:

> On Mon, Jul 06, 2020 at 07:40:48PM +0800, stardiviner wrote:
>> 
>> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:
>> 
>> > Hello,
>> >
>> > stardiviner <numbchild@gmail.com> 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


  reply	other threads:[~2020-07-06 11:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-06  9:22 [BUG] org-fill-paragraph [M-q] not apply on last paragraph stardiviner
2020-07-06 10:09 ` Nicolas Goaziou
2020-07-06 11:40   ` stardiviner
2020-07-06 11:53     ` tomas
2020-07-06 11:58       ` stardiviner [this message]
2020-07-06 15:33         ` tomas
2020-07-06 20:14           ` Richard Kim
2020-07-07  8:42     ` Nicolas Goaziou
2020-07-08  1:43 ` [SOLVED] " stardiviner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lfjwq2hv.fsf@gmail.com \
    --to=numbchild@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tomas@tuxteam.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).