From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Regression: Empty TODO lines Date: Mon, 14 Nov 2011 08:36:40 +0100 Message-ID: References: <71A67E1B-33FC-4191-966B-AC233D71E7F6@gmail.com> <87vcqna8m3.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPr5x-0000B6-7i for emacs-orgmode@gnu.org; Mon, 14 Nov 2011 02:36:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RPr5w-0007l5-Dm for emacs-orgmode@gnu.org; Mon, 14 Nov 2011 02:36:45 -0500 Received: from mail-ey0-f169.google.com ([209.85.215.169]:40599) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RPr5w-0007kn-8X for emacs-orgmode@gnu.org; Mon, 14 Nov 2011 02:36:44 -0500 Received: by eye4 with SMTP id 4so5270067eye.0 for ; Sun, 13 Nov 2011 23:36:43 -0800 (PST) In-Reply-To: <87vcqna8m3.fsf@gmail.com> 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: Orgmode Mailing List On Nov 14, 2011, at 12:46 AM, Nicolas Goaziou wrote: > Hello, >=20 > Carsten Dominik writes: >=20 >> commit dfcb6faef11a2439b56b18a6289803361d402130 (Provide more = consistent regexps for headlines) >> makes the global TODO list fail on headlines with a TODO keyword but = no text following: >>=20 >> * TODO This one works >> * TODO >> This one fails (note, there is not even a space after TODO. >>=20 >> While I agree that a TODO line with not text is not good, I think >> it should not break the TODO list view. I am attaching the = backtrace. >=20 > It should now be fixed in master. Thanks. Hi Nicolas, I think you meant to call org-trim on the results of buffer-substring. I just pushed a fix for this - please double-check that this is what you = meant. Regards - Carsten