I wrote a macro that does what you want—I do not understand how what I did works though, and I do not know what controls what 
One needs to
- Define a new environment, let’s call it
unroll-inline
<assign|space-extra|<macro|x| <arg|x>>>
<assign|unroll-inline|<xmacro|args|<style-with|src-compact|none|<arg|args|0><map-args|space-extra|concat|args|1>>>>
- Add
unroll-inline to the Scheme group unroll-tag, to let TeXmacs attribute to unroll-inline the behaviours shared by the group elements (define-group adds to a group, not only defines it). I did it in my-init-texmacs.scm, did not test whether it works or not somewhere else.
(define-group unroll-tag unroll-inline)
In Beamer style, the “previous” and “next” buttons do unroll.
I had to copy-paste the definition of comma-separated from the manual in order to be able to write unroll-inline because I did not understand how to insert arguments in the xmacro body neither how to insert a concat tag.
The structured insert buttons that appear when the cursor is inside the unroll-inline macro may be connected to the xmacro and not to the unroll-tag group.
I would appreciate someone else sorting out what I have not been able to sort out.