Am 02.10.2009 11:40, schrieb Sebastian Beßler: > Am 02.10.2009 11:29, schrieb forgottenwizard: > >> <insert emacs user whining> >> >> Thats an option, but seems to be a poor one. All that will do is let you >> use either vi(m) or nano for the default, which for emacs users will be >> no diffrent than the current problem. > > <joke> > If you use emacs then you are to far away to be helped ;-) > </joke> > > Then maybe a "custom_editor"-flag that inserts > > Defaults env_keep += "EDITOR VISUAL PAGER" > > to /etc/sudoers > > With that even emacs users would be satisfied.
After thinking about that.. To use such a flag the admin has to know what it does and then he can also add Defaults env_keep += "EDITOR VISUAL PAGER" to /etc/sudoers instead of adding "app-editors/vim custom-editor" to /etc/portage/package.use So there is no need for such a use-flag because it don't saves any work. Adding a line is adding a line. Greetings Sebastian