From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: How to highlight a large number of keywords? Date: Fri, 23 Jul 2010 09:54:35 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279871702 28920 80.91.229.12 (23 Jul 2010 07:55:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 07:55:02 +0000 (UTC) To: Emacs development discussions Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jul 23 09:54:59 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OcD5t-0001Uy-OR for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 09:54:57 +0200 Original-Received: from localhost ([127.0.0.1]:36270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcD5t-00048b-7V for ged-emacs-devel@m.gmane.org; Fri, 23 Jul 2010 03:54:57 -0400 Original-Received: from [140.186.70.92] (port=49698 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OcD5j-000470-3S for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:54:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OcD5g-0000Tt-JG for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:54:46 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:47355 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcD5g-0000Qj-7K for emacs-devel@gnu.org; Fri, 23 Jul 2010 03:54:44 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o6N7sZtR029454 for ; Fri, 23 Jul 2010 09:54:35 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127680 Archived-At: I'm trying to highlight a large number of keywords, 12000, with font-lock. I've made a regexp using regexp-opt. This doesnt work, I dont get any errors, but it seems the regexp is too large. What would be the best way to highlight this large number of keywords in Emacs? -- Joakim Verona