From: <tomas@tuxteam.de>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph
Date: Mon, 6 Jul 2020 13:53:48 +0200 [thread overview]
Message-ID: <20200706115348.GB3537@tuxteam.de> (raw)
In-Reply-To: <87o8osq3b3.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1726 bytes --]
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.
Cheers
-- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2020-07-06 11:54 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 [this message]
2020-07-06 11:58 ` stardiviner
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=20200706115348.GB3537@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=emacs-orgmode@gnu.org \
/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).