[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Bug: Org Emphasis Issues (Trunk)
From: |
Ian Dunn |
Subject: |
[O] Bug: Org Emphasis Issues (Trunk) |
Date: |
Tue, 13 Dec 2016 21:32:23 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
I encountered these issues this morning when I updated Org from trunk (and
reloaded it with C-c C-x !). I believe it's following commit "Split
`org-emph-re' and `org-verbatim-re'". I've got 2 issues:
1. Nothing longer than one character has emphasis. I find changing the 4th
element of org-emphasis-regexp-components ("body-regexp") to ".*?" fixes this.
2. Headings of level >= 3 are fontified as if they were emphasized. I'm
guessing org-do-emphasis-face is considering "***" as an acceptable emphasis
string.
If it helps, this is my setting for org-emphasis-regexp-components:
(defconst org-emphasis-regexp-components
'(" \t('\"{<“‘–"
"- \t.,:!?;'\")}\\[>”’–…"
" \t\r\n"
".*?"
0))
--
Ian Dunn
- [O] Bug: Org Emphasis Issues (Trunk),
Ian Dunn <=