[latex3-commits] [git/LaTeX3-latex3-latex2e] main: Internal changes to message names (2b6d97c1)

Joseph Wright joseph.wright at morningstar2.co.uk
Fri Aug 27 14:10:36 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : main
Link       : https://github.com/latex3/latex2e/commit/2b6d97c133fe07eeb2a8b557cd4769c2118aa8ec

>---------------------------------------------------------------

commit 2b6d97c133fe07eeb2a8b557cd4769c2118aa8ec
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Fri Aug 27 13:10:36 2021 +0100

    Internal changes to message names


>---------------------------------------------------------------

2b6d97c133fe07eeb2a8b557cd4769c2118aa8ec
 base/ltfilehook.dtx |  3 ++-
 base/lthooks.dtx    | 13 +++++++------
 base/ltpara.dtx     | 12 ++++++------
 3 files changed, 15 insertions(+), 13 deletions(-)

diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index c23dce62..c7f287dc 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -591,6 +591,7 @@
 %   \changes{v1.0h}{2021/03/18}
 %           {Define \cs{g_@@_input_file_seq} to avoid losing data when
 %            rolling back.}
+%   \changes{v1.0l}{2021/08/27}{Internal message name changes}
 %    \begin{macrocode}
 \tl_new:N \l_@@_internal_tl
 \seq_if_exist:NF \g_@@_input_file_seq
@@ -608,7 +609,7 @@
     \seq_gpop:NNTF \g_@@_input_file_seq \l_@@_internal_tl
       { \exp_after:wN \@@_file_pop_assign:nnnn \l_@@_internal_tl }
       {
-        \msg_error:nnn { kernel } { should-not-happen }
+        \msg_error:nnn { latex2e } { should-not-happen }
           { Tried~to~pop~from~an~empty~file~name~stack. }
       }
   }
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 5b4ca961..1ebae29a 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
 %%% From File: lthooks.dtx
 %
 %    \begin{macrocode}
-\def\lthooksversion{v1.0n}
-\def\lthooksdate{2021/05/26}
+\def\lthooksversion{v1.0q}
+\def\lthooksdate{2021/08/27}
 %    \end{macrocode}
 %
 %<*driver>
@@ -2609,7 +2609,7 @@
       {
         \tl_if_empty:NTF \@currname
           {
-            \msg_expandable_error:nnn { kernel } { should-not-happen }
+            \msg_expandable_error:nnn { latex2e } { should-not-happen }
               { Empty~default~label. }
             \@@_make_name:n { label-missing }
           }
@@ -4541,10 +4541,11 @@
 %    \begin{macrocode}
 \prop_gput:Nnn \g_msg_module_type_prop { hooks } { LaTeX }
 %    \end{macrocode}
+% \changes{v1.0q}{2021/08/27}{Internal message name changes}
 %    And so are kernel errors (this should move elsewhere eventually).
 %    \begin{macrocode}
-\prop_gput:Nnn \g_msg_module_type_prop { kernel } { LaTeX }
-%\prop_gput:Nnn \g_msg_module_name_prop { kernel } {  }   % <-- currently not working
+\prop_gput:Nnn \g_msg_module_type_prop { latex2e } { LaTeX }
+\prop_gput:Nnn \g_msg_module_name_prop { latex2e } { kernel }
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -4650,7 +4651,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\msg_new:nnn { kernel } { should-not-happen }
+\msg_new:nnn { latex2e } { should-not-happen }
   {
     This~should~not~happen.~#1 \\
     Please~report~at~https://github.com/latex3/latex2e.
diff --git a/base/ltpara.dtx b/base/ltpara.dtx
index 5ab52a5e..90c7fa40 100644
--- a/base/ltpara.dtx
+++ b/base/ltpara.dtx
@@ -14,8 +14,8 @@
 %%% From File: ltpara.dtx
 %
 %    \begin{macrocode}
-\def\ltparaversion{v1.0g}
-\def\ltparadate{2021/05/27}
+\def\ltparaversion{v1.0i}
+\def\ltparadate{2021/08/27}
 %    \end{macrocode}
 %<*driver>
 \documentclass{l3doc}
@@ -1090,7 +1090,7 @@
            \@@_handle_indent:
            \the\everypar }
        }
-       { \msg_error:nn { kernel }{ raw-para } }
+       { \msg_error:nn { latex2e }{ raw-para } }
   \tex_indent:D
 }
 %    \end{macrocode}
@@ -1103,7 +1103,7 @@
            \tex_everypar:D { \g_@@_standard_everypar_tl }
            \the\everypar }
        }
-       { \msg_error:nn { kernel }{ raw-para } }
+       { \msg_error:nn { latex2e }{ raw-para } }
   \tex_noindent:D
 }
 %    \end{macrocode}
@@ -1175,10 +1175,11 @@
   }
 %    \end{macrocode}
 %
+%   \changes{v1.0i}{2021/08/27}{Internal message name changes}
 %    And here is one used in the \enquote{raw} commands when they are
 %    used outside of vertical mode.
 %    \begin{macrocode}
-\msg_new:nnnn { kernel } { raw-para }
+\msg_new:nnnn { latex2e } { raw-para }
   {
      Not~ in~ vertical~ mode.
   }
@@ -1220,4 +1221,3 @@
 \endinput
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
-





More information about the latex3-commits mailing list.