From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Fix `org-capture-templates' type declaration Date: Sun, 25 Oct 2015 09:40:50 +0100 Message-ID: <87fv0zbast.fsf@nicolasgoaziou.fr> References: <87h9lg88mh.fsf@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqGpY-0000XJ-1j for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 04:39:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqGpW-0005va-NA for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 04:39:07 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:58041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqGpW-0005uj-H6 for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 04:39:06 -0400 In-Reply-To: <87h9lg88mh.fsf@univ-nantes.fr> (=?utf-8?Q?=22Gr=C3=A9goire?= Jadi"'s message of "Sat, 24 Oct 2015 19:43:50 +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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?Gr=C3=A9goire?= Jadi Cc: Org Mode Hello, Gr=C3=A9goire Jadi writes: > The attached patch fix the type declaration of org-capture-templates by > allowing the user to use file, variable, function and sexp as target's > file to match the documentation Thank you. > - (file :tag " File")) > + (choice :tag " File" > + file variable function sexp)) Shouldn't there be an entry for each type instead of stuffing everything within "File" descriptor ? Regards, --=20 Nicolas Goaziou