Bug#264284: marked as done (vim: xdefaults syntax coloring buggy)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 20 Mar 2005 09:33:45 -0800

Your message dated Sun, 20 Mar 2005 12:18:10 -0500
with message-id <E1DD442-0004ZQ-00@newraff.debian.org>
and subject line Bug#264284: fixed in vim 1:6.3-067+1
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; 7 Aug 2004 21:55:57 +0000
>From pdewacht@vub.ac.be Sat Aug 07 14:55:57 2004
Return-path: <pdewacht@vub.ac.be>
Received: from outmx003.isp.belgacom.be [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BtZAT-00085q-00; Sat, 07 Aug 2004 14:55:57 -0700
Received: from outmx003.isp.belgacom.be (localhost [])
        by outmx003.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i77Ltr3H008624
        for <submit@bugs.debian.org>; Sat, 7 Aug 2004 23:55:53 +0200
        (envelope-from <pdewacht@vub.ac.be>)
Received: from arrakis (246.40-201-80.adsl.skynet.be [])
        by outmx003.isp.belgacom.be (8.12.11/8.12.11/Skynet-OUT-2.22) with ESMTP id i77Ltnwh008606;
	Sat, 7 Aug 2004 23:55:49 +0200
        (envelope-from <pdewacht@vub.ac.be>)
Received: from pdewacht by arrakis with local (Exim 3.36 #1 (Debian))
	id 1BtZAK-0000wJ-00; Sat, 07 Aug 2004 23:55:48 +0200
Content-Type: multipart/mixed; boundary="===============0389366512=="
MIME-Version: 1.0
From: Peter De Wachter <pdewacht@vub.ac.be>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim: xdefaults syntax coloring buggy
X-Mailer: reportbug 2.64
Date: Sat, 07 Aug 2004 23:55:48 +0200
Message-Id: <E1BtZAK-0000wJ-00@arrakis>
Sender: Peter De Wachter <pdewacht@vub.ac.be>
Delivered-To: submit@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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25

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

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

Package: vim
Version: 1:6.3-013+2
Severity: minor
Tags: patch

Vim's syntax coloring for Xdefaults files gets confused by lines as:
    #define FONT -*-trebuchet\ ms-medium-r-*-*-*-100-*-*-*-*-*-*
It colors everything starting from the first '0' as a comment. The
attached patch fixes this for me, but I don't understand the syntax
coloring commands, so I'm not sure if it is the right way to do it.

Peter De Wachter

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.5
Locale: LANG=nl_BE@euro, LC_CTYPE=nl_BE@euro

Versions of packages vim depends on:
ii  dpkg                        1.10.23      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-15 GNU C Library: Shared libraries an
ii  libgpmg1                    1.19.6-12.1  General Purpose Mouse Library [lib
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  vim-common                  1:6.3-013+2  Vi IMproved - Common files

-- no debconf information

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

--- xdefaults.vim.orig	2004-08-07 23:22:27.000000000 +0200
+++ xdefaults.vim	2004-08-07 23:50:41.000000000 +0200
@@ -76,7 +76,7 @@
 syn match	xdefaultsIncluded	contained "<[^>]*>"
 syn match	xdefaultsInclude	"^\s*#\s*include\>\s*["<]" contains=xdefaultsIncluded
 syn cluster	xdefaultsPreProcGroup	contains=xdefaultsPreProc,xdefaultsIncluded,xdefaultsInclude,xdefaultsDefine
-syn region	xdefaultsDefine		start="^\s*#\s*\(define\|undef\)\>" skip="\\$" end="$" contains=ALLBUT,@xdefaultsPreProcGroup,xdefaultsCommentH,xdefaultsErrorLine
+syn region	xdefaultsDefine		start="^\s*#\s*\(define\|undef\)\>" skip="\\$" end="$" contains=ALLBUT,@xdefaultsPreProcGroup,xdefaultsCommentH,xdefaultsErrorLine,xdefaultsCppOut2
 syn region	xdefaultsPreProc	start="^\s*#\s*\(pragma\>\|line\>\|warning\>\|warn\>\|error\>\)" skip="\\$" end="$" keepend contains=ALLBUT,@xdefaultsPreProcGroup,xdefaultsCommentH,xdefaultsErrorLine


Received: (at 264284-close) by bugs.debian.org; 20 Mar 2005 17:25:37 +0000
>From katie@ftp-master.debian.org Sun Mar 20 09:25:37 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DD4BE-0005xY-00; Sun, 20 Mar 2005 09:25:36 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DD442-0004ZQ-00; Sun, 20 Mar 2005 12:18:10 -0500
From: Norbert Tretkowski <nobse@debian.org>
To: 264284-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#264284: fixed in vim 1:6.3-067+1
Message-Id: <E1DD442-0004ZQ-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 20 Mar 2005 12:18:10 -0500
Delivered-To: 264284-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 3

Source: vim
Source-Version: 1:6.3-067+1

We believe that the bug you reported is fixed in the latest version of
vim, which is due to be installed in the Debian FTP archive:

  to pool/main/v/vim/kvim-perl_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-python_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-ruby_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim-tcl_6.3-067+1_i386.deb
  to pool/main/v/vim/kvim_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-common_6.3-067+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-067+1_all.deb
  to pool/main/v/vim/vim-gnome_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-067+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-067+1_i386.deb
  to pool/main/v/vim/vim_6.3-067+1.diff.gz
  to pool/main/v/vim/vim_6.3-067+1.dsc
  to pool/main/v/vim/vim_6.3-067+1_i386.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 264284@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Norbert Tretkowski <nobse@debian.org> (supplier of updated vim package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Sun, 20 Mar 2005 10:56:11 +0100
Source: vim
Binary: vim-lesstif vim-common vim-doc vim-gnome kvim-ruby vim vim-gtk kvim-perl vim-perl kvim-tcl vim-tiny vim-ruby vim-python vim-tcl kvim-python kvim
Architecture: source i386 all
Version: 1:6.3-067+1
Distribution: unstable
Urgency: low
Maintainer: Debian VIM Maintainers <pkg-vim-maintainers@lists.alioth.debian.org>
Changed-By: Norbert Tretkowski <nobse@debian.org>
 kvim       - Vi IMproved - KDE 3.x version
 kvim-perl  - Vi IMproved - KDE 3.x version with Perl scripting support
 kvim-python - Vi IMproved - KDE 3.x version with Python scripting support
 kvim-ruby  - Vi IMproved - KDE 3.x version with Ruby scripting support
 kvim-tcl   - Vi IMproved - KDE 3.x version with TCL scripting support
 vim        - Vi IMproved - enhanced vi editor
 vim-common - Vi IMproved - Common files
 vim-doc    - Vi IMproved - Documentation files
 vim-gnome  - Vi IMproved - GNOME2 Version
 vim-gtk    - Vi IMproved - GTK2 Version
 vim-lesstif - Vi IMproved - LessTif Version
 vim-perl   - Vi IMproved, with perl scripting support
 vim-python - Vi IMproved, with python scripting support
 vim-ruby   - Vi IMproved, with ruby scripting support
 vim-tcl    - Vi IMproved, with tcl scripting support
Closes: 39250 114508 148144 196212 263740 264284 277502 279606 281124 289113 296759 298162 299446 299704
 vim (1:6.3-067+1) unstable; urgency=low
   * New upstream patches (065 to 067), see README.gz for details.
     + 6.3.065: Entering Euro char via digraph doesn't always work.
       (closes: #298162)
   * Norbert Tretkowski <nobse@debian.org>:
     + Added Pierre Habouzit, Torsten Landschoff, Matthijs Mohlmann, Stefano
       Zacchiroli, Alexis Sukrieh and Pepijn de Langen to uploaders.
       (closes: #299446)
     + Added a new patch from Christian Hammers which adds additional keywords
       to /etc/fstab syntax hilighting. (closes: #299704)
     + Modified --with-compiledby value to use $DEBFULLNAME and $DEBEMAIL.
     + Updated tpp syntax file, thanks to Gerfried Fuchs.
     + Changed priority of vim-common package from extra to optional.
   * Pierre Habouzit <pierre.habouzit@m4x.org>:
     + Documented the /etc/vim/{g,}vimrc.local files in README.Debian.
     + Fixed some debcontrol.vim issues:
       - Don't search emails in fields that have not one. (closes: #114508)
       - Fix debcontrolName according to Policy. (closes: #148144)
     + Fixed tutor.vim to use usual locale envvars semantics. (closes: #289113)
     + Added a 16px icon for menu entries too
       (taken from http://www.vim.org/images/vim16x16.xpm). (closes: #39250)
     + Fixed changelog.Debian.gz detection. (closes: #263740)
     + Manpages various fixes:
       - Escape some dashes in vim(1). (closes: #279606)
       - Various fixes for xxd(1). (closes: #281124)
     + Fixed french translation. (closes: #277502)
   * Matthijs Mohlmann <matthijs@cacholong.nl>:
     + Add syntax highlighting for xmodmap. (closes: #296759)
     + Fixed lintian warning unquoted-string-in-menu-item in kvim.menu.
     + Fixed lintian warning spelling-error-in-readme-debian (adviced should
       be advised).
     + Changed current maintainer in copyright file.
     + Fixed lintian warning package-relation-with-self in kvim.
     + Fixed lintian warning binary-has-unneeded-section in vim (added
     + Added depends on vim in vim-doc.
   * Alexis Sukrieh <sukria@sukria.net>:
     + Added a note about UTF-8 related issues in README.Debian.
     + Added debian/patches/108_automake.vim.diff (thanks to Alexander Kogan)
       which enables highlighting of _CPPFLAGS in automake files.
       (closes: #196212)
     + Added debian/patches/109_xdefaults.vim.diff (thanks to Peter De Wachter)
       which fixes bad highlighting when putting a FONT directive in xdefaults.
       (closes: #264284)
   * Stefano Zacchiroli <zack@debian.org>:
     + Added #DEBHELPER# tag to debian/vim-{doc,common}.preinst.
     + Minor cleanup of debian/rules so vim-{doc,common} uses dh_install
       instead of dh_movefiles ("binary" target could now be invoked twice
       after a single "install" invocation), let dh_compress compress README.
 3c13a447c35b3b04da6241df1158c40e 1439 editors optional vim_6.3-067+1.dsc
 3cb56d980a683066e5d284e1f1879b1d 475711 editors optional vim_6.3-067+1.diff.gz
 b248fde2782b29d6c9140cc329548ed4 1648868 editors optional vim-doc_6.3-067+1_all.deb
 d51164478476db3bcf2cd1b6c3016972 3422106 editors optional vim-common_6.3-067+1_all.deb
 c40ade1bc2a8c7b41a4b24778234aec5 707606 editors optional vim_6.3-067+1_i386.deb
 33c3772708747b7e186a1917acf021a6 852782 editors extra kvim-perl_6.3-067+1_i386.deb
 c2be95068ea93a3a011771a8da896970 729084 editors extra vim-perl_6.3-067+1_i386.deb
 276b675b8560d45c7df38f4080f2243d 845336 editors extra kvim-python_6.3-067+1_i386.deb
 4cc839a8575d0a0cc8ce17bab915c001 721564 editors extra vim-python_6.3-067+1_i386.deb
 c785b80f25ad06f0910e5bf3e9f5c677 841214 editors extra kvim-ruby_6.3-067+1_i386.deb
 c7c007a1bcbd071deb471b481746efc9 717576 editors extra vim-ruby_6.3-067+1_i386.deb
 c658839b403d86f2d64f9ccf29377874 804058 editors extra kvim-tcl_6.3-067+1_i386.deb
 19892b774ddc7bd9220db02ec4707006 721574 editors extra vim-tcl_6.3-067+1_i386.deb
 f91f166ed347bd6608962b69554c2be7 713938 editors extra vim-gtk_6.3-067+1_i386.deb
 c0f4a20c24158a81f6724507b0c7dbed 656316 editors extra vim-lesstif_6.3-067+1_i386.deb
 90e408cc36e108038ed91fd06543950e 716012 editors extra vim-gnome_6.3-067+1_i386.deb
 551d260d32eb74556c05770f363ad5b4 795456 editors extra kvim_6.3-067+1_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)