Desired behaviour: emphasis markers that only work within a
paragraph (sentences without a line break). In the following example, only the
first expression should appear in bold:
*jk j*
*jk
j*
So I set the maximum new lines to zero in org-emphasis-regexp-components (instead of the default of 1):
(setcar (last org-emphasis-regexp-components) 0)
(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components)
This works.
However, now the first expressions does not appear in bold
either. Only single words without any spaces like *jk* still appear in
bold. Sentences do not appear in bold anymore. Do I misinterpret the
meaning of max newlines in org-emphasis-regexp-components?
KR, berchas
------------------------------------------------------------------------
Emacs : GNU Emacs 29.4 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
of 2024-06-24
Package: Org mode version 9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)