From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.help Subject: Re: autoconf-mode fontification Date: Thu, 28 Nov 2024 01:33:35 +0200 Message-ID: <36212.2745996871$1732750463@news.gmane.org> References: <86v7wcihvv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="581"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 28 00:34:15 2024 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tGRXz-000AWp-Am for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Nov 2024 00:34:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tGRXW-0001eC-Rk; Wed, 27 Nov 2024 18:33:46 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGRXS-0001dp-A5 for help-gnu-emacs@gnu.org; Wed, 27 Nov 2024 18:33:42 -0500 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tGRXP-00028x-46; Wed, 27 Nov 2024 18:33:42 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id 1929ED00043; Thu, 28 Nov 2024 01:33:36 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1732750416; bh=IGfNL4dOkM1A1sltKWCfE4wODFEeIg+fJ7zf6c1cJ34=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=Dg59vpTaZJWRQsuAG5xo9YQEI7mY7ZB4auuqINR29Qj7/0OZfEactexy+s3uKZoZ5 Q3vactl8X1CLAbNGEq+/qDz4D3qVvJasNAwn6whjuTz3OqPLm+mbanJ3jvCDrFOfwC mErLKWVJAvcx7/TkqCXvyvy3d7L0BJedOB9FaglGeNFiRsKFbxO22CKirNpQ2ylxYt 4eBg2neLR0rrxYNs1JuiRz0Z5wXXHfMIlnW5elN4mahKXrUC0bpyHEVnTB+Y7c8Rut AW/bozItcJWd0MRGgkWag5z93sBdVL8xTy1NzRUhBK6iEwEEekHdj0MB51cXIXczYq VCFRCguv0ypf8oGev4wi8x7YHWXx7b7WjsH9yLyN9fAv/odHSzFU9SxrwU8JhlYZch YPZP0ziiRQndMD+fuUxOiF3GK8oAMVX31jN+Nbg90a6Ff6O3F/6B/9Q1lfQrWzoiG8 cuv1tX/eGzf2nkkaKBegPE1Za2LrL+C9Q9VLi8FgDQIdcNwddZLA4PiD5fqtTMnMaF RYD2cg6AwJKRGTB8MbZOR24qLMpcnKGvbiyxtCrwi3i+ImpnGeF04X+d9ocJrOtFjz 8vKw411D+2ZFJ6LiRgzSm6wjxw6e+RWroXAk9Y86iO5jHODo1YIwGMiMlfQ1pgwZnv rz+gqMp+ZMCeGvEhAuiINPWw= In-Reply-To: <874j3s70df.fsf@> (=?utf-8?Q?=22Bj=C3=B6rn?= Bidar"'s message of "Thu, 28 Nov 2024 00:55:24 +0200") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:148421 Archived-At: Ah I got what was different. With Emacs -Q I was using the builtin autoconf mode while currently I'm using the autoconf-mode.el from the autoconf package. Once I switched over that mode to also use derived-mode and be closer to what m4-mode does even that one worked again: ;;;###autoload (define-derived-mode autoconf-mode prog-mode "ac" "A major-mode to edit Autoconf files like configure.ac. \\{autoconf-mode-map} " :syntax-table autoconf-mode-syntax-table (setq-local add-log-current-defun-function #'autoconf-current-defun) (setq-local comment-start "# ") (setq-local parse-sexp-ignore-comments t) (setq-local font-lock-defaults '(autoconf-font-lock-keywords nil)))