From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: List-of-lists data structure Date: 13 Apr 2014 18:59:07 GMT Message-ID: References: <2a1fb425-2b11-4c8d-9b20-de302ffac0ed@googlegroups.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1397415627 28955 80.91.229.3 (13 Apr 2014 19:00:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Apr 2014 19:00:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 21:00:19 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WZPda-0008Hz-5O for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2014 21:00:18 +0200 Original-Received: from localhost ([::1]:38842 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WZPdZ-0005f7-PO for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Apr 2014 15:00:17 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: individual.net E6VUbp/flda+U+5i3q8WPAtzuWaUu4YCLKNc9DzFMsk19nXitC Cancel-Lock: sha1:HwcySvGzHXDNBVWQd/gPBKeBY8o= Mail-Copies-To: nobody X-Editor: Emacs of course! User-Agent: slrn/pre1.0.0-18 (Linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:204857 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:97120 Archived-At: Jacob Gerlach wrote: >> However, I was wondering the same thing as Stefan: why not use the >> >> =-sign to anchor your font-lock entry? Seems much easier. > > Perhaps I'm misunderstanding, but if I tried to use apples in the pFoo > configuration block, I'd like it not to be font-locked since it's only > a valid keyword for pBar. If I anchored to the '=', wouldn't all > keywords be fontified in all blocks? You mentioned in your original post that the names on the left of the equal signs are keywords. The font lock entry that Stefan provided would highlight everything before the equal sign and nothing after it. Of course, if that's too simplistic for what you're trying to do, then feel free to ignore the suggestion. :-) -- Joost Kremers joostkremers@fastmail.fm Selbst in die Unterwelt dringt durch Spalten Licht EN:SiS(9)