From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: One org file, multiple exports, is it possible? Date: Tue, 25 May 2010 12:52:15 -0400 Message-ID: <9690.1274806335@alphaville.usa.hp.com> References: <855B9DE3-A7FD-42B4-A863-DE036065EBD1@gmail.com> <6B0AFD3C-BF59-4DB6-823F-471107A380F4@tsdye.com> <81206149-B01D-4837-A7A5-0ABF94920FE1@gmail.com> <56FE52EC-18B8-46FE-B0B8-266DE70E0A38@tsdye.com> <646DB2B5-DFE0-422F-BD11-AA2117E76644@tsdye.com> <87632cljw4.fsf@gollum.intra.norang.ca> <2A73C8FD-9901-4C69-B02F-967198004270@tsdye.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=33093 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGxMb-0002zW-LB for emacs-orgmode@gnu.org; Tue, 25 May 2010 12:52:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGxMZ-00032x-MW for emacs-orgmode@gnu.org; Tue, 25 May 2010 12:52:21 -0400 Received: from g1t0026.austin.hp.com ([15.216.28.33]:12798) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGxMZ-00032j-G7 for emacs-orgmode@gnu.org; Tue, 25 May 2010 12:52:19 -0400 In-Reply-To: Message from "Thomas S. Dye" of "Tue, 25 May 2010 06:20:16 -1000." <2A73C8FD-9901-4C69-B02F-967198004270@tsdye.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Thomas S. Dye" Cc: kmartino@pobox.com, Bernt Hansen , nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Carsten Dominik Thomas S. Dye wrote: > Thanks Bernt, > > So, "broken custom settings" appear to be the cause of the unexpected > behavior. Two questions: > > 1) Do programmers have a name for this situation, where custom > settings seemed to work perfectly for a long time but then failed > noticeably with the introduction of new, correct code into the .emacs? > I don't think so. > 2) Is there a useful strategy for finding the minimal .emacs that > illustrates the failure? I might have 100 customizations in the > various starter kit configuration files. If combinations of > customizations are a possibility, I'm looking at quite a bit of random > experimentation without some kind of strategy. > Bisection is about the only reasonable strategy, short of oracular guesswork. I have a single .emacs that's (mostly) a sequence of (conditional) loads/requires of individual package config files. I just comment out the whole thing, verify correct operation, and then uncomment out the first/second half and try again. With 100 packages, 7 cycles will get you down to a single package and then you just do the same thing within the package config file. Given a reproducer that you can run in batch mode, this goes fairly quickly. HTH, Nick