spawn_editor
struct spawn_editor_state *spawn_editor(struct client *, const char *, size_t,
ed->editor = spawn_editor(c, buf, len, window_buffer_edit_close_cb, ed);
ed->editor = spawn_editor(c, buf, len, window_customize_edit_close_cb,