[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: backquote quote pair notation: What does it mean in Emacsdocument?
From: |
Jambunathan K |
Subject: |
Re: backquote quote pair notation: What does it mean in Emacsdocument? |
Date: |
Wed, 19 Dec 2012 00:41:46 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Oleksandr Gavenko <gavenkoa@gmail.com> writes:
> On 2012-12-18, Drew Adams wrote:
>
>> Compare the two attached screenshots, for instance. See how the quoted text
>> stands out more when it is highlighted, and how that can help readability.
>
> How can I add such highlighting for Info buffers in my config?
>
> I think that it is done through some standard configuration...
Drew's may be more elaborate.
Here is a simple one that I cooked up. It can be simplified and be made
more elegant though.
(add-hook 'Info-mode-hook
(lambda nil
;; Add a FIXME face.
(font-lock-add-keywords
nil '(("\\(?:`[^']+'\\)" 0 'font-lock-variable-name-face t)
("\\(?:\"[^\"]*\"\\)" 0 'font-lock-string-face t)))))
> Please share!
--
- backquote quote pair notation: What does it mean in Emacs document?, ziqianggeoffreychen, 2012/12/18
- Re: backquote quote pair notation: What does it mean in Emacs document?, Jambunathan K, 2012/12/18
- RE: backquote quote pair notation: What does it mean in Emacsdocument?, Drew Adams, 2012/12/18
- RE: backquote quote pair notation: What does it mean in Emacsdocument?, Drew Adams, 2012/12/18
- Re: backquote quote pair notation: What does it mean in Emacsdocument?, Oleksandr Gavenko, 2012/12/18
- Re: backquote quote pair notation: What does it mean in Emacsdocument?,
Jambunathan K <=
- RE: backquote quote pair notation: What does it mean in Emacsdocument?, Drew Adams, 2012/12/18
- RE: backquote quote pair notation: What does it mean in Emacsdocument?, Drew Adams, 2012/12/18
- Request for highlighting back-quote/quote pair notation., Oleksandr Gavenko, 2012/12/19
- RE: Request for highlighting back-quote/quote pair notation., Drew Adams, 2012/12/19
- Message not available
- Re: Request for highlighting back-quote/quote pair notation., Ted Zlatanov, 2012/12/20
- Re: backquote quote pair notation: What does it mean in Emacsdocument?, Oleksandr Gavenko, 2012/12/19
- Re: backquote quote pair notation: What does it mean in Emacsdocument?, Jambunathan K, 2012/12/19
Re: backquote quote pair notation: What does it mean in Emacs document?, Thien-Thi Nguyen, 2012/12/18