From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#737: vc-dir reports unregistered-then-deleted file is "up-to-date" Date: Sun, 5 Oct 2008 17:33:01 -0700 (PDT) Message-ID: <200810060033.m960X1L9001223@mothra.ics.uci.edu> References: <18600.37952.844941.609726@rgrjr.rgrjr.dyndns.org> <200810040538.m945cRWl025789@mothra.ics.uci.edu> <200810050104.m9514rDt028153@mothra.ics.uci.edu> <200810050224.m952OBGw028267@mothra.ics.uci.edu> Reply-To: Dan Nicolaescu , 737@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223254215 10184 80.91.229.12 (6 Oct 2008 00:50:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 00:50:15 +0000 (UTC) Cc: 737@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 06 02:51:13 2008 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 1KmeJc-0000oB-C1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Oct 2008 02:51:12 +0200 Original-Received: from localhost ([127.0.0.1]:56882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmeIY-0001h9-Qb for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 20:50:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmeIU-0001gt-L8 for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 20:50:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmeIU-0001gh-2t for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 20:50:02 -0400 Original-Received: from [199.232.76.173] (port=53343 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmeIT-0001ge-UZ for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 20:50:01 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41206) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KmeIS-00075A-9w for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 20:50:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m960nv0I003261; Sun, 5 Oct 2008 17:49:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m960e4lC000959; Sun, 5 Oct 2008 17:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 00:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 737 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 737-submit@emacsbugs.donarmstrong.com id=B737.122325319432105 (code B ref 737); Mon, 06 Oct 2008 00:40:04 +0000 Original-Received: (at 737) by emacsbugs.donarmstrong.com; 6 Oct 2008 00:33:14 +0000 Original-Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m960XBKS032099 for <737@emacsbugs.donarmstrong.com>; Sun, 5 Oct 2008 17:33:12 -0700 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m960X16l019776; Sun, 5 Oct 2008 17:33:01 -0700 (PDT) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id m960X1L9001223; Sun, 5 Oct 2008 17:33:01 -0700 (PDT) In-Reply-To: (Glenn Morris's message of "Sun, 05 Oct 2008 19:43:36 -0400") Original-Lines: 66 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: m960X16l019776 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 05 Oct 2008 20:50:02 -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:21148 Archived-At: Glenn Morris writes: > Dan Nicolaescu wrote: > > > I just don't think it should be the default. I do think that it's > > fundamentally broken, so I don't want to have anything to do with it. > > > > > Or introduce a vc-dir-stay-local, default nil? > > > > I'd prefer it *stay-local would not pollute vc-dir.el, none of the > > modern VC systems needs it, so there's no good reason to deal with it in > > the future. > > As a user of older version control systems, I can't help but feel > disenfranchised. > > I see these options: > > 1) Take out the checks for stay-local I added recently; vc-dir will > always contact the server. Which is fine if you want to argue that > this is a new feature, but I will file a wishlist bug to have similar > behaviour re-added at some later date. Note that I only said that this is a bad default. Being inconsistent with all other similar tools (and hence user expectations) by default is wrong. The reason a single person asked about this is to be able to use CVS offline. But vc-dir is useless with CVS offline, it will just tell you that you have edited some files, you can't do any interesting operations. > 2) Add a vc-dir-stay-local, default nil, which overrides the others. I would object to anything in vc-dir that deals with this. vc-dir is new code, it should not be saddled with stuff that will be unused in a few years. Here's an analogy: we have code in vc that deals with automatically checking out RCS files if they don't exist. How many people care about that? But the code is still there and runs by default. I don't want to be stuck with this in vc-dir until the end of time. More, this can all be done in the CVS VC backend. No reason to pollute the vc-dir core with this stuff. It is even possible to add a CVS specific menu entry with a radio button to the VC-dir backend to toggle between the behaviors. > 3) Change the defaults of vc-stay-local and friends to be nil. > > 4) Leave as at present, on the assumption that people understand that > vc-stay-local et al mean sacrificing accuracy for other gains. That would be bad, things were working much better for the majority of people before the change. > It's probably too late for 3) for 23.1. You seem to be set against 2). > That doesn't leave much. > > Anyway, you wrote vc-dir. What would you like me to do? Please change the default to do what it did before. I have no opinion on what to do about switching between the 2 behaviors as long as it does not touch vc-dir.el. Thanks