|
From: | Raffaele Ricciardi |
Subject: | Re: How should a clone of the `grep` program highlight matches for Emacs? |
Date: | Mon, 29 Jun 2015 17:58:33 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 21/06/15 16:32, Raffaele Ricciardi wrote:
(princ "\x1b[31m") ; 31 means "red", as hard-coded in `grep.el` (princ (match-string-no-properties 0)) (princ "\x1b[0m"))
This works: (princ "\x1b[01;31m") (princ (match-string-no-properties 0)) (princ "\x1b[m")
[Prev in Thread] | Current Thread | [Next in Thread] |