Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The mode doesn't consider title and following text as separate paragraphs if there is no empty line between them #44

Closed
doublep opened this issue Nov 16, 2023 · 0 comments · Fixed by #45

Comments

@doublep
Copy link

doublep commented Nov 16, 2023

Expected behavior

Text remains on two lines. Titles don't have to be followed by an empty line (which is also sort-of-suggested by the mode, as it fontifies the title line specially), so the two lines must be considered "separate paragraphs".

Actual behavior

Both lines are merged together, making everything a title.

Steps to reproduce the problem

  1. Run eldev emacs /tmp/test.adoc
  2. Type == foo RET bar, i.e. a title and one more text line.
  3. Press M-q.

Environment & Version information

Adoc-Mode version information

Latest Git checkout.

Emacs version

29.1

TobiasZawada pushed a commit that referenced this issue Jan 30, 2024
Note that this was a workaround for byte-compiler warnings about an assignment to a free variable int.
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
TobiasZawada pushed a commit that referenced this issue Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant