[latex3-commits] [l3svn] r6936 - Update error message for \Renew... to reflect true behaviour

noreply at latex-project.org noreply at latex-project.org
Thu Feb 16 20:56:17 CET 2017


Author: bruno
Date: 2017-02-16 20:56:16 +0100 (Thu, 16 Feb 2017)
New Revision: 6936

Modified:
   trunk/l3packages/xparse/testfiles/xparse001.ptex.tlg
   trunk/l3packages/xparse/testfiles/xparse001.tlg
   trunk/l3packages/xparse/testfiles/xparse001.uptex.tlg
   trunk/l3packages/xparse/xparse.dtx
Log:
Update error message for \Renew... to reflect true behaviour

This should have been fixed a long time ago: the message claimed
the definition was taking place, but it is in fact ignored.


Modified: trunk/l3packages/xparse/testfiles/xparse001.ptex.tlg
===================================================================
--- trunk/l3packages/xparse/testfiles/xparse001.ptex.tlg	2017-02-16 19:53:45 UTC (rev 6935)
+++ trunk/l3packages/xparse/testfiles/xparse001.ptex.tlg	2017-02-16 19:56:16 UTC (rev 6936)
@@ -33,7 +33,7 @@
 l. ...}
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentCommand with a command that was never defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=\protected macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code
 ?{}.
@@ -923,7 +923,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentEnvironment with an environment that was never
 | defined.
-| A new environment 'foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \environment foo=\protected macro:->\__xparse_start:nNNnnn {}\environment
 foo  \environment foo code {}{}{}.
@@ -1254,7 +1254,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewExpandableDocumentCommand with a command that was never
 | defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code ?{}.
 <recently read> }

Modified: trunk/l3packages/xparse/testfiles/xparse001.tlg
===================================================================
--- trunk/l3packages/xparse/testfiles/xparse001.tlg	2017-02-16 19:53:45 UTC (rev 6935)
+++ trunk/l3packages/xparse/testfiles/xparse001.tlg	2017-02-16 19:56:16 UTC (rev 6936)
@@ -33,7 +33,7 @@
 l. ...}
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentCommand with a command that was never defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=\protected macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code
 ?{}.
@@ -923,7 +923,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentEnvironment with an environment that was never
 | defined.
-| A new environment 'foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \environment foo=\protected macro:->\__xparse_start:nNNnnn {}\environment
 foo  \environment foo code {}{}{}.
@@ -1250,7 +1250,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewExpandableDocumentCommand with a command that was never
 | defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code ?{}.
 <recently read> }

Modified: trunk/l3packages/xparse/testfiles/xparse001.uptex.tlg
===================================================================
--- trunk/l3packages/xparse/testfiles/xparse001.uptex.tlg	2017-02-16 19:53:45 UTC (rev 6935)
+++ trunk/l3packages/xparse/testfiles/xparse001.uptex.tlg	2017-02-16 19:56:16 UTC (rev 6936)
@@ -33,7 +33,7 @@
 l. ...}
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentCommand with a command that was never defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=\protected macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code
 ?{}.
@@ -923,7 +923,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewDocumentEnvironment with an environment that was never
 | defined.
-| A new environment 'foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \environment foo=\protected macro:->\__xparse_start:nNNnnn {}\environment
 foo  \environment foo code {}{}{}.
@@ -1254,7 +1254,7 @@
 |'''''''''''''''''''''''''''''''''''''''''''''''
 | You have used \RenewExpandableDocumentCommand with a command that was never
 | defined.
-| A new command '\foo' will be created.
+| LaTeX will ignore this entire definition.
 |...............................................
 > \foo=macro:->\__xparse_start_expandable:nNNNn {}\foo  \foo code ?{}.
 <recently read> }

Modified: trunk/l3packages/xparse/xparse.dtx
===================================================================
--- trunk/l3packages/xparse/xparse.dtx	2017-02-16 19:53:45 UTC (rev 6935)
+++ trunk/l3packages/xparse/xparse.dtx	2017-02-16 19:56:16 UTC (rev 6936)
@@ -4046,7 +4046,7 @@
   {
     You~have~used~#2~
     with~a~command~that~was~never~defined. \\
-    A~new~command~'#1'~will~be~created.
+    LaTeX~will~ignore~this~entire~definition.
   }
 \__msg_kernel_new:nnnn { xparse } { environment-already-defined }
   { Environment~'#1'~already~defined! }
@@ -4060,7 +4060,7 @@
   {
     You~have~used~\RenewDocumentEnvironment
     with~an~environment~that~was~never~defined. \\
-    A~new~environment~'#1'~will~be~created.
+    LaTeX~will~ignore~this~entire~definition.
   }
 \__msg_kernel_new:nnnn { xparse } { expandable-ending-optional }
   {



More information about the latex3-commits mailing list