emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Kim <emacs18@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-fill-paragraph [M-q] not apply on last paragraph
Date: Mon, 06 Jul 2020 13:14:12 -0700	[thread overview]
Message-ID: <87imf01jvv.fsf@gmail.com> (raw)
In-Reply-To: 20200706153316.GC3537@tuxteam.de


I see the problem as well using very latest org source code, i.e., this change

  * 2020-07-06 12:05:18 +0200 07a4a7286 Nicolas Goaziou list: Fix regression when inserting items

I created two long lines separated by a blank line.
Each long line was created by typing "0 1 2 3 4 5 6 7 8 9 " then repeating it 7 more times.

There are multiple problems.

1. Select both long lines and the blank line in between.
   M-q fills the first line but not the second one.

2. Select only the second line.
   M-q fills the first line, i.e., the line that was not selected!
   It does not fill the second line.

3. The problem occurs whether the long lines are delimited between
   #+begin_src ... #+end_src or not.

4. Select only the first line.
   M-q does nothing!

5. Select first line plus the following blank line.
   M-q fills first line.

6. The problem occurs for normal emacs mode as well vim mode within spacemacs.



  reply	other threads:[~2020-07-06 20:14 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
2020-07-06 15:33         ` tomas
2020-07-06 20:14           ` Richard Kim [this message]
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=87imf01jvv.fsf@gmail.com \
    --to=emacs18@gmail.com \
    --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).