unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Vanderschel <DJV5@Austin.RR.com>
To: help-gnu-emacs@gnu.org
Subject: Re: byte-compile making erroneous *Compile Log*
Date: Fri, 29 May 2009 22:50:52 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090529T223514-51@post.gmane.org> (raw)
In-Reply-To: FAC05AFA990D43B2B08129789D0CC2AC@us.oracle.com

Drew Adams <drew.adams <at> oracle.com> writes:

DV wrote:
> > My initialization is a bit too large to try to narrow it down
> > by partial execution...
 
> No, it's not too large. What you need to do (unless someone here has
> a direct answer for your problem) is to look for the problem using
> _binary_ search.

Yes, I am familiar with binary search; and, in this case, it will be
my last resort.  My initialization file is over 3000 lines long, so
successive halving still takes a while to get down to something
specific.  Such binary search works well when the problem is an
execution bug, as the 'test' is very quick.  However, in this case,
testing whether the problem still exists at each stage is not at all
trivial.  That is why I am hoping that someone can help me come at
this problem with better insight - which I believe is possible for this
particular problem.

> ... (Alternatively, you can use  `eval-region'.)

Indeed.  That is, in fact, how I have normally done it.  
Too many times.  :(





  reply	other threads:[~2009-05-29 22:50 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 20:43 byte-compile making erroneous *Compile Log* David Vanderschel
2009-05-29 21:09 ` Drew Adams
2009-05-29 22:50   ` David Vanderschel [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-05-30  9:52 martin rudalics
2009-05-31  5:17 ` David Vanderschel
2009-05-31 11:40 martin rudalics
2009-06-02  0:36 ` David Vanderschel
2009-06-02  6:23 martin rudalics
     [not found] ` <000401c9e4da$2e106680$650aa8c0@austin.rr.com>
     [not found]   ` <4A2773E2.9030001@gmx.at>
2009-06-05  8:16     ` David Vanderschel
2009-06-05  9:26       ` martin rudalics
2009-06-06  0:02         ` David Vanderschel
2009-06-06  8:21           ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090529T223514-51@post.gmane.org \
    --to=djv5@austin.rr.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).