From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Dunn Subject: Re: Bug: Org Emphasis Issues (Trunk) Date: Thu, 15 Dec 2016 21:29:23 -0500 Message-ID: <87y3zgbo8s.fsf@gnu.org> References: <87d1gvckaw.fsf@gnu.org> <87twa7kvis.fsf@fastmail.fm> <878tri95oz.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHiH0-0001dk-9y for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 21:29:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHiGz-0003AB-AJ for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 21:29:26 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHiGz-00039o-77 for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 21:29:25 -0500 Received: from [2604:6000:1010:176:da4d:3352:bae5:f50e] (port=60128 helo=escafil) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cHiGy-0007vw-Mk for emacs-orgmode@gnu.org; Thu, 15 Dec 2016 21:29:24 -0500 In-Reply-To: <878tri95oz.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Wed, 14 Dec 2016 11:16:12 +0100") 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 Nicolas Goaziou writes: > 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. > Set the last element of org-emphasis-regexp-components ("newline") to zero, reload org, then try: emacs -Q ;; load trunk org mode M-: (setf (seq-elt org-emphasis-regexp-components 4) 0) C-c C-x ! *abcd* On mine, that string isn't bold. It looks like there's some regex magic that goes on in org-set-emph-re that doesn't happen if the last component is zero. Part of that magic is adding that *?. -- Ian Dunn