From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Maihofer Subject: Highlight special string Date: Wed, 24 Nov 2010 09:21:00 +0100 Message-ID: <20101124092100.92961w5rst4tyeis@webmail.df.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=54944 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PLAbA-0005UG-4j for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PLAb9-00041f-3Q for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:04 -0500 Received: from smtprelay01.ispgateway.de ([80.67.31.24]:57797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PLAb8-00041W-Tg for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 03:21:03 -0500 Received: from [80.67.16.116] (helo=webmailfront05.ispgateway.de) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1PLAb6-0002IK-Oy for emacs-orgmode@gnu.org; Wed, 24 Nov 2010 09:21:00 +0100 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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