* Adding additional font-lock face to info files
@ 2006-12-16 18:03 Angelina Carlton
2006-12-16 19:08 ` Drew Adams
0 siblings, 1 reply; 3+ messages in thread
From: Angelina Carlton @ 2006-12-16 18:03 UTC (permalink / raw)
Hi,
When reading info files, I would like to highlight strings that are quoted
by the author with `'
For example in the excellent book emacs-lisp-intro this snippet:
,----
| Both the examples just mentioned work identically to move point forward
| three sentences. (Since `multiply-by-seven' is not bound to a key, it
| could not be used as an example of key binding.)
`----
The string `multiply-by-seven' is what I would want font locked.
Unfortunately I am not far enough into this book to learn how to do
this. :-)
The only faces I see that I am able to customize are:
info-header-node info-header-xref
info-menu-header info-menu-star
info-node info-title-1
info-title-2 info-title-3
info-title-4 info-xref
info-xref-visited
Thanks!
--
-----Angelina Carlton-----
orchid on irc.freenode.net
brat@magma.ca
http://bzgirl.org
--------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: Adding additional font-lock face to info files
2006-12-16 18:03 Adding additional font-lock face to info files Angelina Carlton
@ 2006-12-16 19:08 ` Drew Adams
2006-12-16 21:26 ` Angelina Carlton
0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2006-12-16 19:08 UTC (permalink / raw)
> When reading info files, I would like to highlight strings
> that are quoted by the author with `'
I have done this already (and also strings: "..."). Try this:
doc - http://www.emacswiki.org/cgi-bin/wiki/InfoPlus
library - http://www.emacswiki.org/cgi-bin/emacs/info+.el
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Adding additional font-lock face to info files
2006-12-16 19:08 ` Drew Adams
@ 2006-12-16 21:26 ` Angelina Carlton
0 siblings, 0 replies; 3+ messages in thread
From: Angelina Carlton @ 2006-12-16 21:26 UTC (permalink / raw)
"Drew Adams" <drew.adams@oracle.com> writes:
> I have done this already (and also strings: "..."). Try this:
>
> doc - http://www.emacswiki.org/cgi-bin/wiki/InfoPlus
>
> library - http://www.emacswiki.org/cgi-bin/emacs/info+.el
>
Thanks Drew, just what I was looking for.
--
-----Angelina Carlton-----
orchid on irc.freenode.net
brat@magma.ca
http://bzgirl.org
--------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-16 21:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-16 18:03 Adding additional font-lock face to info files Angelina Carlton
2006-12-16 19:08 ` Drew Adams
2006-12-16 21:26 ` Angelina Carlton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).