From mboxrd@z Thu Jan 1 00:00:00 1970 From: William =?UTF-8?B?TMOpY2hlbGxl?= Subject: [BUG] Parsing consecutive stars Date: Thu, 04 Oct 2012 21:13:49 -0400 Message-ID: <87vcepk9f6.wl%william.lechelle@ens-lyon.fr> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJwUp-0006Jp-8V for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 21:14:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TJwUn-0006eB-Nc for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 21:14:31 -0400 Received: from jabiru.ens-lyon.fr ([140.77.51.2]:40272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TJwUn-0006Zx-HH for emacs-orgmode@gnu.org; Thu, 04 Oct 2012 21:14:29 -0400 Received: from localhost (localhost [127.0.0.1]) by jabiru.ens-lyon.fr (Postfix) with ESMTP id E7CB71EB16A for ; Fri, 5 Oct 2012 03:14:26 +0200 (CEST) Received: from jabiru.ens-lyon.fr ([127.0.0.1]) by localhost (jabiru.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id V5Jul7ycWNmv for ; Fri, 5 Oct 2012 03:14:26 +0200 (CEST) Received: from villian.umontreal.ca (dsl-69-171-138-94.acanac.net [69.171.138.94]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by jabiru.ens-lyon.fr (Postfix) with ESMTPSA id E82891EB169 for ; Fri, 5 Oct 2012 03:14:25 +0200 (CEST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode Hi list, It looks like the stars parser has a problem with 2 consecutive stars, hence with bold in 2nd level headers. The following sums up all the relevant tests I performed. Only 3rd and 4th lines seem to be related, in a strange fashion, even, but I couldn't find anything else that would indicate lines not being independant. * Test *it* ! * *Test thouroughly* ! ** try deleting these : ** *** ** * ** *** ** ** Is *this* bold ? Note that anytime it is, editing the line gets the failure back. *** From here, it all *seems* to *works* *fine*. *** Only ** *here* it *doesn't !* *** *More* ** so *even*. I can try with text, it doesn't *change* ** *anything*. *** Darn. ** Even if I add many words it *fails* ! **** Hope ! ** Even if I add many words it only *fails* *once* ! **** But ** *sadly* it ** can *fail* *many times* ! *** If I try with *** *more* stars, it's **** totally *fine* It ** actually *** *helps*, *even* You *do* ** need * *a few*. But ** ** *two* is *enough* While constructing this, I was using (recent git version, and) (setq org-emphasis-regexp-components '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 2)) but reverting to default with (setq org-emphasis-regexp-components '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1)) showed no improvement regarding the weird behavior. (I do imagine things could go a lot worse with hugher values, though ^_^) (problem raised on http://stackoverflow.com/questions/12736868/cant-use-bold-face-on-2nd-level-outline-in-emacs-org-mode)