Policy states that programms should use $EDITOR if set and else use editor as the prefered editor, but why not just use sensible-editor?
sensible-editor will behave as needed by the current policy, but is
more flexible. It could start xemacs on X and zile on console or do
other additional checks. I think policy should state that programs
should use sensible-editor as their editor.
May the Source be with you.
Goswin

