[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[BUG] org-emphasis-regexp-components [9.6.15 (release_9.6.15 @ /snap/ema
From: |
berchas |
Subject: |
[BUG] org-emphasis-regexp-components [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)] |
Date: |
Wed, 07 Aug 2024 12:47:11 +0200 |
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/)
- [BUG] org-emphasis-regexp-components [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)],
berchas <=