bbdb-user
[Top][All Lists]
Advanced

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

Re: Problem with bbdb and wanderlust


From: David Maus
Subject: Re: Problem with bbdb and wanderlust
Date: Tue, 07 Jul 2020 08:27:24 +0200
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 Emacs/27.0.91 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

The attach patch should fix this issue. It uses the sticky buffer name
if the summary is sticky and the regular buffer name if it is not.

Best,
  -- David

On Tue, 09 Jun 2020 22:08:51 +0200,
Fred Gilham wrote:
> 
> 
> Some time ago I started seeing errors of the type
> 
> bbdb-bbdb-message-header: No buffer named Summary
> 
> As a result some bbdb functionality disappeared, though some continued
> to work. But what most concerned me was that I was unable to forward
> emails. Eventually I tracked it down as follows.
> 
> The function bbdb-message-header dispatches on the mua, and for
> wanderlust it points to bbdb/wl-header.
> 
> That function uses the wl-summary-buffer-name variable to find the
> name of the summary buffer, but that variable is set to "Summary".
> There is no buffer named "Summary"; instead all the buffers use what
> is called the "sticky buffer name" such as
> "Summary:%INBOX:randomuser/clear@imap.gmail.com:993!"
> 
> 
> 
> 
> 
> Changing 
> 
>       wl-summary-buffer-name 
> 
> to
> 
>       (wl-summary-sticky-buffer-name
>        (elmo-folder-name-internal wl-summary-buffer-elmo-folder))
> 
> makes everything work as expected.
> 
> Here's a diff:
> 
> --- bbdb-wl.el-old      2020-02-18 09:50:43.252186491 -0800
> +++ bbdb-wl.el  2020-06-09 06:16:49.859572928 -0700
> @@ -36,8 +36,11 @@
>    (autoload 'elmo-message-entity-field "elmo-msgdb"))
>  
>  ;;;###autoload
> +
>  (defun bbdb/wl-header (header)
> -  (with-current-buffer wl-summary-buffer-name
> +  (with-current-buffer
> +      (wl-summary-sticky-buffer-name
> +       (elmo-folder-name-internal wl-summary-buffer-elmo-folder))
>      (elmo-message-entity-field
>       (elmo-message-entity wl-summary-buffer-elmo-folder
>                            (wl-summary-message-number))
> 
> 
> 
> -- 
>    just make me lighter
>    make me lighter still
>      'til the yellow of the sun takes me
> 
>    [oh what Lazarus saw! I cannnot bear this anymore!]
>                                                       -- Linshuang Lu
> 

-- 
David Maus M.A.

Www: http://dmaus.name
Twitter: @_dmaus

Attachment: 0001-Handle-stick-summary-folders-in-Wanderlust.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]