all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Bug: Org Emphasis Issues (Trunk)
@ 2016-12-14  2:32 Ian Dunn
  2016-12-14  4:02 ` Matt Lundin
  0 siblings, 1 reply; 4+ messages in thread
From: Ian Dunn @ 2016-12-14  2:32 UTC (permalink / raw)
  To: emacs-orgmode



    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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-16  2:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-14  2:32 Bug: Org Emphasis Issues (Trunk) Ian Dunn
2016-12-14  4:02 ` Matt Lundin
2016-12-14 10:16   ` Nicolas Goaziou
2016-12-16  2:29     ` Ian Dunn

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.