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

Bug 26189

Summary: Option for setting default editor on "emerge system" (rc.conf, make.conf or env variable)
Product: Gentoo Linux Reporter: Sven Blumenstein (RETIRED) <bazik>
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED WONTFIX    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Blumenstein (RETIRED) gentoo-dev 2003-08-08 02:26:47 UTC
For all the vim|emacs|whatever lovers, it would be nice to have an option 
available to set the default editor which gets installed by "emerge system".
Best way IMO would be to parse the "EDITOR=" entry in /etc/rc.conf and include 
the corresponding editor in the "emerge system" list. Right now I always change 
the virtual/editor and the package list manual  to emerge vim instead of nano.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 SpanKY gentoo-dev 2003-08-08 22:18:07 UTC
if you simply `emerge vim ; emerge system` then it'll work just fine 
 
this isnt really a 'bug' imo, plus it'll happen to everyone who doesnt like the 
default package for virtuals 
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2003-09-19 14:49:21 UTC
nano is just the default editor becaus it is specified in /etc/make.profile/virtuals as default, change it there before you do your first emerge system to get another editor.