Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by h1439878.stratoserver.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id qBNJHjCO015645 for ; Sun, 23 Dec 2012 20:17:46 +0100 Received: from relay2.uni-heidelberg.de ([129.206.210.211]) by mx-ha.gmx.net (mxgmx106) with ESMTP (Nemesis) id 0M3dc5-1SvqtO4C2r-00rGQz for ; Sun, 23 Dec 2012 20:17:40 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id qBNJFqq6030303 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 23 Dec 2012 20:15:52 +0100 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id qBNI0f96020720; Sun, 23 Dec 2012 20:15:51 +0100 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 6304700 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Sun, 23 Dec 2012 20:15:51 +0100 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id qBNJ5p1r030289 for ; Sun, 23 Dec 2012 20:05:51 +0100 Received: from mail-ie0-f177.google.com (mail-ie0-f177.google.com [209.85.223.177]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id qBNJ5hHI028193 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=FAIL) for ; Sun, 23 Dec 2012 20:05:46 +0100 Received: by mail-ie0-f177.google.com with SMTP id k13so8293626iea.22 for ; Sun, 23 Dec 2012 11:05:43 -0800 (PST) Received: by 10.50.57.232 with SMTP id l8mr18351105igq.54.1356289542879; Sun, 23 Dec 2012 11:05:42 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.70.205 with HTTP; Sun, 23 Dec 2012 11:05:21 -0800 (PST) X-Google-Sender-Auth: L4H8WQvWDWyEsGu1_n9r9kMSf50 Content-Type: multipart/mixed; boundary=14dae93411b16a7a4404d189c44e Message-ID: Date: Sun, 23 Dec 2012 20:05:21 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Michiel Helvensteijn Subject: More \cs_new: information in l3interface docs (patch) To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: ;V01:K0:zuPE98ucyoE=:KCsMT12dowBQxKFkRE/8eZfcGgLeiah eubl4xRwbJWEbt9AEVrGlfZh8dSPHbuFcVSZJeWh0J1RR+0AqRXS79dHIyULNivw0bTSlVN nrwoVlkU4TbHTXTLyf/zThVluoQJVjuE8dUycKMA3GHoknW9Y7CRJEe+0HUwM6tyYrIy2i8 f+C0ROWp9qGny80pXMoS/aQzX40LoF5UMB4fy6tYyLuff2eBQ6ld/QZIA/qE+veSYKhcI1S aAkWSskcdQ29EaQ6Pg3AL+LysMjTyXqL28tK8Qv75n4JjZRErhCAC0UCJZ/YayX5+filXLg ETxiCskXXxxt8cNhTBZvOnT8gWqpsCBD+l9eOqUiSNRohGb7ujxpzmRYH6XdNVNSnb79y5c zAFyAsFDTboPXtwigtg/pExMXoCYJk2WJJh1OZaRY6MRRdarMO7EDAYkXtbbKWmcA2y/lPw A7/k2Ezv4AOtA99aDB1dAx1bIDYIvAhS2ePF+84DZUiwmcWHuaM3Ql+9kFSBu75MPULtHIR DJiPwP5XsTmOnQP5sjhSHrxQCkdgNBKiIGvWaxjxFPqC1MZdj3bPa9Qrx6Ib0RxZ+3LVKFt wr+QNXoNVfjZD0+Xbdsm0Mpzc2JrZ78M0E67ky4ZPLrcdNlj1HcxiL6gUMOfAQw6ZCEiyWS lv/2YwIiZj0u9yTUof61UnOIF1j2bTg8fA/f0JzeYNDjZe70309YSsjrpFrXBpW6BjgLeX1 Un+muEDfhvT4z+vMyNPgsJee8xXaXE2v2EVfgi1z15QrTaoxvYegozOeCADWmOr0C0s31VX 8F1Ruv2bleL2PeZg9wL1yY5sCdczDU+LNGo4JnJt33SCcNNjF5liPrOkpyaWuPTOfX2mYeb QEegVWv2JQP/wWQ9EKrD7qu4bHVcw0sNtHfifMcC5FmP7W5YvPuAR61bN+eXroKsox/NcNl JrnKnDW8EylwVVc9OpQpEETJv7NG2ADwxU5Ix5a1IE5wfkgSnUqpJ4exkDZaTjudpAVRM69 Gso+ulEA19VbHkO1yc2ecLp3D6OuQBs8K30KMk5nLOXOiP776xHhapsq62UCZX9spHnttZ6 ocBlJiwH91Q9YCcQ/Njrm1s5laH8I9elDOvrmT9aCwcNtHJsDG9HUNDt5v9fZecOKkcam3i 25etGJpiTvXof1SiJ9wL4bAHz9Sqv4gYh8n6uWbGnZtl4/XAp96Vuv80fh4oi7i8hXR9tQV bCct3KYGzi97/8lBlqTVsARBhstLnw5RgdZYcf4J8CK/qgUdCOPkeaYeM5AT3m4pDYzd3NC CEJT9/S1pgelWZhunYcl0PJmTWKSVES5mfyanqXJ0p2XxIjCLlsCZ4coOqOncdDFf7znxKN J1MfTR3h+wUuWDs17NBAP5cJJh9IRM3udCu+na2BF/Aj4DaabDHTMpFahVJhCe+wavXNLEM = X-UI-Loop:V01:kB7Gz1244mQ=:GZ7qBoM+NJQC9E6gXzc3wbr1ebk/WuGak5vap6QbuFs= Status: R X-Status: X-Keywords: X-UID: 7169 --14dae93411b16a7a4404d189c44e Content-Type: text/plain; charset=ISO-8859-1 Hi all! As I was learning LaTeX3, I stumbled upon some information missing from the docs. Apparently the \cs_new: functions (and friends) do not handle expansion for you just because you use 'x' in your argument specifier. They should be used only to define the base function and variants should be defined with \cs_generate_variant:Nn. I feel like this should be part of the docs, since it's a pretty basic rule. I've attached a small patch. Tell me what you think. Cheers! -- www.mhelvens.net --14dae93411b16a7a4404d189c44e Content-Type: application/octet-stream; name=patch Content-Disposition: attachment; filename=patch Content-Transfer-Encoding: base64 X-Attachment-Id: f_hb2jjb0d0 ZGlmZiAtTmF1ciBsM2ludGVyZmFjZS9sM2Jhc2ljcy5kdHggbDNpbnRlcmZhY2VuZXcvbDNiYXNp Y3MuZHR4Ci0tLSBsM2ludGVyZmFjZS9sM2Jhc2ljcy5kdHgJMjAxMi0xMi0yMyAxOTozNTozOS45 NjM2NzkyMTkgKzAxMDAKKysrIGwzaW50ZXJmYWNlbmV3L2wzYmFzaWNzLmR0eAkyMDEyLTEyLTIz IDE5OjQ0OjQxLjQ2OTY3NDMzMCArMDEwMApAQCAtMTg0LDcgKzE4NCwyNiBAQAogJSAgICAgIFx0 ZXh0dHR7eH0tdHlwZSBleHBhbnNpb24uCiAlIFxlbmR7ZGVzY3JpcHRpb259CiAlCislIEZpbmFs bHksIHRoZSBmdW5jdGlvbnMgaW4KKyUgU3Vic2VjdGlvbnN+XHJlZntzZWM6IGRlZmluaW5nIG5l dyBmdW5jdGlvbiAxfX5hbmR+XHJlZntzZWM6IGRlZmluaW5nIG5ldyBmdW5jdGlvbiAyfQorJSBh cmUgYmFzaWNhbGx5IG1lYW50IHRvIGRlZmluZSBcZW1waHtiYXNlIGZ1bmN0aW9uc30gb25seS4g QmFzZSBmdW5jdGlvbnMgY2FuIG9ubHkgaGF2ZQorJSB0aGUgZm9sbG93aW5nIGFyZ3VtZW50IHNw ZWNpZmllcnM6CislIFxiZWdpbntkZXNjcmlwdGlvbn0KKyUgICBcaXRlbVt8TnwgYW5kIHxufF0g Tm8gbWFuaXB1bGF0aW9uLgorJSAgIFxpdGVtW3xUfCBhbmQgfEZ8XSBTaW5jZSB0aGVzZSBhcmUg ZnVuY3Rpb25hbGx5IGVxdWl2YWxlbnQgdG8gfG58LgorJSAgICAgICAgICAgICAgICAgICAgICAo VGhvdWdoIHlvdSBhcmUg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