[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A problwm with the folder mode



> > > Hm. Looks like Emacs is waiting for the IMAP server to return
> > > something. We might get a clearer picture if you run WL
> > > uncompiled. E.g. issue
> > >
> > > make clean
> > >
> > > In the WL installation folder and re-run the backtrace.
> >
> > I did. The output can be seen at http://pastebin.com/59JYTzPQ
> >
> > Still looks messy to me.
> 
> My guess is that WL is hanging in this while:
> 
> ,----
> | (while (and (memq (process-status process) (quote (open run))) ;; t => process is running
> | 	    (goto-char (point-max)) ;; t => always (returns non-nil)
> | 	    (or
> | 	     (/= (forward-line -1) 0) ;; t => process did NOT send something
> | 	     (not (elmo-imap4-parse-greeting)) ;; t => current line is not a IMAP4 greeting
> | 	     ))
> |   (accept-process-output process 1))
> `----
> 
> As far as I understand the loop this can happen if
> 
> (a) the process is running but not sending data back to the client.
>  -or-
> (b) the process is running, sending back data but no IMAP4 greeting
> 
> A quick'n'dirty hack to test if the server is sending something back
> would be to add
> 
> (messsage (buffer-string))
> 
> to the while loop and check the *Messages* buffer.

Nothing at all appears in the *Messages*. I'm really beginning to despair. I guess I will have to give up on Wl soon.

/andreas