Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524772 - app-editors/nano - gentoo.nanorc: syntax highlighting fails in /etc/portage/package.* directories
Summary: app-editors/nano - gentoo.nanorc: syntax highlighting fails in /etc/portage/p...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SpanKY
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-08 16:20 UTC by Franz Trischberger
Modified: 2015-02-17 23:54 UTC (History)
0 users

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 Franz Trischberger 2014-10-08 16:20:49 UTC
reproducible with Gentoo config files in /etc/portage.
If /etc/portage/package.* are directories the config files inside usually don't end with any of the keywords mentioned in the gentoo.nanorc. If you are inside e.g. /etc/portage/package.use and simply call "nano app-editors.conf" the fileregex does not match and syntax highlighting is not activated.

Solution:
nano should match the fileregexp against the absolute file name.
Comment 1 SpanKY gentoo-dev 2015-02-17 23:54:35 UTC
i've moved this to the upstream bug tracker as it's not something we can fix i the nanorc files themselves