[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grep.el and `function-name' ?

From: Juri Linkov
Subject: Re: grep.el and `function-name' ?
Date: Sun, 08 Oct 2006 16:35:31 +0300
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

> In the font-locking mechanism of grep.el, the following appears :
> (defvar grep-mode-font-lock-keywords
>    '(;; Command output lines.
>      ("^\\([A-Za-z_0-9/\.+-]+\\)[ \t]*:" 1 font-lock-function-name-face)
> I don't see what this regexp is meant to match.

It matches lines like

grep: ../info/dirinfo: No such file or directory

(You can see how it is highlighted in etc/grep.txt)

Juri Linkov

reply via email to

[Prev in Thread] Current Thread [Next in Thread]