From: Bastien <bzg@gnu.org>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: custom emacs org-emphasis-alist breaks EXPORT, help ;-) ?
Date: Fri, 04 Oct 2013 10:02:15 +0200 [thread overview]
Message-ID: <87d2nlzcoo.fsf@bzg.ath.cx> (raw)
In-Reply-To: <CAOQHXPq6b8ZQG+GS=7-03=CoNnH+0C3cVmtErMezG2u_8sJj_w@mail.gmail.com> (Xebar Saram's message of "Fri, 4 Oct 2013 10:50:59 +0300")
Xebar Saram <zeltakc@gmail.com> writes:
> as you said i just want to highlight (BG/FG) specific areas/lines.
> any help would be greatly appreciated!
E.g. you can do this to highlight ♩ with '(:weight
ultra-bold :background "#FFBF1E") :
(font-lock-add-keywords
'org-mode
'(("♩" (0 '(:weight ultra-bold :background "#FFBF1E") t))))
"♩" is actually a regular expression, so you can use [♩©] to highlight
both ♩ and ©.
0 means to highlight the entire matching text.
HTH,
--
Bastien
next prev parent reply other threads:[~2013-10-04 8:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-04 6:31 custom emacs org-emphasis-alist breaks EXPORT, help ;-) ? Xebar Saram
2013-10-04 7:21 ` Bastien
2013-10-04 7:50 ` Xebar Saram
2013-10-04 8:02 ` Bastien [this message]
2013-10-04 8:23 ` Xebar Saram
2013-10-04 8:27 ` Bastien
2013-10-04 9:15 ` Eric Abrahamsen
2013-10-04 19:12 ` Xebar Saram
2013-10-05 4:42 ` Eric Abrahamsen
2013-10-05 17:09 ` Xebar Saram
2013-10-06 5:04 ` Eric Abrahamsen
2013-11-02 7:48 ` Xebar Saram
2013-11-02 10:15 ` Eric Abrahamsen
2013-11-02 12:50 ` Xebar Saram
2013-11-02 15:12 ` Jambunathan K
2013-11-03 4:15 ` Eric Abrahamsen
2013-11-03 9:48 ` Xebar Saram
2013-11-03 0:16 ` Jambunathan K
2013-11-04 4:03 ` Eric Abrahamsen
2013-11-04 7:14 ` Xebar Saram
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d2nlzcoo.fsf@bzg.ath.cx \
--to=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
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).