From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Resolve regexp ambiguity for item headers Date: Mon, 10 Sep 2012 20:24:52 +0200 Message-ID: <87ehm93fd7.fsf@gmail.com> References: <504DE922.1000707@oracle.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34612) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB8jG-0002lT-4x for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 14:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TB8jB-0000NS-RD for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 14:29:02 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:40600) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TB8jB-0000N7-Kx for emacs-orgmode@gnu.org; Mon, 10 Sep 2012 14:28:57 -0400 Received: by wibhq4 with SMTP id hq4so2199356wib.12 for ; Mon, 10 Sep 2012 11:28:56 -0700 (PDT) In-Reply-To: <504DE922.1000707@oracle.com> (Mats Kindahl's message of "Mon, 10 Sep 2012 15:20:34 +0200") 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: Mats Kindahl Cc: emacs-orgmode Hello, Mats Kindahl writes: > I solved this issue by requiring that there should always be a headline > text (this is after all an assumption made in the code) and rewrote the > org-complex-heading-regexp accordingly. Actually, I have recently committed a change going exactly the opposite way. I'm not certain which solution is better, but I tend to think empty headlines should be valid and parts of Org choking on empty headlines should be fixed. Regards, -- Nicolas Goaziou