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: emacs-w3m? Date: Mon, 01 Mar 2010 01:34:47 +0900 Message-ID: <87iq9hxqs8.fsf@uwakimon.sk.tsukuba.ac.jp> References: <3E1D063D-AC8A-4E40-B9F8-6ACA5089C4A7@gmail.com> <873a0p1dqt.fsf@telefonica.net> <87r5o9yr4y.fsf@telefonica.net> <87mxywzx2r.fsf@telefonica.net> <87ocjcejeo.fsf@uwakimon.sk.tsukuba.ac.jp> <83r5o8l3oo.fsf@gnu.org> <873a0nyqjx.fsf@uwakimon.sk.tsukuba.ac.jp> <87sk8nx7ba.fsf@telefonica.net> <83y6iedi2e.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267375767 14287 80.91.229.12 (28 Feb 2010 16:49:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 28 Feb 2010 16:49:27 +0000 (UTC) Cc: ofv@wanadoo.es, Eli Zaretskii , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 28 17:49:22 2010 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.69) (envelope-from ) id 1NlmKX-0001A7-Ey for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2010 17:49:21 +0100 Original-Received: from localhost ([127.0.0.1]:39692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlmKW-0008Io-Rt for ged-emacs-devel@m.gmane.org; Sun, 28 Feb 2010 11:49:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NlmKR-0008IZ-JE for emacs-devel@gnu.org; Sun, 28 Feb 2010 11:49:15 -0500 Original-Received: from [140.186.70.92] (port=60669 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NlmKP-0008Gl-RR for emacs-devel@gnu.org; Sun, 28 Feb 2010 11:49:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NlmKP-0006HD-AL for emacs-devel@gnu.org; Sun, 28 Feb 2010 11:49:13 -0500 Original-Received: from mtps01.sk.tsukuba.ac.jp ([130.158.97.223]:36395) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NlmKJ-0006Fx-Un; Sun, 28 Feb 2010 11:49:08 -0500 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps01.sk.tsukuba.ac.jp (Postfix) with ESMTP id 4699C1535AC; Mon, 1 Mar 2010 01:23:24 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 1B2E8120772; Mon, 1 Mar 2010 01:34:47 +0900 (JST) In-Reply-To: X-Mailer: VM 8.0.12-devo-585 under 21.5 (beta29) "garbanzo" a03421eb562b XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/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:121470 Archived-At: Richard Stallman writes: > Adding a file whose parent directory is not versioned will implicitly > add the parent, and so on up to the root. This means you should never > need to explicitly add a directory, they ll just get added when you > add a file in the directory. > > The second sentence explains the rationale behind this feature. But > in this case, Bob mistakenly added a single file, and that ended up > adding the whole directory. By contrast, "cvs add" is explicitly > non-recursive, AFAIR. > > The feature is clearly a convenience in the case where you are not > making a mistake. Should `bzr add' ask for confirmation before doing > this? No. The feature described above doesn't invite mistakes. Both a careful reading of the documentation, and experimentation with bzr, indicate that it adds (a) the files requested on the command line, and (b) the parent directories, and nothing else. The implicit "add everything" command, "bzr add", is somewhat dangerous, but that feature is really only useful when importing a new project, ie, in the idiom "bzr init; bzr add". To add new files to an existing project, it's almost always preferable to use an explicit argument, because there is very often junk like test files or personal notes that it would pick up. Usually either a single file name, a single glob, or "." (meaning "everything in this subdirectory", such as when adding a large package like CEDET to Emacs) is sufficient. Those are hardly inconvenient.