From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.devel Subject: autoconf.el fix to support AS_HELP_STRING etc Date: Sat, 30 Oct 2004 01:32:44 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1099092802 19221 80.91.229.6 (29 Oct 2004 23:33:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 29 Oct 2004 23:33:22 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 30 01:33:15 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CNgF9-0001jA-00 for ; Sat, 30 Oct 2004 01:33:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNgN0-0002tC-VD for ged-emacs-devel@m.gmane.org; Fri, 29 Oct 2004 19:41:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CNgMu-0002t7-3b for emacs-devel@gnu.org; Fri, 29 Oct 2004 19:41:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CNgMt-0002sv-L4 for emacs-devel@gnu.org; Fri, 29 Oct 2004 19:41:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CNgMt-0002ss-JE for emacs-devel@gnu.org; Fri, 29 Oct 2004 19:41:15 -0400 Original-Received: from [217.13.230.178] (helo=yxa.extundo.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CNgEn-0004UN-F6 for emacs-devel@gnu.org; Fri, 29 Oct 2004 19:32:53 -0400 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.1/8.13.1/Debian-15) with ESMTP id i9TNWkqj022930 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=OK) for ; Sat, 30 Oct 2004 01:32:47 +0200 Original-To: emacs-devel@gnu.org X-Hashcash: 1:22:041029:emacs-devel@gnu.org::a981c37b55ec494b:424370 User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) X-Virus-Scanned: clamd / ClamAV version 0.75-1, clamav-milter version 0.75c on yxa-iv X-Virus-Status: Clean 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29158 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29158 Recent Autoconf releases include macros that begin with AS_, such as AS_HELP_STRING. I've committed this patch to make the autoconf font locking code recognize them. --- autoconf.el 10 Apr 2004 20:02:45 +0200 1.7 +++ autoconf.el 30 Oct 2004 01:28:58 +0200 @@ -1,6 +1,6 @@ ;;; autoconf.el --- mode for editing Autoconf configure.in files -;; Copyright (C) 2000, 2003 Free Software Foundation, Inc. +;; Copyright (C) 2000, 2003, 2004 Free Software Foundation, Inc. ;; Author: Dave Love ;; Keywords: languages @@ -49,7 +49,7 @@ "AC_\\(SUBST\\|DEFINE\\(_UNQUOTED\\)?\\)(\\(\\sw+\\)") (defvar autoconf-font-lock-keywords - `(("A[CHM]_\\sw+" . font-lock-keyword-face) + `(("A[CHMS]_\\sw+" . font-lock-keyword-face) (,autoconf-definition-regexp 3 font-lock-function-name-face) ;; Are any other M4 keywords really appropriate for configure.in,