From: Bois Francois-Xavier <fxbois@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: set background color without using faces
Date: Mon, 8 Apr 2013 18:38:13 +0200 [thread overview]
Message-ID: <CAK1xyPOkdh0qJq5=LNdkVTXJ6aqv0yFFN9wBxTdkEchmTvEKSg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 765 bytes --]
Dear emacsians,
For my project [1] I am wondering if it is possible to achieve this : after
I have fontified the various blocks [2] (with direct use of
font-lock-fontify-region [3]) , can I force the background for specific
regions (ie. the server blocks and not the client ones) ?
I am working on the compatiblity with the razor language (also used by the
Play framework) and want to achieve this :
http://weblogs.asp.net/blogs/scottgu/image_thumb_4C76B8A4.png
Thank you in advance
[1] web-mode.el , a major mode for editing web templates , available on
http://web-mode.org
[2] clients parts (css/js) and server blocks (ie php, jsp, dtl, etc.)
[3] in the faq of http://web-mode.org , I explain why I use different
method in order to fontify buffers.
fxbois
[-- Attachment #2: Type: text/html, Size: 1963 bytes --]
next reply other threads:[~2013-04-08 16:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-08 16:38 Bois Francois-Xavier [this message]
2013-04-08 17:26 ` set background color without using faces Eli Zaretskii
[not found] ` <mailman.23781.1365441972.855.help-gnu-emacs@gnu.org>
2013-04-08 19:26 ` fxbois
2013-04-08 20:24 ` Stefan Monnier
[not found] ` <mailman.23790.1365452710.855.help-gnu-emacs@gnu.org>
2013-04-08 22:35 ` fxbois
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='CAK1xyPOkdh0qJq5=LNdkVTXJ6aqv0yFFN9wBxTdkEchmTvEKSg@mail.gmail.com' \
--to=fxbois@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.