From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Wiegley Subject: Re: how to add font-lock keywords Date: Tue, 23 Aug 2011 20:17:36 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw3Wa-0004V9-0q for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 22:49:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qw3WZ-00057N-5e for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 22:49:03 -0400 Received: from lo.gmane.org ([80.91.229.12]:58347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qw3WZ-00057G-0T for emacs-orgmode@gnu.org; Tue, 23 Aug 2011 22:49:03 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Qw3WV-0002VC-82 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 04:48:59 +0200 Received: from c-98-215-105-167.hsd1.il.comcast.net ([98.215.105.167]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Aug 2011 04:48:59 +0200 Received: from jwiegley by c-98-215-105-167.hsd1.il.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 24 Aug 2011 04:48:59 +0200 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: emacs-orgmode@gnu.org >>>>> John Wiegley writes: >>>>> Le Wang writes: >> I wasn't able to google a clear examples of how to do this. For example, >> I'd like to highlight all text between double-quotes. > Typically it looks something like this: > (font-lock-add-keywords org-mode [...] Sorry, that should be 'org-mode, to name the symbol, not attempt to use its value. John