From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: vc-cvs-global-switches and -f Date: Tue, 21 Jun 2005 16:49:49 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119387403 6048 80.91.229.2 (21 Jun 2005 20:56:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 21 Jun 2005 20:56:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 21 22:56:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DkplA-0002h7-11 for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 22:54:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkpre-0006JW-HB for ged-emacs-devel@m.gmane.org; Tue, 21 Jun 2005 17:00:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dkpju-0003ow-EA for emacs-devel@gnu.org; Tue, 21 Jun 2005 16:52:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dkpjp-0003mE-AT for emacs-devel@gnu.org; Tue, 21 Jun 2005 16:52:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dkpjp-0003kF-4K for emacs-devel@gnu.org; Tue, 21 Jun 2005 16:52:53 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dkpjr-0006TM-G3 for emacs-devel@gnu.org; Tue, 21 Jun 2005 16:52:55 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 49C322CF447; Tue, 21 Jun 2005 16:49:53 -0400 (EDT) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 5370E4AC00A; Tue, 21 Jun 2005 16:49:49 -0400 (EDT) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 2BB8CE6A42; Tue, 21 Jun 2005 16:49:49 -0400 (EDT) Original-To: Juanma Barranquero In-Reply-To: (Juanma Barranquero's message of "Tue, 21 Jun 2005 03:28:55 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.845, requis 5, autolearn=not spam, AWL 0.06, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39247 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39247 > I was running "emacs.exe -Q" today and was puzzled to see that the > output of `vc-diff' talked about "conflicting specifications of output > style", until I remembered that I have an entry on ~/.cvsrc which > says: "diff -u2", and the default style for VC is "-c". > So the question is: why does Emacs by default assume that it is safe > to use .cvsrc? It seems to me that having "-f" as default for > `vc-cvs-global-switches' would be more logical, specially because in a > situation like mine above, having it set on my .emacs wouldn't have > helped. I for one would be annoyed to have to re-specify in Emacs the options I've already set globally in my ~/.cvsrc. In PCL-CVS I slove this dilemma by parsing the ~/.cvsrc file in order to set the default value of config vars. Stefan