bastibe / org-journal

A simple org-mode based journaling mode
BSD 3-Clause "New" or "Revised" License
1.24k stars 123 forks source link

Unwanted indentation in wrapped text #401

Open jackbaty opened 2 years ago

jackbaty commented 2 years ago

Describe the bug When text is wrapped (visual-line-mode) in an Org-journal buffer, each wrapped line is indented.

It does not seem to matter which font I'm using or whether I'm in variable-pitch-mode. I've tried changing adaptive-wrap-prefix-mode but that doesn't seem to make a difference.

Sometimes when a journal buffer is first opened, the wrapped lines indent correctly, but if the line is edited, the indent changes to what the screenshot below shows.

To Reproduce Type a line in an org-journal buffer that is long enough to (visually) wrap.

Expected behavior I would expect the left edge of each wrapped line to be indented the same amount.

Screenshots Here is the buffer in org-journal mode

20221005 3@2x

And here is the same buffer after switching it to org-mode

20221005 4@2x

Desktop (please complete the following information):