From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Thomas S. Dye" Subject: Re: Re: One org file, multiple exports, is it possible? Date: Tue, 25 May 2010 07:51:04 -1000 Message-ID: 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> <9690.1274806335@alphaville.usa.hp.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33645 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGyHZ-0006Ja-VV for emacs-orgmode@gnu.org; Tue, 25 May 2010 13:51:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGyHX-00054k-La for emacs-orgmode@gnu.org; Tue, 25 May 2010 13:51:13 -0400 Received: from oproxy2-pub.bluehost.com ([67.222.39.60]:37744) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OGyHX-00054W-Ew for emacs-orgmode@gnu.org; Tue, 25 May 2010 13:51:11 -0400 In-Reply-To: <9690.1274806335@alphaville.usa.hp.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: nicholas.dokos@hp.com Cc: kmartino@pobox.com, Bernt Hansen , emacs-orgmode@gnu.org, Carsten Dominik Thanks Nick, I appreciate your frequent servings of sane advice. I don't think I have a batch mode reproducer in me, but bisection makes a lot of sense and the organization of the config files is somewhat logical so I do have a de facto bisection at hand. All the best, Tom On May 25, 2010, at 6:52 AM, Nick Dokos wrote: > 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