From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] org.el: fix org--get-outline-path-1 Date: Mon, 29 Feb 2016 16:32:19 +0100 Message-ID: <87io17zg58.fsf@nicolasgoaziou.fr> References: <1456756528.23339.2.camel@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56171) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPm7-0004hF-Ai for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 10:30:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaPm4-00033Y-57 for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 10:30:19 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:40098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaPm3-00033L-V1 for emacs-orgmode@gnu.org; Mon, 29 Feb 2016 10:30:16 -0500 In-Reply-To: <1456756528.23339.2.camel@gmx.de> (Tobias Getzner's message of "Mon, 29 Feb 2016 15:35:28 +0100") 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: Tobias Getzner Cc: emacs-orgmode@gnu.org Hello, 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. > 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? Regards, -- Nicolas Goaziou