From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bob@gnu.org (Robert J. Chassell) Newsgroups: gmane.emacs.devel Subject: Re: bazaar: "unable to obtain lock" Date: Thu, 31 Dec 2009 19:19:05 -0500 Message-ID: References: <87my11gmf4.fsf@red-bean.com> <87fx6rc5wg.fsf@red-bean.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1262305191 14480 80.91.229.12 (1 Jan 2010 00:19:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jan 2010 00:19:51 +0000 (UTC) Cc: bob@gnu.org, emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jan 01 01:19:43 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.50) id 1NQVEz-0000S2-Jw for ged-emacs-devel@m.gmane.org; Fri, 01 Jan 2010 01:19:42 +0100 Original-Received: from localhost ([127.0.0.1]:35693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQVEz-0000Xl-PX for ged-emacs-devel@m.gmane.org; Thu, 31 Dec 2009 19:19:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQVEu-0000VU-C9 for emacs-devel@gnu.org; Thu, 31 Dec 2009 19:19:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQVEk-0000P9-AX for emacs-devel@gnu.org; Thu, 31 Dec 2009 19:19:35 -0500 Original-Received: from [199.232.76.173] (port=51613 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQVEk-0000Oq-3M for emacs-devel@gnu.org; Thu, 31 Dec 2009 19:19:26 -0500 Original-Received: from [140.186.70.10] (port=51754 helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQVEj-0007hX-WB for emacs-devel@gnu.org; Thu, 31 Dec 2009 19:19:26 -0500 Original-Received: from bob by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NQVEP-0005M1-OH; Thu, 31 Dec 2009 19:19:05 -0500 In-reply-to: <87fx6rc5wg.fsf@red-bean.com> (message from Karl Fogel on Thu, 31 Dec 2009 14:14:39 -0500) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:119179 Archived-At: I wrote: Next I am going to bootstrap it with the changes I got with a `bzr pull'. How do I avoid a shell and do it all in Emacs? Karl Fogel wrote: Oops, I'm not quite sure what the question is -- what's the "it" here? Compile Emacs? Update your local sources using bzr? Both, using Emacs scripts such as these two (for the emacs/trunk/ directory): (progn (cd "/usr/local/src/emacs/trunk") (compile "time make -k -C lisp autoloads \ EMACS=/usr/local/src/emacs/trunk/src/emacs && \ cd lisp && \ time make EMACS=/usr/local/src/emacs/trunk/src/emacs && \ cd /usr/local/src/emacs/trunk && \ time make info html")) ;; and (progn (cd "/usr/local/src/emacs/trunk/") (compile "time make -k")) (This succeeded this morning, as did the bootstrap which I did in a BASH shell yesterday.) I want to update my Emacs each day and build the current Emacs. Perhaps the updating and the building will be in different directories, perhaps not. (I hope through use to continue testing Emacs every day.) Also, I want to find out how to shift from the current emacs/trunk/ directory to an emacs/ directory without having to download again and with the trunk/ and quickfixes/ directory under the emacs/ directory. My .emacs file and my Emacs scripts have many instances of "/usr/local/src/emacs/" in them; besides, the emacs/ directory is a good place to put the sources and compiled files of Emacs. Óscar Fuentes suggested using `bzr init-repo ' and branch rather than the `cp -R' that I had been using before. (He also suggested using bind, which I have already done in the "/usr/local/src/emacs/trunk/" directory.) Suggesting I use init-repo is good. I stay on my own machine. I would thank James Cloos, too, except the emacs/src/ directory contains C code. I really want to move most of the Emacs code into and below the "/usr/local/src/emacs/" directory with the C code in the emacs/src/ directory and the Emacs Lisp in the emacs/lisp/ directory. The emacs/src/ directory should be directly below the emacs/ directory and I should rebuild the emacs executable in the emacs/src directory every day. The lisp/ directory should be directly below the emacs/ directory, too, not separated, as it is now, by the trunk/ directory. In addition, I would like the trunk/ and quickfixes/ directories to be directly below the emacs/ directory as they are now, but that is not so important. I do not care where the .bzr/ directories are, nor where I build. But the main sources (and executables) should be in and under the "/usr/local/src/emacs/" directory. That makes sense when you speak of the `emacs/lisp/mail' directory. Otherwise, all of us will have to change our language to say the `emacs/trunk/lisp/mail' directory. Doubtless among all of you, I will figure this out. At the moment, I don't dare use cp or mv. Perhaps I should use init-repo and branch to make a copy and update instead of pull. Please tell me what to do. Thank you. -- Robert J. Chassell bob@gnu.org bob@rattlesnake.com http://www.rattlesnake.com http://www.teak.cc