From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Org Emphasis Issues (Trunk) Date: Wed, 14 Dec 2016 11:16:12 +0100 Message-ID: <878tri95oz.fsf@nicolasgoaziou.fr> References: <87d1gvckaw.fsf@gnu.org> <87twa7kvis.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cH6bf-0001Ug-Op for emacs-orgmode@gnu.org; Wed, 14 Dec 2016 05:16:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cH6be-0001Yq-Lt for emacs-orgmode@gnu.org; Wed, 14 Dec 2016 05:16:15 -0500 In-Reply-To: <87twa7kvis.fsf@fastmail.fm> (Matt Lundin's message of "Tue, 13 Dec 2016 22:02:51 -0600") 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: Ian Dunn Cc: emacs-orgmode@gnu.org Hello, Matt Lundin writes: > Ian Dunn writes: > >> 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. > > I cannot replicate this particular issue. Could you provide a minimal > recipe for replicating? I cannot either. >> 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. > > I can confirm the problems with headlines, though I can only replicate > it with level 2 headings. (Are you perhaps using org-indent-mode?) > > With emacs -Q and the latest org from git, if I open the following file, > "Subheading 1" appears in bold. If I delete "Subheading 2," the emphasis > disappears. > > * First headline > ** Subheading 1 > ** Subheading 2 Fixed. Thank you. Regards, -- Nicolas Goaziou