From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: custom emacs org-emphasis-alist breaks EXPORT, help ;-) ? Date: Fri, 04 Oct 2013 10:02:15 +0200 Message-ID: <87d2nlzcoo.fsf@bzg.ath.cx> References: <87r4c1mrh1.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS0LF-0000Lh-PK for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:02:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VS0L7-000614-BU for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:02:29 -0400 Received: from mail-wg0-x231.google.com ([2a00:1450:400c:c00::231]:52886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VS0L6-00060p-Ur for emacs-orgmode@gnu.org; Fri, 04 Oct 2013 04:02:21 -0400 Received: by mail-wg0-f49.google.com with SMTP id l18so3760536wgh.16 for ; Fri, 04 Oct 2013 01:02:19 -0700 (PDT) In-Reply-To: (Xebar Saram's message of "Fri, 4 Oct 2013 10:50:59 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Xebar Saram Cc: org mode Xebar Saram 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