The lesspipe.sh script only looks in $LESS for a stand-alone -r or -R option, not for r or R grouped together with other options. To make the script parse LESS in a fully correct way is a bit over the top, in my opinion, so I propose the attached patch. My LESS has since long been defined as "-ciKMRS -z-2 -#20", so I never saw the automatic coloring by less appear. Setting LESSCOLOR=yes should simply work. Also, the text in /usr/share/doc/less-394/README.Gentoo.gz is no longer correct: the default is now to colorize, if LESS contains -r or -R.
Created attachment 102809 [details, diff] force 'less' to colorize when LESSCOLOR is yes
i've added a new keyword "always" so that is no ambiguity here in cvs, thanks !