Bug#282135: marked as done (vim-common: indent/php.vim indents incorrectly)

Debian Bug Tracking System owner@bugs.debian.org
Sat, 26 Mar 2005 09:18:50 -0800

Your message dated Sat, 26 Mar 2005 11:47:29 -0500
with message-id <E1DFERd-0001GH-00@newraff.debian.org>
and subject line Bug#282135: fixed in vim 1:6.3-068+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; 19 Nov 2004 21:25:07 +0000
>From debbugs@thesatya.com Fri Nov 19 13:25:07 2004
Return-path: <debbugs@thesatya.com>
Received: from sccrmhc12.comcast.net [] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CVGFf-00029t-00; Fri, 19 Nov 2004 13:25:07 -0800
Received: from gort.thesatya.com ([])
          by comcast.net (sccrmhc12) with ESMTP
          id <20041119212433012009b98oe>; Fri, 19 Nov 2004 21:24:37 +0000
Received: by gort.thesatya.com (Postfix, from userid 1000)
	id B6F6EA7A6; Fri, 19 Nov 2004 16:24:33 -0500 (EST)
Content-Type: multipart/mixed; boundary="===============0279869127=="
MIME-Version: 1.0
From: Satya <debbugs@thesatya.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim-common: indent/php.vim indents incorrectly
X-Mailer: reportbug 3.2
Date: Fri, 19 Nov 2004 16:24:33 -0500
Message-Id: <20041119212433.B6F6EA7A6@gort.thesatya.com>
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-common
Version: 1:6.3-031+2
Severity: normal
Tags: patch

PHP code like this:

if(a==b) {
if(b==c) {

fails to un-indent at the closing brace properly, resulting in code like

if(a==b) {
    if(b==c) {

Line 82-ish is broken into 3 lines, the fix is to simply join the lines.

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages vim-common depends on:
ii  vim                          1:6.3-031+2 Vi IMproved - enhanced vi editor

-- no debconf information

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

--- php.vim	2004-11-19 16:16:02.000000000 -0500
+++ php.vim.fixed	2004-11-19 16:20:21.000000000 -0500
@@ -79,9 +79,7 @@
 		" to the indent of the matching line.
 		if cline =~ '^\s*}'
 			call cursor(line('.'), 1)
-			let ind = indent(searchpair('{', '', '}',
-			'bW', 'synIDattr(synID(line("."), col("."),
-			0), "name") =~? "string"'))
+			let ind = indent(searchpair('{', '', '}','bW', 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string"'))
 			return ind
 		" Try to indent switch/case statements as well


Received: (at 282135-close) by bugs.debian.org; 26 Mar 2005 17:06:13 +0000
>From katie@ftp-master.debian.org Sat Mar 26 09:06:13 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 1DFEjk-0002GR-00; Sat, 26 Mar 2005 09:06:12 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DFERd-0001GH-00; Sat, 26 Mar 2005 11:47:29 -0500
From: Norbert Tretkowski <nobse@debian.org>
To: 282135-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#282135: fixed in vim 1:6.3-068+1
Message-Id: <E1DFERd-0001GH-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sat, 26 Mar 2005 11:47:29 -0500
Delivered-To: 282135-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: 11

Source: vim
Source-Version: 1:6.3-068+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-068+1_i386.deb
  to pool/main/v/vim/kvim-python_6.3-068+1_i386.deb
  to pool/main/v/vim/kvim-ruby_6.3-068+1_i386.deb
  to pool/main/v/vim/kvim-tcl_6.3-068+1_i386.deb
  to pool/main/v/vim/kvim_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-common_6.3-068+1_all.deb
  to pool/main/v/vim/vim-doc_6.3-068+1_all.deb
  to pool/main/v/vim/vim-gnome_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-gtk_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-lesstif_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-perl_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-python_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-ruby_6.3-068+1_i386.deb
  to pool/main/v/vim/vim-tcl_6.3-068+1_i386.deb
  to pool/main/v/vim/vim_6.3-068+1.diff.gz
  to pool/main/v/vim/vim_6.3-068+1.dsc
  to pool/main/v/vim/vim_6.3-068+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 282135@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: Sat, 26 Mar 2005 16:32:25 +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-068+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: 144754 196001 269325 269692 281630 282135 286763 295471 295639 300108 301452
 vim (1:6.3-068+1) unstable; urgency=low
   * New upstream patch (068), see README.gz for details.
     + 6.3.068: When editing a compressed file xxx.gz which is a symbolic link
       to the actual file a ":write" no longer renames the link (patch by James
       Vega). (closes: #281630)
   * Norbert Tretkowski <nobse@debian.org>:
     + Added James Vega <jamessan@jamessan.com> to uploaders.
     + Fixed wrong executable registration in /usr/lib/mime/packages/kvim,
       thanks to Robin Verduijn for the patch. (closes: #295471)
     + Fixed synchronisation of syntax highlighting in fortran 90 programs.
       (closes: #301452)
     + Removed vim-doc's dependency on vim, so it's possible to install vim-doc
       without also installing vim.
   * Pierre Habouzit <pierre.habouzit@m4x.org>:
     + Fix php indent plugin, thanks to the ITLab at MUSC. (closes: #282135)
     + Fix prolog syntax file. (closes: #269692)
     + Fix xml syntax ('\' has no special meaning for xml). (closes: #196001)
     + Fix texinfo syntax file warning. (closes: #286763)
   * Matthijs Mohlmann <matthijs@cacholong.nl>:
     + Fix lintian warning packages-installs-file-to-usr-x11r6:
       - Moving xpm files to /usr/share/pixmaps.
       - Edited the menu files.
     + Removed prerm-does-not-call-installdocs from lintian/vim.
     + Added patch 111_fstab.vim.diff to fix highlighting in fstab.
       (closes: #300108)
     + Removed Suggests: vim from vim-doc in debian/control.
     + Fixed binary-without-manpage for several packages.
     + Fixed pkg-not-in-package-test in kvim-tcl, kvim-ruby, kvim-python and
     + Fixed the errors postinst-does-not-call-updatemenus and
   * James Vega <jamessan@jamessan.com>:
     + Fixed wrong highlighting of comments in syntax/sh.vim when comments
       occur between switches of case. (closes: #269325)
   * Stefano Zacchiroli <zack@debian.org>:
     + Added patch 302_message.c.diff to fix CTRL-C quit loops in range commands.
       (closes: #295639)
     + Added patch 118_ocaml.vim.diff to ship latest version of ocaml runtime
       support files: {syntax,ftplugin,ident}/ocaml.vim.
     + Modifications on debian/rules:
       - Uses debian/compat in place of debian/rules' DH_COMPAT.
       - Ignores diff error in "make_patch" target since diff usually returns 1.
       - Added support for command line VARIANT variable to override VARIANTS.
   * Pepijn de Langen <pepijn@ce.et.tudelft.nl>:
     + Added patch 119_php.vim.diff to php syntax highlighting backticks.
       (closes: #144754)
 4c4464029cd36e593476b0c8771272c7 1475 editors optional vim_6.3-068+1.dsc
 a9966db30ee04df6b07f3c65f8450db6 488611 editors optional vim_6.3-068+1.diff.gz
 fd7f3f18464c21315a4f2fd905a67495 1649670 editors optional vim-doc_6.3-068+1_all.deb
 66f8623a9b273084bdd444b1f5748445 3425692 editors optional vim-common_6.3-068+1_all.deb
 473bb04a84746eea000fd073d8c9beaf 708614 editors optional vim_6.3-068+1_i386.deb
 d61ced8a437401b22d51468796293141 853274 editors extra kvim-perl_6.3-068+1_i386.deb
 82f44c137efe85a52ef732f2ddead99c 729470 editors extra vim-perl_6.3-068+1_i386.deb
 6b124423d3a3b5ba0804bf18350084ce 845788 editors extra kvim-python_6.3-068+1_i386.deb
 ee7442f50199c48172ec90b8099e4361 721966 editors extra vim-python_6.3-068+1_i386.deb
 67132ea9b4d9652517b6b464203103f2 841614 editors extra kvim-ruby_6.3-068+1_i386.deb
 c85de15654440ce0f4a4642cedebca2c 717972 editors extra vim-ruby_6.3-068+1_i386.deb
 c28a04b8fa48ab98de0bb2a7e3af2187 804502 editors extra kvim-tcl_6.3-068+1_i386.deb
 69f4559dfd1313d9b3127f54dfb33b64 721958 editors extra vim-tcl_6.3-068+1_i386.deb
 64f6f656a4990b51d59c09778cdeb205 714412 editors extra vim-gtk_6.3-068+1_i386.deb
 07e2f23cdbab9d0caf6a500912d083e2 656766 editors extra vim-lesstif_6.3-068+1_i386.deb
 36b355fa6cd0b97d6164fb7912099bff 716398 editors extra vim-gnome_6.3-068+1_i386.deb
 a13bf4a7c5ee86a9758d8ed221d6c17e 795926 editors extra kvim_6.3-068+1_i386.deb

Version: GnuPG v1.4.0 (GNU/Linux)