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

Re: Fwd: best practice for installing wanderlust?



At Fri, 19 Aug 2011 17:02:12 +0200,
David Maus wrote:
> 
> [1  <text/plain; UTF-8 (quoted-printable)>]
> At Wed, 17 Aug 2011 19:04:10 -0400,
> Matt Price wrote:
> > 
> > [1  <text/plain; ISO-8859-1 (7bit)>]
> > 
> > [2  <text/html; ISO-8859-1 (quoted-printable)>]
> > ...finally had the good sense to try another mailbox on the same server, that worked just fine.  A gmail account I created just now for testing purposes works as well. So I think the problem is specific to this folder, as you
> > suggested.  Is there something I can do to debug and/or workaround this problem? 
> 
> This is strange. I think the best way to debug this is to strip your
> entire WL and Emacs configuration to the bare minimum: Just Emacs (emacs -Q), a
> minimal WL configuration and a .folders with only this problematic
> folder.
> 
> If the problem still exists, confirm my theorie about
> `elmo-imap4-current-msgdb' beeing nil. To do so,
> 
>  - fire up WL, but don't enter the bad folder
> 
>  - open elmo-imap4.el and instrument `luna-define-method
>    elmo-folder-msgdb-create-plugged' (move inside defun and C-u C-M-x)
> 
>  - switch to WL and enter the folder; as soon as the instrumented
>    defun is called you end up in Emacs' debugger right inside
>    `elmo-folder-msgdb-create-plugged'
> 
>  - move point to the following part of this function
> 
>    	  (dolist (number (elmo-msgdb-list-messages elmo-imap4-current-msgdb))
> 	    (elmo-global-flags-set (elmo-msgdb-flags elmo-imap4-current-msgdb
> 						     number)
>    
>    and place point before (elmo-global-flags-set
> 
>  - create a /conditional breakpoint/ by pressing x -- Emacs will ask
>    for an expression to evaluate; if the expression is t at the
>    breakpoint, Edebug will stop
> 

Forgot: To continue execution of create-folder-plugged press g.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

Attachment: pgpjqCmJ_ILo1.pgp
Description: PGP signature