Is it possible to have a global notion of char mode/line mode vs. the per-window state that is used now?