Questions tagged [fill-paragraph]
a command which wraps the words or redistributes the newlines within a paragraph as defined by the current major-mode
7
questions
5
votes
2answers
415 views
How can I stop org-mode treating a number followed by a full stop as a bullet point?
I'm using org-mode to write some documentation. After changing some wording, fill-paragraph has arranged things so there's a number followed by a full stop at the start of a line. Like this:
Blah ...
30
votes
5answers
3k views
Editing files with one-sentence-per-line
A bit of background.
I’m trying to version-control my latex documents, and the
effectiveness of this initiative would be greatly improved if I adopt
a one-sentence-per-line approach.
For instance, ...
14
votes
2answers
2k views
How can I split paragraph into one-line-per-sentence but still keep it wrapped visually?
This is similar to Editing files with one-sentence-per-line (in function as well as motive), but I wish to have a full, flowing paragraph rather than visual breaks at every sentence.
I would like to ...
16
votes
2answers
1k views
Make fill-paragraph in python docstring leave the triple-quotes on separate line
I type a python docstring all on one line like this:
"""
This is a long docstring. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec a diam lectus. Sed sit amet ipsum mauris. Maecenas ...
4
votes
1answer
213 views
Prevent fill-paragraph from breaking LaTeX citations in Org Mode
Stumbled upon the following problem.
Whenever fill-paragraph finds a LaTeX citation such as \citep[][p. 10]{darwin1859} (which appears as (Darwin, 1859, p. 10)), the paragraph gets broken like this:
...
2
votes
1answer
396 views
What is this M-q behaviour in Emacs 26.1 message mode
Since updating to Emacs 26.1. message mode was changed so that M-q does something unexpected. I have fill-column and message-fill-column both set to 72 and pressing M-q on this text:
turns it into ...
1
vote
0answers
61 views
org-fill-paragraph leaves a comma at end of C style comment
In a src block when there is a C style comment /* ... */ doing an org-fill-paragraph would always put a comma just before the last star, like this:
/*
Some comment
,*/
Is there a way to stop it from ...