From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch Date: Tue, 07 Aug 2007 08:07:32 +0200 Message-ID: <86zm13andn.fsf@lola.quinscape.zz> References: <87lkcpkbzc.fsf@hariken.mwolson.org> <85odhkfp7n.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186466890 8234 80.91.229.12 (7 Aug 2007 06:08:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 7 Aug 2007 06:08:10 +0000 (UTC) Cc: mwolson@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 07 08:08:07 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IIIEa-00010A-IM for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2007 08:08:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIIEW-0005rw-NE for ged-emacs-devel@m.gmane.org; Tue, 07 Aug 2007 02:07:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IIIET-0005rr-TO for emacs-devel@gnu.org; Tue, 07 Aug 2007 02:07:53 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IIIEQ-0005rB-9e for emacs-devel@gnu.org; Tue, 07 Aug 2007 02:07:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IIIEQ-0005r8-6f for emacs-devel@gnu.org; Tue, 07 Aug 2007 02:07:50 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IIIEI-0003rf-Ip for emacs-devel@gnu.org; Tue, 07 Aug 2007 02:07:44 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id IAA32226 for ; Tue, 7 Aug 2007 08:07:30 +0200 X-Delivered-To: Original-Received: (qmail 30098 invoked from network); 7 Aug 2007 06:07:32 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 7 Aug 2007 06:07:32 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id BF78C8FA2F; Tue, 7 Aug 2007 08:07:32 +0200 (CEST) In-Reply-To: (Eli Zaretskii's message of "Tue\, 07 Aug 2007 06\:08\:50 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Linux 2.4-2.6 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:76126 Archived-At: Eli Zaretskii writes: >> From: David Kastrup >> Date: Mon, 06 Aug 2007 21:16:44 +0200 >> Cc: Michael Olson , emacs-devel@gnu.org >> >> > Actually I think this is a "feature" of VC which we should tame >> > significantly: basically, this only makes sense under RCS (and maybe SCCS) >> > but happens to be in the generic part of VC, so it can bite at any time when >> > used with other backends. The idea was that under RCS if a file is >> > absent but RCS/,v is present, than is virtually present, except >> > it needs to be checkout first. >> >> That does not even make sense in RCS for me. One locks files, but >> does not delete them. > > AFAIR, with RCS, when you checkin a file, the work copy is deleted > unless you use the -u or -l switch. So it's quite normal to have no > working file at all. Indeed, ci(1). Wow, that is really sick. Anyway, the normal behavior for Emacs is to keep locked files around, so I'd say we should cater for that case primordinarily. If that means some slight inconvenience in "classical" RCS use from the command line, presumably not getting notice of the virtual file presence until checked out, it should be something we can live with. I don't think that many people use RCS from command line and from within Emacs interspersed. -- David Kastrup