"Jacob S. Gordon" <[email protected]> writes:

> When calling ‘org-fill-paragraph’ (‘M-q’) on a paragraph that starts
> with bold text, the subsequent lines align one character to the right
> of the left margin instead of flush:
>
>> *The* quick brown fox jumps over the lazy dog while the sphinx of
>>  black quartz judges my vow.
>
> or with ‘(setopt org-hide-emphasis-markers t)’:
>
>> The quick brown fox jumps over the lazy dog while the sphinx of
>>  black quartz judges my vow.
>
> I think this is related to adaptive filling, as removing ‘*’ from
> ‘adaptive-fill-regexp’ seems to fix the problem.

Yes, it is indeed related to adaptive filling.
Supporting adaptive fill is a feature, dating back to
https://list.orgmode.org/orgmode/camqxdzvu9s2uwbzs0teulkmlc-e-xv7v8jt36calpdec_ak...@mail.gmail.com/
where the request was made to support it.
The default fill prefix regexp treats "*" as prefix.

Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8829a05bf

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to