From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Dunn Subject: Bug: Org Emphasis Issues (Trunk) Date: Tue, 13 Dec 2016 21:32:23 -0500 Message-ID: <87d1gvckaw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53410) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGzMo-0006be-FU for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 21:32:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cGzMn-0000WR-SM for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 21:32:26 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cGzMn-0000WJ-PY for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 21:32:25 -0500 Received: from [2604:6000:1010:176:d06f:8928:a420:e516] (port=34204 helo=escafil) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cGzMn-0003Dp-55 for emacs-orgmode@gnu.org; Tue, 13 Dec 2016 21:32:25 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org 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 `o= rg-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 ".*?" fix= es this. 2. Headings of level >=3D 3 are fontified as if they were emphasized. = I'm guessing org-do-emphasis-face is considering "***" as an acceptable emp= hasis string. If it helps, this is my setting for org-emphasis-regexp-components: (defconst org-emphasis-regexp-components '(" \t('\"{<=E2=80=9C=E2=80=98=E2=80=93" "- \t.,:!?;'\")}\\[>=E2=80=9D=E2=80=99=E2=80=93=E2=80=A6" " \t\r\n" ".*?" 0)) -- Ian Dunn