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: [PATCH] Disable VC when Emacs is noninteractive -batch Date: Mon, 06 Aug 2007 14:38:07 -0400 Message-ID: References: <87lkcpkbzc.fsf@hariken.mwolson.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186425550 32048 80.91.229.12 (6 Aug 2007 18:39:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 18:39:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Olson Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 20:39:06 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 1II7Tt-0007pn-0d for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 20:39:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II7Ti-0001Dw-7w for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 14:38:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1II7Te-0001Dq-84 for emacs-devel@gnu.org; Mon, 06 Aug 2007 14:38:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1II7Tb-0001Db-6E for emacs-devel@gnu.org; Mon, 06 Aug 2007 14:38:49 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1II7Tb-0001DY-1J for emacs-devel@gnu.org; Mon, 06 Aug 2007 14:38:47 -0400 Original-Received: from tomts5.bellnexxia.net ([209.226.175.25] helo=tomts5-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1II7TM-0006IJ-Om; Mon, 06 Aug 2007 14:38:34 -0400 Original-Received: from pastel.home ([70.55.146.63]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070806183807.ZCDQ1592.tomts5-srv.bellnexxia.net@pastel.home>; Mon, 6 Aug 2007 14:38:07 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 72E9480C5; Mon, 6 Aug 2007 14:38:06 -0400 (EDT) In-Reply-To: <87lkcpkbzc.fsf@hariken.mwolson.org> (Michael Olson's message of "Sun\, 05 Aug 2007 15\:39\:03 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-Detected-Kernel: Solaris 8 (1) 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:76102 Archived-At: > my Emacs Lisp add-on programs. If a file has been deleted at some > point, it will interrupt the build to prompt me about whether to restore > it -- this is a show-stopper. Also, even when building Emacs (as of a 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. With current systems, the checkout is done once and for all files, outside of VC, so the feature makes little sense there. I suggest to rename vc-default-find-file-not-found-hook into vc-rcs-find-file-not-found-hook and create a new vc-default-find-file-not-found-hook which is just an alias for `ignore'. vc-arch.el is already careful to define a vc-arch-find-file-not-found-hook which overrides vc-default-find-file-not-found-hook (and does nothing) and I think most/all other systems would benefit from such a change. Stefan