emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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 22:04 Leo Alekseyev
  2020-04-12 22:26 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Alekseyev @ 2020-04-12 22:04 UTC (permalink / raw)
  To: Emacs orgmode

[-- Attachment #1: Type: text/plain, Size: 630 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 943 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 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 22:04 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/)] Leo Alekseyev
@ 2020-04-12 22:26 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2020-04-12 22:26 UTC (permalink / raw)
  To: Leo Alekseyev; +Cc: Emacs orgmode

Hello,

Leo Alekseyev <dnquark@gmail.com> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-04-12 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-12 22:04 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/)] Leo Alekseyev
2020-04-12 22:26 ` Nicolas Goaziou

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).