From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Disable VC when Emacs is noninteractive -batch Date: Mon, 06 Aug 2007 11:36:30 +0900 Message-ID: <877io99yoh.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87lkcpkbzc.fsf@hariken.mwolson.org> <200708052206.l75M63Hx012575@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186367080 23645 80.91.229.12 (6 Aug 2007 02:24:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 02:24:40 +0000 (UTC) Cc: Michael Olson , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 04:24:35 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 1IHsGo-00048x-QI for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 04:24:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHsGm-0008Ie-Ns for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2007 22:24:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IHsGk-0008I5-1s for emacs-devel@gnu.org; Sun, 05 Aug 2007 22:24:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IHsGb-000891-Kk for emacs-devel@gnu.org; Sun, 05 Aug 2007 22:24:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHsGb-00088w-Ht for emacs-devel@gnu.org; Sun, 05 Aug 2007 22:24:21 -0400 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IHsGH-0007IU-71; Sun, 05 Aug 2007 22:24:02 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (unknown [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 322131535AF; Mon, 6 Aug 2007 11:23:41 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 2D6A61A30E3; Mon, 6 Aug 2007 11:36:31 +0900 (JST) In-Reply-To: <200708052206.l75M63Hx012575@oogie-boogie.ics.uci.edu> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" (+CVS-20070621) XEmacs Lucid X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76072 Archived-At: Dan Nicolaescu writes: > If the reason you want to do this to avoid bugs in VC, then IMO this > is not a good idea. If VC has a problem, it has to be fixed. IMO, if VC's hooks are active in batch mode, that's a bug. You don't want programs that are *implicitly* sensitive to environment state active in batch mode. (I'm sure there are good reasons for using VC noninteractively, although I personally don't use it in batch mode. But such programs should call VC functions explicitly.)