From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] Resolve regexp ambiguity for item headers Date: Wed, 19 Sep 2012 11:14:39 +0200 Message-ID: <87d31iml1c.fsf@bzg.ath.cx> References: <504DE922.1000707@oracle.com> <87ehm93fd7.fsf@gmail.com> <504E4118.3040700@oracle.com> <87627jthx4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEGMp-0007kl-AF for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 05:14:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEGMi-0003xg-Mm for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 05:14:47 -0400 Received: from mail-wg0-f49.google.com ([74.125.82.49]:42421) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEGMi-0003xW-Gc for emacs-orgmode@gnu.org; Wed, 19 Sep 2012 05:14:40 -0400 Received: by wgbdt14 with SMTP id dt14so477207wgb.30 for ; Wed, 19 Sep 2012 02:14:39 -0700 (PDT) In-Reply-To: <87627jthx4.fsf@gmail.com> (Nicolas Goaziou's message of "Wed, 12 Sep 2012 16:49:43 +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: Nicolas Goaziou Cc: emacs-orgmode , Mats Kindahl Hi, Nicolas Goaziou writes: >> * The regular expression matches completely empty headlines, so maybe >> the intention is to allow matching items with just a todo keyword? > > Yes, it is. FWIW I confirm it is. > Note that I'm not convinced by empty headlines nor do I use them, but as > an outliner, Org should accept them nonetheless. Indeed. I once removed the support for empty headlines but Carsten reminded me that we always supported them, so we should continue to support them. > The question is: how much of the code base shares this opinion? Well, hopefully stating the above with clear things up -- and make it easier to find out of some parts of the code don't support empty headlines. -- Bastien