Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 575026

Summary: dispatch-conf should print an error if EDITOR and VISUAL are not defined or empty
Product: Portage Development Reporter: Cedric Sodhi <manday>
Component: ToolsAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal CC: manday
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Cedric Sodhi 2016-02-18 10:56:10 UTC
Pressing either "e" or "l" in dispatch conf does not have any effect. I haven't tried others because I did not want to mess up my config but I suspect the problem may be the same. "z" and "u" seem to work.
Comment 1 Alex Xu (Hello71) 2016-02-21 16:12:25 UTC
set an EDITOR in your sudoers.
Comment 2 Zac Medico gentoo-dev 2016-02-21 19:56:59 UTC
Currently, it just calls nano when EDITOR is unset:

https://gitweb.gentoo.org/proj/portage.git/tree/bin/dispatch-conf?h=v2.2.27#n340
Comment 3 Cedric Sodhi 2016-02-22 08:12:09 UTC
My EDITOR variable is not set although I set "eselect editor" to a value (vi). Is that a bug or possibly my mistake?

FWIW, I had nano depclean'ed.