Bug#187181: marked as done (vim: mishighlighing of <<... in objc)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 22 Mar 2005 05:33:20 -0800


Your message dated Tue, 22 Mar 2005 14:18:21 +0100 (CET)
with message-id <20050322131821.1E79912C6D@amaretto.inria.fr>
and subject line fixed in vim 6.3.x that are in sarge
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 Apr 2003 17:49:15 +0000
>From bill@taniwha.org Tue Apr 01 11:49:15 2003
Return-path: <bill@taniwha.org>
Received: from h68-145-16-188.cg.shawcable.net (rusalka.taniwha.org) [68.145.16.188] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 190Pso-00023e-00; Tue, 01 Apr 2003 11:49:15 -0600
Received: from bill by rusalka.taniwha.org with local (Exim 3.36 #1 (Debian))
	id 190Psm-0003iC-00; Tue, 01 Apr 2003 10:49:12 -0700
Content-Type: multipart/mixed; boundary="===============86996569517533495=="
MIME-Version: 1.0
From: Bill Currie <bill@taniwha.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: mishighlighing of <<... in objc
X-Mailer: reportbug 2.10.1
Date: Tue, 01 Apr 2003 10:49:11 -0700
Message-Id: <E190Psm-0003iC-00@rusalka.taniwha.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-1.1 required=4.0
	tests=HAS_PACKAGE,PATCH_UNIFIED_DIFF,SPAM_PHRASE_00_01
	version=2.44
X-Spam-Level: 

This is a multi-part MIME message sent by reportbug.

--===============86996569517533495==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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


	[cell setIntValue: (flags & (1<< ((c*4)+r)) ) > 0];

The above line gets highlighted as a string starting at the << and
ending at the > and the following ] and } tokens get marked as errors.
This is caused by some deficiency in the objcImport and objcImported
rules. I found that removing those and just making #import trigger the
cInclude region works well.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux rusalka 2.4.20-pre4 #1 SMP Tue Sep 3 22:12:35 MDT 2002 i686
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-16       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


--===============86996569517533495==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="objc.vim.diff"

--- objc.vim	2003-02-08 13:53:20.000000000 -0700
+++ /home/bill/objc.vim	2003-04-01 10:38:47.000000000 -0700
@@ -29,10 +29,8 @@
 syn keyword objcType			id Class SEL IMP BOOL nil Nil
 syn keyword objcTypeModifier bycopy in out inout oneway
 
-" Match the ObjC #import directive (like C's #include)
-syn region objcImported contained start=+"+  skip=+\\\\\|\\"+  end=+"+
-syn match  objcImported contained "<[^>]*>"
-syn match  objcImport  "^#\s*import\>\s*["<]" contains=objcImported
+" Make the ObjC #import directive part of C's #include directive
+syn match   cInclude    display "^\s*#\s*import\>\s*["<]" contains=cIncluded
 
 " Match the important ObjC directives
 syn match  objcScopeDecl "@public\|@private\|@protected"

--===============86996569517533495==--

---------------------------------------
Received: (at 187181-done) by bugs.debian.org; 22 Mar 2005 13:18:53 +0000
>From habouzit@amaretto.inria.fr Tue Mar 22 05:18:52 2005
Return-path: <habouzit@amaretto.inria.fr>
Received: from nez-perce.inria.fr [192.93.2.78] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DDjHY-0003Ux-00; Tue, 22 Mar 2005 05:18:52 -0800
Received: from amaretto.inria.fr (amaretto.inria.fr [128.93.8.127])
	by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j2MDILKL021837
	for <187181-done@bugs.debian.org>; Tue, 22 Mar 2005 14:18:21 +0100
Received: by amaretto.inria.fr (Postfix, from userid 12657)
	id 1E79912C6D; Tue, 22 Mar 2005 14:18:21 +0100 (CET)
To: 187181-done@bugs.debian.org
Subject: fixed in vim 6.3.x that are in sarge
Message-Id: <20050322131821.1E79912C6D@amaretto.inria.fr>
Date: Tue, 22 Mar 2005 14:18:21 +0100 (CET)
From: habouzit@amaretto.inria.fr (Pierre Habouzit)
X-Miltered: at nez-perce with ID 42401B1D.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)!
Delivered-To: 187181-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(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_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 530061