[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Highlight special string
From: |
Darlan Cavalcante Moreira |
Subject: |
Re: [Orgmode] Highlight special string |
Date: |
Fri, 26 Nov 2010 10:52:37 -0300 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) Emacs/23.2 Mule/6.0 (HANACHIRUSATO) |
Not exactly what you want, but for temporary highlights (useful for
instance to see if you are repeating the same word too much in a text) you
can use hi-lock-mode.
Turn hi-lock-mode on with M-x hi-lock-mode. Then you can highlight a word
with "C-x w h" (highlight-regexp) or a the line containing a word with "C-x
w l" (highlight-lines-matching-regexp). Remove highlights with "C-x w r".
--
Darlan
At Wed, 24 Nov 2010 09:21:00 +0100,
Karl Maihofer <address@hidden> wrote:
>
> Hi,
>
> I don't know if this is an Org- or Emacs-Question. For highlighting
> special strings in AucTeX I used a variable
> "font-latex-user-keyword-classes" so I thought there may be an
> org-specific variable to achieve what I want in orgmode.
>
> I'd like to highlight the strings "(ok)" and "(fail)" in my
> Org-document. Ok should get a green background, fail a red one. I
> think highlighting in emacs should last, but it would be great to have
> these strings highlighted in HTML-export, too, if this is no problem.
>
> Could anybody give me a hint how to define highlighting for special
> strings in orgmode?
>
> Thanks a lot!
> Karl
>
>
>
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> address@hidden
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode