On locally extremal functions on connected spaces · wovepaper