Re: More colors?
Benno Schulenberg <[email protected]> Fri, 22 Nov 2019 20:32:03 +0100
| Newsgroups | gmane.editors.nano.devel,gmane.editors.nano.general |
|---|---|
| Message-ID | <[email protected]> |
Hello Sébastien, Op 22-11-19 om 12:50 schreef Seb: > When I program, I'd like the comments (starting with "#") to be in a slightly > different color, such as cyan2, through the syntax coloring scheme. It is then > that Nano's limitations on colors strike. A configuration directive such as > color cyan2 "([^\\]|^)#.*" > color "#fff" "([^\\]|^)#.*" > produces an error. > > Is there a way around this that I did not find? Currently nano knows just eight colors -- or sixteen when the terminal supports bright. > Or is there a plan to introduce more colors, by name or by hex code? This request has been made a few times, even with patches included: https://savannah.gnu.org/patch/?6873 https://savannah.gnu.org/patch/?8553 That latter patch was discussed a little: https://lists.gnu.org/archive/html/nano-devel/2014-10/msg00000.html The discussion was revived three years later: https://lists.gnu.org/archive/html/nano-devel/2017-12/msg00129.html (the thread continues in the next year) https://lists.gnu.org/archive/html/nano-devel/2018-01/msg00005.html Two weeks later Brand posts a first set of patches that add extra colors: https://lists.gnu.org/archive/html/nano-devel/2018-01/msg00099.html And three weeks later a second set: https://lists.gnu.org/archive/html/nano-devel/2018-02/msg00068.html But this gets so extensive and complicated that I finally reject it: https://lists.gnu.org/archive/html/nano-devel/2018-02/msg00125.html So... even though also I would like to be able to use a handful of extra colors (mostly because the existing darkest ones are too dark for comfort on a dark background, and the lightest ones too light on a light background), I don't want all those complications. Benno
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEv9AJBh5TUFKtDfIVDSjU0qCs6IQFAl3YN7MACgkQDSjU0qCs 6IQtvBAAkV7vRmgxreV2papOhEhVu7gtog3b6oU9Pof2nE3n+tBeoxwpzuxcGTxM jSMMYQqI+wGpCerPjVCuDjifoYS8zh9APSxd8iIaIO59oe8mrdRwn0qsxhOxvX3K vgD0kCt1cs0Cs8Yb7mMgbqiITdPNJbamlrUJN7um4xGmxMFFlGyBmqAUpJIsnCaO DmGQtI2VBU5or4Miyy3N/Qbid/6lPLnOVoQD1xFHeubTlpN25pHjIIwWngV8u9Rj +K3/C1TeEQ0ZYwvy3bkNndnd7uZi2h5w0us+XRkuB9NZ3i7uqpiDBRT+khNHA+0q /qMXQVuAT9qAbTtGLYJSsFhASNBQD5ltuLsAd5NbeuygWBwVaPMW6tQuZqdowF+7 WJHA0wQPKEtyDloTk3Obse27uHB//z734OuvKWVSG5jxX14hJV4Hg98NIjsKFcG4 x0HmfPY2BQ0YZsP3kSTG05anjlI8D9FqHa9jKMaoSiohGR8LemGg0qzIMwEbTabs HPNfR72PTP0R59fUG4fPLtvRJ2Z/yLpyALwGJEqRV3B4lcmRMGBc4mucSFUr8vwP JKddCCScGVNhqAWn2P8Ysm7nr6rAxrUjDyMlmz57nK33+J4/X0ObRWxC3BSsnknp D8Rg0DiY4uhN6lfwQqrqz1Pa9WOmXI4tJrVJk8q2nUsVJxToNbs= =8QW0 -----END PGP SIGNATURE-----