Received: from mail.proteosys.com ([213.139.130.197]) by nummer-3.proteosys with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 21:29:20 +0200 Received: by mail.proteosys.com (8.14.3/8.14.3) with ESMTP id n82JTK4B027524 for ; Wed, 2 Sep 2009 21:29:20 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n82JQnn5002304 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Sep 2009 21:26:49 +0200 Received: from listserv.uni-heidelberg.de (localhost.localdomain [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n82II6V7000417; Wed, 2 Sep 2009 21:26:49 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 15.5) with spool id 299811 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Wed, 2 Sep 2009 21:26:49 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.13.1/8.13.1) with ESMTP id n82JQnJB015955 for ; Wed, 2 Sep 2009 21:26:49 +0200 Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id n82JQZPL002094 for ; Wed, 2 Sep 2009 21:26:38 +0200 Received: from cremornelane.demon.co.uk ([80.177.25.195] helo=[192.168.0.2]) by anchor-post-2.mail.demon.net with esmtp (Exim 4.69) id 1MivTW-0005hR-m1 for latex-l@listserv.uni-heidelberg.de; Wed, 02 Sep 2009 19:26:34 +0000 User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4A9EC6ED.2080901@morningstar2.co.uk> Date: Wed, 2 Sep 2009 20:26:37 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: xparse processors To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-ProteoSys-SPAM-Score: -6.599 () BAYES_00,RCVD_IN_DNSWL_MED X-Scanned-By: MIMEDefang 2.65 on 213.139.130.197 Return-Path: owner-latex-l@LISTSERV.UNI-HEIDELBERG.DE X-OriginalArrivalTime: 02 Sep 2009 19:29:20.0624 (UTC) FILETIME=[AB6FDF00:01CA2C03] Status: R X-Status: X-Keywords: X-UID: 6076 Hello all, One question occurs to me about xparse "processors". I've provided one that splits on a comma, \xparse_process_comma_split:n. I wonder what the behaviour of this type of function should be if the input is not of the correct form. At the moment, if you apply a processor to an optional argument and no value is given, the special \NoValue token is left alone. The normal behaviour for this function is: \xparse_process_comma_split:n { 1,2 } => {1} {2} but what should happen with \xparse_process_comma_split:n { 12 } A the moment you get "{12} \NoValue" so that exactly two results are returned. Should you get perhaps just \NoValue, or something else? -- Joseph Wright