[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Highlight special string

From: Karl Maihofer
Subject: Re: [Orgmode] Highlight special string
Date: Fri, 26 Nov 2010 19:08:54 +0100
User-agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.2)

Hi Darlan!

Thanks a lot! That's a good solution.


Darlan Cavalcante Moreira <address@hidden> schrieb:

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".


At Wed, 24 Nov 2010 09:21:00 +0100,
Karl Maihofer <address@hidden> wrote:


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!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]