Sorry, the correct code is the following:

\usemodule [setups]


\starttext


\startbuffer

\framed [width=3cm,height=1cm] {testo}

\stopbuffer


\typebuffer

\getbuffer


\cmdfullsetup [setuppapersize]


\startbuffer[foo]

\framed [width=3cm,height=1cm] {testo}

\stopbuffer


\typebuffer[foo]

\getbuffer[foo]


\cmdfullsetup [setuppapersize]


\stoptext


Il giorno lun 26 nov 2018 alle ore 11:08 Tommaso Gordini <illinguista1972@gmail.com> ha scritto:
Hi everyone.

The following code gives different results by commenting and decommending the indicated lines.

Could it be a problem with the setups module?

Thanks in advance
Tommy

\usemodule [setups]


\starttext


%\startbuffer

%\framed [width=3cm,height=1cm] {testo}

%\stopbuffer

%

%\typebuffer

%\getbuffer


\cmdfullsetup [setuppapersize]


\stoptext