[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with bbdb and wanderlust
From: |
Fred Gilham |
Subject: |
Re: Problem with bbdb and wanderlust |
Date: |
Tue, 07 Jul 2020 13:02:12 -0700 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/28.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
On Mon, 06 Jul 2020 23:27:24 -0700,
David Maus wrote:
>
> 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
>
> .....
>
> lisp/bbdb-wl.el | 8 ++++++--
> 1 file changed, 6 insertions(+), 2 deletions(-)
>
> diff --git a/lisp/bbdb-wl.el b/lisp/bbdb-wl.el
> index b20b61a..3d16480 100644
> --- a/lisp/bbdb-wl.el
> +++ b/lisp/bbdb-wl.el
> @@ -33,11 +33,15 @@
> (eval-and-compile
> (autoload 'wl-summary-message-number "wl-summary")
> (autoload 'elmo-message-entity "elmo-msgdb")
> - (autoload 'elmo-message-entity-field "elmo-msgdb"))
> + (autoload 'elmo-message-entity-field "elmo-msgdb")
> + (autoload 'elmo-folder-name-internal "elmo"))
>
> ;;;###autoload
> (defun bbdb/wl-header (header)
> - (with-current-buffer wl-summary-buffer-name
> + (with-current-buffer (if (wl-summary-sticky-p)
> + (wl-summary-sticky-buffer-name
> + (elmo-folder-name-internal
> wl-summary-buffer-elmo-folder))
> + wl-summary-buffer-name)
> (elmo-message-entity-field
> (elmo-message-entity wl-summary-buffer-elmo-folder
> (wl-summary-message-number))
> --
> 2.26.2
>
Seems to work! Thanks!
--
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