On Sun Jan 16 2011 Philipp Haselwarter wrote:
> "RW" == Roland Winkler <wink...@gnu.org> writes:
> ---8<---[snipped 10 lines]---8<---
> RW> I added this. Yet I also realized something strange about the Gnus
> RW> *Article* buffers. The key ':' is not bound to
> RW> `bbdb-mua-display-sender' but to `gnus-article-read-summary-keys'
> RW> that provides an additional wrapper that restores the window
> RW> configuration. So calling `bbdb-mua-display-sender' becomes really
> RW> useless inside *Article* buffers.  It only works in the *Summary*
> RW> buffer.
> 
> RW> -- Suggestions welcome (I do not know much about Gnus).
> 
> As far as I can see ':' is unbound in the *Summary* buffer in gnus
> v5.13 (emacs bzr) and nognus.
> `bbdb-mua-display-sender' seems to _update_ the *BBDB* buffer even when
> called from the summary, but fails to open the pop-up window.

That is strange. My observations refer to Gnus that comes with Emacs
23.2.90.1.

I discovered the `gnus-article-read-summary-keys' wrapper using
edebug. -- You can put something like (sit-for 10) at the end of
`bbdb-mua-display-sender'. For me, this shows that
`bbdb-mua-display-sender' gives exactly the expected behavior (a
BBDB window for the sender of the message). Yet this BBDB window
disappears after the execution of the command
`bbdb-mua-display-sender'. Note also that
`gnus-article-read-summary-keys' has an optional arg
not-restore-window which is probably needed here. Yet I don't know
the intended usage of this arg.

This issue might be more appropriate for a Gnus mailing list or
news group.

Roland

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to