def buffer_menu
      menu = PromptMenu.new self do
        item :n, :buffer_next
        item :p, :buffer_prev
        item :b, :scroll_backward
        item :f, :scroll_forward
        item :l, :list_buffers
        item :q, :close
        submenu :m, "submenu..." do
          item :p, :goto_last_position
          item :r, :scroll_right
          item :l, :scroll_left
        end
      end
      menu.display_new :title => "Buffer Menu"
    end
def buffer_menu
      menu = PromptMenu.new self do
        item :n, :buffer_next
        item :p, :buffer_prev
        item :b, :scroll_backward
        item :f, :scroll_forward
        item :l, :list_buffers
        item :q, :close
        submenu :m, "submenu..." do
          item :p, :goto_last_position
          item :r, :scroll_right
          item :l, :scroll_left
        end
      end
      menu.display_new :title => "Buffer Menu"
    end
display a menu so user can do buffer management
 However, how can application add to these. Or disable, such as when we
 add buffer delete or buffer insert or edit