[Top][All Lists]

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

Re: [PATCH] Info-mode-font-lock-keywords: Fix-regexp

From: Vaidheeswaran C
Subject: Re: [PATCH] Info-mode-font-lock-keywords: Fix-regexp
Date: Sun, 31 May 2015 09:42:15 +0530
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Icedove/31.3.0

On Tuesday 26 May 2015 10:38 PM, Stefan Monnier wrote:

>>  (defvar Info-mode-font-lock-keywords
>> > -  '(("€˜\\([^€™]*\\)€™" (1 'Info-quoted))))
>> > +  '(("`\\([^€™]*\\)€™" (1 'Info-quoted))))
>> > Fontification happens fine with the attached change.
> What exactly do you mean by that?  Which problem is that supposed
> to fix?

It is a feature.

With this change, commands, variables and keystrokes in the Emacs
Manual get highlighted.  I believe experienced users usually "skim"
the manual for customizable variables and commands.  This
fontification help with skimming.

`font-lock-function-name-face' is what I would personally recommend.
It close to the `info-xref' face.

Screenshots are available are here:


I am recirculating an updated patch.


PS:   Mixing "courier" fonts with the default font seems
is...Uhh (atleast to my eyes)

Attachment: 0001-lisp-info.el-Info-mode-font-lock-keywords-Add-a-keyw.patch
Description: Text Data

reply via email to

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