Matthieu Moy <[EMAIL PROTECTED]> writes:

> Mark Triggs <[EMAIL PROTECTED]> writes:
>
>> I *think* the problem is caused by a process being started and
>> overwriting the tla-process-buffer while
>> `tla-bookmarks-missing-parse-missing' is still parsing its contents. 
>
> Strange. The new process is started in
> tla-bookmarks-missing-do-todolist,    which    is    called    *after*
> tla-bookmarks-missing-parse-missing. 
>
> If your fix solves the problem,  why not, but I still don't understand
> the exact cause of the problem ! 

I think I've just worked it out.  I added a few extra debugging
statements, and found in *tla-log*:


  Parsing missing...
  
  Command: tla library-find --silent -A [EMAIL PROTECTED] 
anotherbranch--main--0.1--patch-3
  Directory: ~/projects/testarch/testproject--main--0.1--patch-1/
  Date: Mon May 24 20:38:39 2004
  
  Done parsing missing...


So while it was parsing the missing output, library-find is being run
(and overwriting the process output buffer).  It turns out that this
form:

  (ewoc-enter-last cookie
                   (list 'entry-patch nil
                         (tla-split-revision-name revision)
                          summary creator date))

in `tla-bookmarks-missing-parse-missing' is what's doing it.  The value
of `cookie' is set further back with:

  (set (make-local-variable 'tla-revision-list-cookie)
       (ewoc-create 'tla-revision-list-printer))

and the function `tla-revision-list-printer' calls `tla-library-find'.
Phew :o)

Cheers,

Mark

-- 
Mark Triggs
<[EMAIL PROTECTED]>

Reply via email to