all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Jambunathan K'" <kjambunathan@gmail.com>,
	"'Oleksandr Gavenko'" <gavenkoa@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: backquote quote pair notation: What does it mean in Emacsdocument?
Date: Tue, 18 Dec 2012 16:40:13 -0800	[thread overview]
Message-ID: <DCF4DB0A2DF54F4695EAFF12A63778BD@us.oracle.com> (raw)
In-Reply-To: <87pq279nv1.fsf@gmail.com>

> >> 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...
> > Please share!
> 
> 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)))))

No, there is no standard configuration that does this.  I offered it to Emacs
Dev several times starting a long time ago (and it is still offered), but there
has never been insufficient interest.

But you can get it here - just load library `info+.el'.  It should work with GNU
Emacs versions 20 through 24.  A few of the features, such as breadcrumbs, have
been added to Emacs, but not the highlighting.

overview: http://www.emacswiki.org/cgi-bin/wiki/InfoPlus
code:     http://www.emacswiki.org/emacs-en/download/info%2b.el




  reply	other threads:[~2012-12-19  0:40 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
2012-12-19  0:40         ` Drew Adams [this message]
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=DCF4DB0A2DF54F4695EAFF12A63778BD@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=gavenkoa@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=kjambunathan@gmail.com \
    /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.