GNU logs - #18111, boring messages

Message sent to bug-gnu-emacs@HIDDEN:

X-Loop: help-debbugs@HIDDEN
Subject: bug#18111: 24.3; makefile-gmake-mode: Doesn't fontify `subst' calls properly
Resent-From: Samuel Bronson <naesten@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 25 Jul 2014 22:38:02 +0000
Resent-Message-ID: <handler.18111.B.140632784915514 <at>>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 18111
X-GNU-PR-Package: emacs
To: 18111 <at>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> id=B.140632784915514
          (code B ref -1); Fri, 25 Jul 2014 22:38:02 +0000
Received: (at submit) by; 25 Jul 2014 22:37:29 +0000
Received: from localhost ([]:38180
	by with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1XAo7E-00042A-EQ
	for submit <at>; Fri, 25 Jul 2014 18:37:29 -0400
Received: from ([]:48602)
 by with esmtp (Exim 4.80)
 (envelope-from <naesten@HIDDEN>) id 1XAo7B-00041r-Lu
 for submit <at>; Fri, 25 Jul 2014 18:37:26 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <naesten@HIDDEN>) id 1XAo75-0007Uo-Gn
 for submit <at>; Fri, 25 Jul 2014 18:37:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from ([2001:4830:134:3::11]:55693)
 by with esmtp (Exim 4.71)
 (envelope-from <naesten@HIDDEN>) id 1XAo75-0007Uk-DM
 for submit <at>; Fri, 25 Jul 2014 18:37:19 -0400
Received: from ([2001:4830:134:3::10]:50318)
 by with esmtp (Exim 4.71)
 (envelope-from <naesten@HIDDEN>) id 1XAo74-0006qO-CF
 for bug-gnu-emacs@HIDDEN; Fri, 25 Jul 2014 18:37:19 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
 (envelope-from <naesten@HIDDEN>) id 1XAo73-0007UO-3i
 for bug-gnu-emacs@HIDDEN; Fri, 25 Jul 2014 18:37:18 -0400
Received: from ([2607:f8b0:400d:c04::22e]:46291)
 by with esmtp (Exim 4.71)
 (envelope-from <naesten@HIDDEN>) id 1XAo72-0007U5-VI
 for bug-gnu-emacs@HIDDEN; Fri, 25 Jul 2014 18:37:17 -0400
Received: by with SMTP id z60so5815335qgd.5
 for <bug-gnu-emacs@HIDDEN>; Fri, 25 Jul 2014 15:37:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113;
X-Received: by with SMTP id v33mr16842025qgv.39.1406327835422;
 Fri, 25 Jul 2014 15:37:15 -0700 (PDT)
Received: from hydrogen (
 by with ESMTPSA id y70sm12526498qgd.3.2014.
 for <bug-gnu-emacs@HIDDEN>
 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
 Fri, 25 Jul 2014 15:37:14 -0700 (PDT)
Received: from naesten by hydrogen with local (Exim 4.82)
 (envelope-from <naesten@HIDDEN>) id 1XAo6w-0002jE-C9
 for bug-gnu-emacs@HIDDEN; Fri, 25 Jul 2014 18:37:10 -0400
From: Samuel Bronson <naesten@HIDDEN>
Date: Fri, 25 Jul 2014 18:37:09 -0400
Message-ID: <87wqb15alm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <>
List-Unsubscribe: <>, 
 <mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>, 
 <mailto:debbugs-submit-request <at>>
Errors-To: debbugs-submit-bounces <at>
Sender: "Debbugs-submit" <debbugs-submit-bounces <at>>
X-Spam-Score: -4.0 (----)

This problem has been bugging me for quite some time: `makefile-mode',
and now `makefile-gmake-mode', don't handle a construction used in,
for example, the following passage quoted from git's Makefile:

--8<---------------cut here---------------start------------->8---
# Shell quote (do not use $(call) to accommodate ancient setups);

SHA1_HEADER_SQ = $(subst ','\'',$(SHA1_HEADER))

DESTDIR_SQ = $(subst ','\'',$(DESTDIR))
bindir_SQ = $(subst ','\'',$(bindir))
bindir_relative_SQ = $(subst ','\'',$(bindir_relative))
mandir_relative_SQ = $(subst ','\'',$(mandir_relative))
infodir_relative_SQ = $(subst ','\'',$(infodir_relative))
localedir_SQ = $(subst ','\'',$(localedir))
gitexecdir_SQ = $(subst ','\'',$(gitexecdir))
template_dir_SQ = $(subst ','\'',$(template_dir))
htmldir_relative_SQ = $(subst ','\'',$(htmldir_relative))
prefix_SQ = $(subst ','\'',$(prefix))
gitwebdir_SQ = $(subst ','\'',$(gitwebdir))

SHELL_PATH_SQ = $(subst ','\'',$(SHELL_PATH))
PERL_PATH_SQ = $(subst ','\'',$(PERL_PATH))
PYTHON_PATH_SQ = $(subst ','\'',$(PYTHON_PATH))
TCLTK_PATH_SQ = $(subst ','\'',$(TCLTK_PATH))
DIFF_SQ = $(subst ','\'',$(DIFF))
--8<---------------cut here---------------end--------------->8---

Actually, the problem doesn't seem to be at all specific to subst; it
appears to apply to any function call.

Function calls are delimited only by balanced parens()/braces{}; there
is no special treatment of single or double quotes.  In fact, Make does
not appear to have *any* particular handling for either single or double
quotes; the only reason to even fontify them at all is that *shells* do.
(I wonder why the manual never actually seems to mention this fact?)

In GNU Emacs 24.3.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2014-06-06 on babin, modified by Debian
Windowing system distributor `Colin Harrison', version 11.0.60900031
System Description:	Debian GNU/Linux testing (jessie)

Configured using:
 `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--with-crt-dir=/usr/lib/i386-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
 '--without-gsettings' 'build_alias=i486-linux-gnu' 'CFLAGS=-g -O2
 -fstack-protector --param=ssp-buffer-size=4 -Wformat
 -Werror=format-security -Wall' 'LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LC_COLLATE: C
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: GNUmakefile

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  xterm-mouse-mode: t
  show-paren-mode: t
  recentf-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!

Message sent:

Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Samuel Bronson <naesten@HIDDEN>
Subject: bug#18111: Acknowledgement (24.3; makefile-gmake-mode: Doesn't
 fontify `subst' calls properly)
Message-ID: <handler.18111.B.140632784915514.ack <at>>
References: <87wqb15alm.fsf@HIDDEN>
X-Gnu-PR-Message: ack 18111
X-Gnu-PR-Package: emacs
Reply-To: 18111 <at>
Date: Fri, 25 Jul 2014 22:38:03 +0000

Thank you for filing a new bug report with

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):

If you wish to submit further information on this problem, please
send it to 18111 <at>

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.