From: "Björn Bidar" <bjorn.bidar@thaodan.de>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: autoconf-mode fontification
Date: Thu, 28 Nov 2024 01:33:35 +0200 [thread overview]
Message-ID: <36212.2745996871$1732750463@news.gmane.org> (raw)
In-Reply-To: <874j3s70df.fsf@> ("Björn Bidar"'s message of "Thu, 28 Nov 2024 00:55:24 +0200")
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)))
next prev parent reply other threads:[~2024-11-27 23:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87iksc7cle.fsf@>
2024-11-24 17:59 ` autoconf-mode fontification Arsen Arsenović
2024-11-24 18:52 ` Eli Zaretskii
2024-11-27 22:55 ` Björn Bidar
[not found] ` <874j3s70df.fsf@>
2024-11-27 23:33 ` Björn Bidar [this message]
[not found] ` <87y1145k1c.fsf@>
2024-11-28 7:32 ` Eli Zaretskii
2024-11-28 9:42 ` Björn Bidar
2024-11-28 11:54 ` Eli Zaretskii
2024-11-24 17:42 Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='36212.2745996871$1732750463@news.gmane.org' \
--to=bjorn.bidar@thaodan.de \
--cc=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).