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 <ignora...@gmx.de> 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. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode