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: .gitignore and .bzrignore files. Date: Mon, 24 Mar 2014 20:53:47 +0900 Message-ID: <87pplbrewk.fsf@uwakimon.sk.tsukuba.ac.jp> References: <20140321200042.236863805FB@snark.thyrsus.com> <532CE0B7.3010309@cs.ucla.edu> <20140322030017.GA29313@thyrsus.com> <532D057D.9050305@cs.ucla.edu> <20140322042921.GA29817@thyrsus.com> <532DA4BB.9070301@cs.ucla.edu> <20140322184734.GA2704@thyrsus.com> <8738i8ar0v.fsf_-_@yahoo.fr> <20140324103829.GB22737@thyrsus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1395662038 21898 80.91.229.3 (24 Mar 2014 11:53:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Mar 2014 11:53:58 +0000 (UTC) Cc: Nicolas Richard , Paul Eggert , emacs-devel@gnu.org To: esr@thyrsus.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 24 12:54:06 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WS3S9-0000Rb-H6 for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 12:54:05 +0100 Original-Received: from localhost ([::1]:35830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS3S8-0004HK-RX for ged-emacs-devel@m.gmane.org; Mon, 24 Mar 2014 07:54:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS3S1-0004Dt-4p for emacs-devel@gnu.org; Mon, 24 Mar 2014 07:54:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WS3Rv-0000kF-3u for emacs-devel@gnu.org; Mon, 24 Mar 2014 07:53:57 -0400 Original-Received: from mgmt2.sk.tsukuba.ac.jp ([130.158.97.224]:55480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WS3Ru-0000jt-Pv for emacs-devel@gnu.org; Mon, 24 Mar 2014 07:53:51 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt2.sk.tsukuba.ac.jp (Postfix) with ESMTP id 999B097069B; Mon, 24 Mar 2014 20:53:47 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 85E681A28DC; Mon, 24 Mar 2014 20:53:47 +0900 (JST) In-Reply-To: <20140324103829.GB22737@thyrsus.com> X-Mailer: VM undefined under 21.5 (beta34) "kale" 2a0f42961ed4 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 130.158.97.224 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170907 Archived-At: Eric S. Raymond writes: > Nicolas Richard : > > I have one question : what goes in those ignore files=C2=A0? I've > > heard some people want to ignore files created during > > compilation, while some other don't because they compile off tree > > and want to know if files get added in the tree. This is a tough question. However, all of the VCSes I know of provide both cascading ignores (so that you can ignore the backup and lock files your editor produces in a personal .ignore, and ignore the .o produced by a C compiler in a C project and the .pyc files produced by Python), and some way to clean up and list files that are ignored as well as unregistered files that aren't ignored. > Shortly I will post to the list about the complications implied by > various ways of handling ignore files. Determining the right thing > is not at all simple. I'd say do what's simplest. I don't see why one can't live with a pretty coarse approximation for a while.