Bug#254835: marked as done (/etc/vim/vimrc overrides user .vimrc settings)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 15 Mar 2005 12:50:36 -0800


Your message dated Tue, 15 Mar 2005 15:39:02 -0500
with message-id <423747E6.9080903@shadowlord.org>
and subject line 254835-done
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; 17 Jun 2004 08:31:41 +0000
>From quixadhal@shadowlord.org Thu Jun 17 01:31:41 2004
Return-path: <quixadhal@shadowlord.org>
Received: from proxy5baymi.bay.mi.charter.com (proxy5-baycity.chartermi.net) [24.247.24.54] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BasJA-0001ru-00; Thu, 17 Jun 2004 01:31:40 -0700
Received: from lenin.shadowlord.org (24.247.222.7.kzo.mi.chartermi.net [24.247.222.7])
	by proxy5-baycity.chartermi.net (8.11.7p1+Sun/8.11.6) with ESMTP id i5H8VUK13547
	for <submit@bugs.debian.org>; Thu, 17 Jun 2004 04:31:31 -0400 (EDT)
Received: from siberia.shadowlord.org ([192.168.69.123] ident=Debian-exim)
	by lenin.shadowlord.org with esmtp (Exim 4.32)
	id 1BasIw-0000ka-LF
	for submit@bugs.debian.org; Thu, 17 Jun 2004 04:31:26 -0400
Received: from quixadhal by siberia.shadowlord.org with local (Exim 4.32)
	id 1BasIw-0003n1-5T; Thu, 17 Jun 2004 04:31:26 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Dread Quixadhal <quixadhal@shadowlord.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: /etc/vim/vimrc overrides user .vimrc settings
X-Mailer: reportbug 2.61
Date: Thu, 17 Jun 2004 04:31:25 -0400
Message-Id: <E1BasIw-0003n1-5T@siberia.shadowlord.org>
X-Charter-Information: 
X-Charter-Scan: 
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
X-Spam-Level: 

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


In trying to disable the maddening C language indentation (the LPC language
also uses .c, unfortunately, and they are not the same), I found that regardless
of how many combinations of commands to disable all forms of indentation I put in
my $HOME/.vimrc file, the one that turns it on in /etc/vim/vimrc overrides me.

The ONLY way I could solve this (before my frustration level caused a keyboard
to become injured) was to move /etc/vim/vimrc aside and copy the parts I wanted
into my own .vimrc file.  That worked, but is hardly optimal.

IMHO (and the author of vim as well, if reading the documentation is any indication)
the user's $HOME/.vimrc file should ALWAYS override everything else, short of
environmental variables or actual command line flags... IE: it should
be the LAST config file loaded, not the first.


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-1-386
Locale: LANG=C, LC_CTYPE=C

Versions of packages vim depends on:
ii  dpkg                        1.10.22      Package maintenance system for Deb
ii  libc6                       2.3.2.ds1-12 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.2-426+1  Vi IMproved - Common files

-- no debconf information

---------------------------------------
Received: (at 254835-done) by bugs.debian.org; 15 Mar 2005 20:40:06 +0000
>From quixadhal@shadowlord.org Tue Mar 15 12:40:06 2005
Return-path: <quixadhal@shadowlord.org>
Received: from mxsf15.cluster1.charter.net [209.225.28.215] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DBIph-0000Sr-00; Tue, 15 Mar 2005 12:40:05 -0800
Received: from mxip06.cluster1.charter.net (mxip06a.cluster1.charter.net [209.225.28.136])
	by mxsf15.cluster1.charter.net (8.12.11/8.12.11) with ESMTP id j2FKdVo5014791
	for <254835-done@bugs.debian.org>; Tue, 15 Mar 2005 15:39:31 -0500
Received: from 24.247.116.59.kzo.mi.chartermi.net (HELO lenin.shadowlord.org) (24.247.116.59)
  by mxip06.cluster1.charter.net with ESMTP; 15 Mar 2005 15:39:31 -0500
X-Ironport-AV: i="3.90,165,1107752400"; 
   d="scan'208"; a="667745254:sNHT11894608"
Received: from moria.shadowlord.org ([192.168.69.102])
	by lenin.shadowlord.org with esmtp (Exim 4.44)
	id 1DBIp8-0004VL-Te
	for 254835-done@bugs.debian.org; Tue, 15 Mar 2005 15:39:30 -0500
Message-ID: <423747E6.9080903@shadowlord.org>
Date: Tue, 15 Mar 2005 15:39:02 -0500
From: Dread Quixadhal <quixadhal@shadowlord.org>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: 254835-done@bugs.debian.org
Subject: 254835-done
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Delivered-To: 254835-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=0.0 required=4.0 tests=BAYES_00,RCVD_IN_DSBL,
	SPAMBUGNUMSUBJ autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

closed.