From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [org-element, FR] make secondary-string midnight compatible Date: Sat, 21 Mar 2015 09:45:41 +0100 Message-ID: <87k2ya4u2y.fsf@nicolasgoaziou.fr> References: <87r3sjxmnf.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZF1E-0002uh-7A for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 04:44:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YZF1A-0006lQ-3V for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 04:44:32 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:c:538::197]:44155) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YZF19-0006lM-TO for emacs-orgmode@gnu.org; Sat, 21 Mar 2015 04:44:28 -0400 In-Reply-To: <87r3sjxmnf.fsf@gmx.us> (rasmus@gmx.us's message of "Sat, 21 Mar 2015 00:41:08 +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: Rasmus Cc: emacs-orgmode@gnu.org Hello, Rasmus writes: > As is evident from the git log, I have made the following mistake at least > twice: > > (org-element-parse-secondary-string nil restrictions) > > I wish this would just return nil instead of an error. In particular, in > ox files you have to do > > (org-element-parse-secondary-string (or whatever "") restrictions) > > Which is a bit noisy. Done in bcf6970369e0cbf183ab2b2865fa215d0781e7ab. Regards, -- Nicolas Goaziou