From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Fix clocktable scope parameter Date: Fri, 16 Dec 2016 22:11:58 +0100 Message-ID: <87h9634m01.fsf@nicolasgoaziou.fr> References: <8760ml2q30.fsf@gmail.com> <87y3zh5iu0.fsf@nicolasgoaziou.fr> <87eg19uqji.fsf@gmail.com> <87d1gtuhou.fsf@gmail.com> <87h9646hdk.fsf@nicolasgoaziou.fr> <87h964kbo4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37185) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cHznO-0006GU-3D for emacs-orgmode@gnu.org; Fri, 16 Dec 2016 16:12:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cHznJ-0002CF-4z for emacs-orgmode@gnu.org; Fri, 16 Dec 2016 16:12:02 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:53083) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cHznI-0002A8-Vk for emacs-orgmode@gnu.org; Fri, 16 Dec 2016 16:11:57 -0500 In-Reply-To: <87h964kbo4.fsf@gmail.com> (Eduardo Bellani's message of "Thu, 15 Dec 2016 21:37:46 -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" To: Eduardo Bellani Cc: Org Mode Hello, Eduardo Bellani writes: > The old behavior was an eval on a form if that form was not a list of > strings. The implicit expectation was for a list of strings to be > returned by that eval call. > > The above seems to be a raw attempt to evaluate a function form. In that > case, it seems more elegant to be more explicit and do a > > (apply (car scope) (cdr scope)) > > > This also allows for passing arguments to the function without using the > full power of eval. > > What do you guys think? On the contrary, I think the above is a bit ambiguous, and doesn't bring anything, since :scope (foo bar baz) can also be written, if really needed, :scope (lambda () (foo bar baz)) I'd favor clarity here and suggest to accept a function of no argument. Regards, -- Nicolas Goaziou