%%% Current font global assignment

Font setup is normally bounded to groups. The code

\beginverbatim
\font\A=ec-lmr10 \A \message{\the\font}
{\font\B=ec-lmtt10 \B \message{\the\font}}
\message{\the\font}
\endverbatim

gives \verb'\A \B \A', as one would expect. Why then

\beginverbatim
\font\A=ec-lmr10 \A \message{\the\font}
{\font\B=ec-lmr10 \B \message{\the\font}}
\message{\the\font}
\endverbatim

yields \verb'\A \B \B'?

When the font used inside a group is the same as the current font in the 
outer grouping level, the local font assignment becomes global. Actually font 
\type{\A} is internally mapped to \type{\B}. Even if we call \type{\A} 
explicitly, \TeX\ reports \type{\B} as the current.

\beginverbatim
\A \message{\the\font}
\endverbatim

Things are intentionally different in Lua\TeX\dots

\endinput
