On 1 Oct 2009, at 16:40, Stroller wrote:
...
So it seems to me that you're right. It appears like maybe when
`sudo` detects that it's running `visudo` it does seem to ignore
$EDITOR. I, too, disagree with this behaviour. IMO the ebuild ("--
with-editor=/bin/nano") take the editor from "/etc/rc.conf", but I'm
extremely curious why upstream makes this behaviour, anyway.
Actually READING the bug actually showed a number of reasoned
responses to the OP's complaint.
I don't think you'll have much luck debating this: since upstream
hardcodes it, it comes down largely to the nano-as-default-editor
argument, which was first made in the Paleolithic era and which has
been hotly debated without change since.
I now appear unable to access that bug:
http://bugs.gentoo.org/show_bug.cgi?id=286017
Thanks for that.
Stroller.