 #-----------------------------------------------------------------------------------------------------------
 @get_current_layout_name = ( S, L ) ->
   unless ( R = L.layout_name_stack[ L.layout_name_stack.length - 1 ] )?
-    throw new Error "#{badge}#µ4451 layout stack empty"
-  return R
+    throw new Error "#{badge} µ79868 layout stack empty"
+  return R
+
+#-----------------------------------------------------------------------------------------------------------
+@get_current_field_selector = ( S, L ) ->
+  unless ( R = L.field_selector_stack[ L.field_selector_stack.length - 1 ] )?
+    throw new Error "#{badge} µ58212 field_selector_stack stack empty"
+  return R[ 1 ]
 
 #-----------------------------------------------------------------------------------------------------------
 @get_enclosing_layout_name = ( S, L ) ->

  return R

#-----------------------------------------------------------------------------------------------------------
@content_buffers_from_layout_name = ( S, L, layout_name ) ->
  unless ( R = L.selectors_and_content_events[ layout_name ] )?
    throw new Error "#{badge}#µ4433 unknown layout #{rpr layout_name}"
  return R

#-----------------------------------------------------------------------------------------------------------

      selectors_and_content_events  = @get_selectors_and_content_events S, L, layout_name
      enclosing_layout_name         = @get_enclosing_layout_name        S, L
      content_events                = MKTS_TABLE._walk_events layout, selectors_and_content_events, L.layout_name_stack
      #.....................................................................................................
      if enclosing_layout_name?
        current_field_selector    = @get_current_field_selector S, L
        enclosing_content_events  = @content_buffers_from_layout_name S, L, enclosing_layout_name
        enclosed_content_events   = [ current_field_selector, content_events..., ]
        enclosing_content_events.push enclosed_content_events
      #.....................................................................................................
      else
        send sub_event for sub_event from content_events
