Bug#218337: marked as done (ftplugin/java.vim sets cindent)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 15 Mar 2005 01:04:21 -0800


Your message dated Tue, 15 Mar 2005 10:00:09 +0100
with message-id <20050315090009.GA2178@hades.madism.org>
and subject line ftplugin/java.vim sets cindent
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; 30 Oct 2003 16:55:10 +0000
>From m.kooijman@student.utwente.nl Thu Oct 30 10:55:09 2003
Return-path: <m.kooijman@student.utwente.nl>
Received: from katherina.student.utwente.nl [130.89.168.160] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AFG4j-0000S0-00; Thu, 30 Oct 2003 10:55:09 -0600
Received: from matthijs by katherina.student.utwente.nl with local (Exim 3.36 #1 (Debian))
	id 1AFG4i-0002jU-00; Thu, 30 Oct 2003 17:55:08 +0100
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Matthijs Kooijman <m.kooijman@student.utwente.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: ftplugin/java.vim sets cindent
X-Mailer: reportbug 2.34
Date: Thu, 30 Oct 2003 17:55:08 +0100
Message-Id: <E1AFG4i-0002jU-00@katherina.student.utwente.nl>
Sender: Matthijs Kooijman <m.kooijman@student.utwente.nl>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.5 required=4.0
	tests=BAYES_01,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_10_28
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_10_28 (1.174.2.15-2003-03-30-exp)

Package: vim
Version: 1:6.2-127+1
Severity: normal

The file /usr/share/vim/vim62/ftplugin/java.vim has a line 'set
cindent'. This means that whenever you start editing a java file, it
sets cindent, regardless of its previous setting. 
Personally, I _hate_ cindent ;-) so it quite annoys me that this is a
default setting. If the line would just be removed, people can set the
option themselves in their .vimrc

Matthijs

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux katherina 2.4.20 #1 Fri Sep 19 13:50:41 CEST 2003 i686
Locale: LANG=C, LC_CTYPE=C

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

-- no debconf information


---------------------------------------
Received: (at 218337-close) by bugs.debian.org; 15 Mar 2005 09:00:25 +0000
>From madcoder@madism.org Tue Mar 15 01:00:25 2005
Return-path: <madcoder@madism.org>
Received: from olympe.madism.org (hermes.madism.org) [82.225.205.10] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DB7ua-00049K-00; Tue, 15 Mar 2005 01:00:25 -0800
Received: from localhost.localdomain (hades.madism.org [192.168.0.10])
	by hermes.madism.org (Postfix) with ESMTP id 5C2EE24AB7;
	Tue, 15 Mar 2005 10:00:09 +0100 (CET)
Received: from madcoder by localhost.localdomain with local (Exim 4.50)
	id 1DB7uL-0000av-6X; Tue, 15 Mar 2005 10:00:09 +0100
Date: Tue, 15 Mar 2005 10:00:09 +0100
To: Matthijs Kooijman <m.kooijman@student.utwente.nl>,
	218337-close@bugs.debian.org
Subject: Re: ftplugin/java.vim sets cindent
Message-ID: <20050315090009.GA2178@hades.madism.org>
References: <E1AFG4i-0002jU-00@katherina.student.utwente.nl>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
In-Reply-To: <E1AFG4i-0002jU-00@katherina.student.utwente.nl>
User-Agent: Mutt/1.5.6+20040907i
From: Pierre Habouzit <madcoder@madism.org>
Content-Transfer-Encoding: quoted-printable
Delivered-To: 218337-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=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

On Thu, Oct 30, 2003 at 05:55:08PM +0100, Matthijs Kooijman wrote:
> Package: vim
> Version: 1:6.2-127+1
> Severity: normal
>=20
> The file /usr/share/vim/vim62/ftplugin/java.vim has a line 'set
> cindent'. This means that whenever you start editing a java file, it
> sets cindent, regardless of its previous setting.=20
> Personally, I _hate_ cindent ;-) so it quite annoys me that this is a
> default setting. If the line would just be removed, people can set the
> option themselves in their .vimrc


  this settings looks sensible to me, since cindent is meant for all
C-like langages, java included.

  *you* can set it in your vimrc as well :

  au FileType java set nocindent

  in your .vimrc will do the trick

  I'll also close the bug.
--=20
=B7O=B7  Pierre Habouzit
=B7=B7O
OOO                                                http://www.madism.org