Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397413 - app-editors/nano: updated gentoo.nanorc
Summary: app-editors/nano: updated gentoo.nanorc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-02 16:11 UTC by Davide Pesavento
Modified: 2012-08-26 03:20 UTC (History)
1 user (show)

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


Attachments
Patch for gentoo.nanorc (gentoo.nanorc.patch,4.21 KB, patch)
2012-01-02 16:11 UTC, Davide Pesavento (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Davide Pesavento (RETIRED) gentoo-dev 2012-01-02 16:11:28 UTC
Created attachment 297699 [details, diff]
Patch for gentoo.nanorc

Various updates to syntax highlighting:

* EAPI 2 default phase functions
* EAPI 3 prefix variables (ED, EROOT, EPREFIX)
* EAPI 4 stuff (pkg_pretend, docompress, nonfatal, REQUIRED_USE, MERGE_TYPE, REPLACING_VERSIONS, REPLACED_BY_VERSION)
* more tests for [ ] conditionals
* removed eqmake3 support
* added use_if_iuse and in_iuse highlighting, similar to use, use_enable, etc..
* recognize epatch_user, elibtoolize, estack_(push|pop) & friends, version_is_at_least as "portage commands"
* recognize rmdir, pushd, popd as "common commands used in ebuilds"
* recognize DOCS, HTML_DOCS, PATCHES, WANT_LIBTOOL as special variables


Do you think the helpers banned in recent EAPIs (dosed, dohard, ebeep, epause) should be removed too?
Comment 1 SpanKY gentoo-dev 2012-02-25 00:42:01 UTC
the idea with the bash syntax was to highlight the common stuff that should actually get used ... kind of discourages the rest.  so i don't want to change the single letter list to include all possible test flags.

the rest looks good.  i'll run it locally and see how it works out in practice.
Comment 2 Davide Pesavento (RETIRED) gentoo-dev 2012-08-23 01:37:30 UTC
ping?
Comment 3 SpanKY gentoo-dev 2012-08-26 03:20:45 UTC
should be all set now in the tree; thanks for the report!

Commit message: Update nanorc files
http://sources.gentoo.org/app-editors/nano/nano-2.3.1-r2.ebuild?rev=1.1