From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tobias Getzner Subject: Re: [PATCH] org.el: fix org--get-outline-path-1 Date: Mon, 29 Feb 2016 20:04:57 +0100 Message-ID: <87bn6zuyli.fsf@gmx.de> References: <1456756528.23339.2.camel@gmx.de> <87io17zg58.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39356) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaT7x-0006lE-4f for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:05:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaT7s-0006RU-6E for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:05:05 -0500 Received: from mout.gmx.net ([212.227.15.15]:62910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaT7r-0006QE-Tj for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 14:05:00 -0500 In-reply-to: <87io17zg58.fsf@nicolasgoaziou.fr> 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@gnu.org Nicolas Goaziou writes: > Tobias Getzner writes: > >> Headline titles may be empty, in which case the respective match group >> will be nil. This would throw an error when trying to regexp-replace >> checkbox cookies. > > Indeed. Thank you for the report. I applied a slightly different fix, > tho. Thanks for fixing! >> TODO: Depending on preference, a place-holder string might be a better >> choice (for user-display) rather than leaving the outline-path element >> empty. > > This makes sense. Maybe something like "[Empty]". WDYT? [Empty] seems good to me. Regards, Tobias