Re: Emacs makefile mode - Commented text turns tab pink

Heime <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <QVAEkGXlY3qOCXbdRh9K4lELCcxQqxErBprVpb2vgXrRajrjElko2qtPfAttUJEO6n7tElJ2t2d8batMcp1hTBU6FlooYDmhE4c9FEkskVQ=@protonmail.com>
On Saturday, April 25th, 2026 at 3:15 AM, Eli Zaretskii <[email protected]> wrote:

> > Date: Fri, 24 Apr 2026 15:06:07 +0000
> > From: Heime <[email protected]>
> >
> >
> > I made a makefile with some comments. In Emacs the tab of the
> > comment turns pink.  An I doing something wrong?
> >
> > $(trgdir)/antares.info: $(srcdir)/antares.texi
> > 	## Make any missing parent directories
> > 	mkdir -p $(trgdir)
> > 	$(MAKEINFO) $(MAKEINFOFLAGS) -o $@ $<
> 
> make-mode.el says:
> 
> 	    ;; Highlight shell comments that Make treats as commands,
> 	    ;; since these can fool people.
> 	    ("^\t+#" 0 makefile-space t)
> 

Make treats the comment "## Make any missing parent directories"
as a command?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.