all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Oleksandr Gavenko <gavenkoa@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: backquote quote pair notation: What does it mean in Emacsdocument?
Date: Wed, 19 Dec 2012 00:41:46 +0530	[thread overview]
Message-ID: <87pq279nv1.fsf@gmail.com> (raw)
In-Reply-To: <87hanj428m.fsf@gavenkoa.example.com> (Oleksandr Gavenko's message of "Tue, 18 Dec 2012 20:57:45 +0200")

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!

-- 



  reply	other threads:[~2012-12-18 19:11 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-18 10:56 backquote quote pair notation: What does it mean in Emacs document? ziqianggeoffreychen
2012-12-18 11:49 ` Jambunathan K
2012-12-18 14:40   ` backquote quote pair notation: What does it mean in Emacsdocument? Drew Adams
2012-12-18 15:29     ` Drew Adams
2012-12-18 18:57     ` Oleksandr Gavenko
2012-12-18 19:11       ` Jambunathan K [this message]
2012-12-19  0:40         ` Drew Adams
2012-12-19  0:42           ` Drew Adams
2012-12-19 17:15           ` Request for highlighting back-quote/quote pair notation Oleksandr Gavenko
2012-12-19 17:49             ` Drew Adams
     [not found]             ` <mailman.15693.1355939373.855.help-gnu-emacs@gnu.org>
2012-12-20 13:26               ` Ted Zlatanov
2021-05-31  7:47             ` bug#13228: " Lars Ingebrigtsen
2021-07-02 11:15               ` Lars Ingebrigtsen
2021-07-02 15:08                 ` bug#13228: [External] : " Drew Adams
2021-07-02 15:19                   ` Lars Ingebrigtsen
2021-07-02 16:25                     ` Drew Adams
2012-12-19 19:57         ` backquote quote pair notation: What does it mean in Emacsdocument? Oleksandr Gavenko
2012-12-19 20:31           ` Jambunathan K
2012-12-18 15:02   ` backquote quote pair notation: What does it mean in Emacs document? Thien-Thi Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pq279nv1.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.