From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: dieter@duenenhof-wilhelm.de Newsgroups: gmane.emacs.help Subject: fontifying of user defined variables Date: Tue, 12 Sep 2006 12:00:28 +0200 Message-ID: <10129949.484411158055226421.JavaMail.servlet@kundenserver> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158055255 19591 80.91.229.2 (12 Sep 2006 10:00:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Sep 2006 10:00:55 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 12 12:00:54 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GN54V-0003TD-R9 for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 12:00:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GN54V-0007bC-EW for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Sep 2006 06:00:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GN54I-0007an-Rm for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 06:00:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GN54F-0007a2-JD for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 06:00:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GN54F-0007Zx-Em for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 06:00:35 -0400 Original-Received: from [212.227.126.183] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GN55i-0004dL-6r for help-gnu-emacs@gnu.org; Tue, 12 Sep 2006 06:02:06 -0400 Original-Received: from [172.23.4.158] (helo=pustefix158.kundenserver.de) by mrelayeu.kundenserver.de (node=mrelayeu1) with ESMTP (Nemesis), id 0MKwpI-1GN5480vXn-0004Q0; Tue, 12 Sep 2006 12:00:28 +0200 Original-To: X-Priority: 3 X-Binford: 6100 (more power) X-Mailer: Webmail X-Originating-From: 28378715 X-Routing: DE X-Message-Id: <28378715$1158055226421172.23.4.15816315491@pustefix158.kundenserver.de-1140441071> X-Received: from pustefix158.kundenserver.de by 194.138.39.55 with HTTP id 28378715 for [help-gnu-emacs@gnu.org]; Tue, 12 Sep 2006 12:00:26 CEST X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:37302 Archived-At: Hi I'd like to highlight user specified variables in a major mode for a simple macro language (Ansys parametric design language or APDL). All number variables are specified with the following assignment: VARIABEL=VALUE I'd like to fontify in a certain face any variable VARIABLE which was defined in such a way and appears after the definition anywhere in the code. Could you please outline the method or point to a lisp file where such a "dynamic" highlighting is accomplished. -- Dieter