Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 545188 - app-misc/mc not using external editor
Summary: app-misc/mc not using external editor
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-31 22:01 UTC by Mark I Manning IV
Modified: 2016-03-07 12:59 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark I Manning IV 2015-03-31 22:01:54 UTC
Configured mc to use an external editor, set the EDITOR environment variable, pressed F4 to edit a file and... was presented with the midnight commander internal editor.  

I verified that the new config changes had been saved by quitting out of mc and relaunching and looking at the config.  External editor is still selected but this setting is now ignored.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-04-01 06:28:52 UTC
You can get rid of mcedit by installing mc with the "edit" USE flag being disabled.
Would that be a feasible solution for you?
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2015-04-01 07:37:41 UTC
(In reply to Mark I Manning IV from comment #0)
> Configured mc to use an external editor, set the EDITOR environment
> variable, pressed F4 to edit a file and... was presented with the midnight
> commander internal editor.  
> 
> I verified that the new config changes had been saved by quitting out of mc
> and relaunching and looking at the config.  External editor is still
> selected but this setting is now ignored.

I can't confirm the behaviour on my setup.

Please show your:
1. emerge --info app-misc/mc
2. echo $EDITOR
3. grep internal_edit ~/.config/mc/ini