From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reuben Thomas Newsgroups: gmane.emacs.bugs Subject: bug#4422: diff-switches is a bad idea Date: Sun, 13 Sep 2009 13:18:03 +0100 Message-ID: Reply-To: Reuben Thomas , 4422@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1252844845 10364 80.91.229.12 (13 Sep 2009 12:27:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2009 12:27:25 +0000 (UTC) To: bug-emacs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 13 14:27:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MmoAm-0001Eo-Cc for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 14:27:16 +0200 Original-Received: from localhost ([127.0.0.1]:53455 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmoAl-0002S6-3p for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2009 08:27:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MmoAd-0002RG-Kn for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:27:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MmoAY-0002Ns-HW for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:27:06 -0400 Original-Received: from [199.232.76.173] (port=43001 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmoAY-0002Nm-CO for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:27:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49248) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MmoAX-0006NP-Q8 for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:27:02 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DCQxdl008097; Sun, 13 Sep 2009 05:26:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8DCP6FV007757; Sun, 13 Sep 2009 05:25:06 -0700 Resent-Date: Sun, 13 Sep 2009 05:25:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Reuben Thomas Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Sun, 13 Sep 2009 12:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4422 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12528442976761 (code B ref -1); Sun, 13 Sep 2009 12:25:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 13 Sep 2009 12:18:17 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8DCIG01006758 for ; Sun, 13 Sep 2009 05:18:17 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mmo23-0004Kk-Oa for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:18:15 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mmo1x-0004CQ-Bw for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:18:14 -0400 Original-Received: from [199.232.76.173] (port=38234 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mmo1x-0004C3-6F for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:18:09 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:40272) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mmo1x-0005UU-0V for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2009 08:18:09 -0400 Original-Received: from mail.gnu.org ([199.232.76.166]:46267 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1Mmo1w-0002Ua-Pd for bug-emacs@gnu.org; Sun, 13 Sep 2009 08:18:08 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Mmo1v-0005UG-AL for bug-emacs@gnu.org; Sun, 13 Sep 2009 08:18:08 -0400 Original-Received: from exprod7og124.obsmtp.com ([64.18.2.26]:35194) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Mmo1u-0005Tu-UF for bug-emacs@gnu.org; Sun, 13 Sep 2009 08:18:07 -0400 Original-Received: from source ([209.85.220.209]) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKSqzi+yek3lra3Vrc0iMrW+lJPz8PuygP@postini.com; Sun, 13 Sep 2009 05:18:06 PDT Original-Received: by mail-fx0-f209.google.com with SMTP id 5so984790fxm.3 for ; Sun, 13 Sep 2009 05:18:03 -0700 (PDT) Original-Received: by 10.223.7.21 with SMTP id b21mr1784247fab.104.1252844283696; Sun, 13 Sep 2009 05:18:03 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 13 Sep 2009 08:27:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31032 Archived-At: I'm using Emacs 23, and I have just been puzzling over why vc-diff stopped working in CVS checkouts. I eventually traced it to diff-switches: I have mine set to "-Nur", quite reasonably, I think, but of course "-r" means something quite different to CVS, and I ended up with a hard-to-understand error message about tags. I suggest not using diff-switches (this would also remove some special-case code, as no other vc command respects a non-vc option like this.) Yes, some users will have to configure the same thing in two places, but others will be saved the confusion I had. For the switches to be commoned up sensibly, a more structured approach to setting them is needed that takes semantics into account, and that way lies madness. -- http://rrt.sc3d.org Imagine someone who has only ever heard music once