On Freitag 02 Oktober 2009, Arthur D. wrote:
> >> You appear to be demonstrating that you don't fully understand the
> >> problem:
> >>
> >> 828 ~ $ grep nano /usr/portage/app-admin/sudo/sudo-1.7.2_p1.ebuild
> >>    # XXX: /bin/vi may not be available, make nano visudo's default.
> >>            --with-editor=/bin/nano \
> >
> > How so? That config option for sudo sets the DEFAULT editor, what to use
> > if nothing is defined in the config file or environment variable. That's
> > what both my text and the portion of the ebuild that you have quoted
> > state. It in no way forces the use of nano in order to use visudo. If
> > that were the case, DEPENDS would specify nano instead of accepting
> > virtual/editor.
> 
> Agree. There's no need in making vim as depends. But in other hand in
> vanilla sudo
> package there's VI hardcoded by default. And MOST if not ALL users who
> have VIM
> installed on their shiny Gentoo systems expect that VIsudo will behave as
> it did
> for long tim ago. There are historical (or some other) reasons for making
> VI default
> editor for this utility. It's like they don't respect not only endusers
> favours but
> the developers' too, no?
> 
> WHY NOT CHECK if vim binary is in place and ONLY THEN (when it's obviously
> absent)
> hardcode the Gentoo Best Award of Choice Editor?
> 
> I repeat once more.
> Every user who has VIM installed on theirs systems is forced to do extra
> configuration, to make sudo work as expected, just because someone prefer
> other editor and thinks that vanilla choice is bad. Isn't that just stupid?
> 

why is it always vim users who get their panties in a knot about nothing?

just set EDITOR, you are done. 

You might be surprised to know, that most people do not have vim installed. 
But you are forcing others to adhere to something?

Things change. Maybe vim users should realize that too

Reply via email to