From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: some kind of bisect tool Date: Wed, 25 May 2011 18:20:32 -0400 Message-ID: <87fwo2bexb.fsf@norang.ca> References: <87k4debgl2.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:55504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPMRR-0007dY-1w for emacs-orgmode@gnu.org; Wed, 25 May 2011 18:20:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPMRQ-0001oF-2V for emacs-orgmode@gnu.org; Wed, 25 May 2011 18:20:37 -0400 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:44375 helo=mho-01-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPMRP-0001oA-Vn for emacs-orgmode@gnu.org; Wed, 25 May 2011 18:20:36 -0400 In-Reply-To: (Samuel Wales's message of "Wed, 25 May 2011 15:03:50 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Samuel Wales writes: > Hi Bernt, > > My proposal is for an Emacs command, not a shell script. The command > would load source for org-mode each time and provide a command that > the user can use to provide feedback to git interactively. It should > ideally not depend on Magit. It should work in Emacs 22 and later > versions. Hi Samuel, This sounds more complicated. If you go back in time to when variables weren't created yet your current emacs session will have those already defined (from the later commit you were on). I don't know how (or if) you can clean up the current emacs state without a restart in that case. The few times I've used git bisect run with Emacs org-mode I've used a script with some lisp code to test the conditions in a minimal emacs setup which is safely reproducible. Trying to reuse the current session with an org-reload probably won't work well for the general case. > > By the way, I am having trouble loading source with c-u c-c c-x ! . I > notice that some commands, such as m-s-right, are still compiled. I have no idea what is going on here. > > I also notice that org-crypt.el does not load when I go to dired, mark > all .el, and load all marked files. It says (void-function daemonp) . > That might or might not be the reason c-u c-c c-x ! fails silently. > There might be other issues. > > Emacs 22. Later versions of Emacs do not work on my computer. Ugh. Sounds painful. (Sorry) Regards, Bernt