Bug#183043: marked as done (vim: bug in makefile syntax highlighting)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 17 Nov 2004 16:03:48 -0800


Your message dated Wed, 17 Nov 2004 16:20:10 -0500
with message-id <20041117212009.GB25110@redwald.deadbeast.net>
and subject line closing resolved bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Mar 2003 20:52:56 +0000
>From branden@deadbeast.net Sat Mar 01 14:52:55 2003
Return-path: <branden@deadbeast.net>
Received: from dhcp16621067.indy.rr.com (redwald.deadbeast.net) [24.166.21.67] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18pDyZ-0005yQ-00; Sat, 01 Mar 2003 14:52:55 -0600
Received: by redwald.deadbeast.net (Postfix, from userid 1000)
	id 774D264476; Sat,  1 Mar 2003 15:52:54 -0500 (EST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Branden Robinson <branden@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: bug in makefile syntax highlighting
X-Mailer: reportbug 2.10
Date: Sat, 01 Mar 2003 15:52:54 -0500
Message-Id: <20030301205254.774D264476@redwald.deadbeast.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-0.2 required=4.0
	tests=HAS_PACKAGE,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

Package: vim
Version: 1:6.1-320+1
Severity: normal

The following very gross line of Makefile confuses the syntax
highlighter.

OFFICIAL_BUILD:=$(shell VERSION=$(SOURCE_VERSION); if ! expr "$$(echo $${VERSION\#\#*-} | sed 's/\(woody\|sarge\)//g')" : ".*[^0-9.].*" > /dev/null 2>&1; then echo yes; else echo no; fi)

It gets confused by the double-quote immediately after the sed command.

-- System Information:
Debian Release: testing/unstable
Architecture: powerpc
Kernel: Linux redwald 2.4.19-powerpc #1 Mon Sep 9 09:01:43 EDT 2002 ppc
Locale: LANG=C, LC_CTYPE=C

Versions of packages vim depends on:
ii  dpkg                      1.10.9         Package maintenance system for Deb
ii  libc6                     2.3.1-14       GNU C Library: Shared libraries an
ii  libgpmg1                  1.19.6-12.1    General Purpose Mouse Library [lib
ii  libncurses5               5.3.20021109-2 Shared libraries for terminal hand

-- no debconf information


---------------------------------------
Received: (at 183043-done) by bugs.debian.org; 17 Nov 2004 21:20:11 +0000
>From branden@redwald.deadbeast.net Wed Nov 17 13:20:11 2004
Return-path: <branden@redwald.deadbeast.net>
Received: from dhcp065-026-182-085.indy.rr.com (sisyphus.deadbeast.net) [65.26.182.85] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CUXDn-0005YC-00; Wed, 17 Nov 2004 13:20:11 -0800
Received: by sisyphus.deadbeast.net (Postfix, from userid 1000)
	id 0E9F968C00E; Wed, 17 Nov 2004 16:20:10 -0500 (EST)
Date: Wed, 17 Nov 2004 16:20:10 -0500
From: Branden Robinson <branden@debian.org>
To: 183043-done@bugs.debian.org
Subject: closing resolved bug
Message-ID: <20041117212009.GB25110@redwald.deadbeast.net>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="s2ZSL+KKDSLx8OML"
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 183043-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 


--s2ZSL+KKDSLx8OML
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

vim: bug in makefile syntax highlighting

Vim's syntax highlighter no longer seem to be quite as confused by the sort
of Byzantine embedded shell construction I fed it.  It doesn't do proper
*shell* syntax highlighting, but that's a bit much to expect.  It also
doesn't see Make variables getting derefenced inside the shell construct,
but that's not a big deal either.

What it no longer does is throw the syntax highlighter into a bad state
that colors the rest of the Makefile wrongly.

That's a good thing, and good enough for me.

Closing this report, which I filed.

--=20
G. Branden Robinson                |    The first thing the communists do
Debian GNU/Linux                   |    when they take over a country is to
branden@debian.org                 |    outlaw cockfighting.
http://people.debian.org/~branden/ |    -- Oklahoma State Senator John Monks

--s2ZSL+KKDSLx8OML
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iEYEARECAAYFAkGbwIkACgkQ6kxmHytGonxT5QCeILIsYSZPSV89dAlVVGoihcFQ
oscAn3rPXImPvStNIOHIp14q63pHFQRx
=N6Op
-----END PGP SIGNATURE-----

--s2ZSL+KKDSLx8OML--