Re: Bug: Org with auto-fill does not insert linebreaks properly [9.3 (release_9.3 @ /snap/emacs/current/usr/share/emacs/27.0.90/lisp/org/)]

2020-04-12 Thread Nicolas Goaziou
Hello,

Leo Alekseyev  writes:

> Consider the following text:
> begin example
> ---
> ---
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
> ---
> ---
> end example-
>
> With auto-fill mode on, continuing to type on the "Lorem ipsum"
> line results in the following:
> begin example
> ---
> ---
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
> ---eiusmod asdf
> ---
> end example-
>
> Notice how "eiusmod" does not start on a new line, as would be
> expected.

I don't think this is specific to Org mode. Text mode behaves the same.
The prefix for the current paragraph is "---".

Regards,

-- 
Nicolas Goaziou



Bug: Org with auto-fill does not insert linebreaks properly [9.3 (release_9.3 @ /snap/emacs/current/usr/share/emacs/27.0.90/lisp/org/)]

2020-04-12 Thread Leo Alekseyev
Consider the following text:
begin example
---
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
---
---
end example-

With auto-fill mode on, continuing to type on the "Lorem ipsum"
line results in the following:
begin example
---
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
---eiusmod asdf
---
end example-

Notice how "eiusmod" does not start on a new line, as would be expected.
Here is a GIF of this behavior in action:
https://www.dropbox.com/s/w9a803t0qotqe6j/org_autofill_bug.gif?dl=0

Tested with emacs -Q, org 9.3 (lisp that ships with emacs 27)