Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248210 - app-editors/nano-2.1.7 gentoo.nanorc doesn't highlight in /etc/portage/package.*/*
Summary: app-editors/nano-2.1.7 gentoo.nanorc doesn't highlight in /etc/portage/packag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High trivial
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-22 16:24 UTC by Ildar Sagdejev
Modified: 2009-08-13 02:21 UTC (History)
0 users

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


Attachments
adds gentoo syntax highlighting for /etc/portage/packages.*/* (gentoo.nanorc.patch,369 bytes, patch)
2008-11-22 16:25 UTC, Ildar Sagdejev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ildar Sagdejev 2008-11-22 16:24:50 UTC
Portage allows expanding /etc/portage/package.keywords and friends into separate files, under /etc/portage/package.keywords/.  I have made a patch for /usr/share/nano/gentoo.nanorc to highlight gentoo syntax when editing those files.

Reproducible: Always

Steps to Reproduce:
1. nano -w /etc/portage/pacakge.keywords/part1

Actual Results:  
This line is not highlighted:

app-editors/nano ~amd64

Expected Results:  
"app-editors/" should be cyan, "nano" should be green

Perhaps there's an even better / more correct way to write that regex?
Comment 1 Ildar Sagdejev 2008-11-22 16:25:39 UTC
Created attachment 172870 [details, diff]
adds gentoo syntax highlighting for /etc/portage/packages.*/*
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2008-11-26 13:58:39 UTC
Reassigning...
Comment 3 SpanKY gentoo-dev 2009-08-13 02:21:16 UTC
this has been merged upstream iirc and should be fixed in latest versions