Andreas Fuchs <[EMAIL PROTECTED]> writes:
> $ grep bbdb .emacs .gnus
> .gnus:(require 'bbdb)
> .gnus:(bbdb-initialize 'gnus 'message 'sc 'w3)
> .gnus:(setq bbdb-offer-save 'auto) ;just save, don't ask
> .gnus:(setq bbdb-electric-p nil)
> .gnus:(setq bbdb/news-auto-create-p t)
> .gnus:(setq bbdb-auto-notes-alist
> '(("user-agent" (".*" interface 0 t))
> ("x-mailer" (".*" interface 0 t))
> ("x-newsreader" (".*" interface 0 t))
> ("x-now-playing" (".*" playlist 0))
> ("newsgroups" ("\\([^,]*\\),?" posted-to "\\1" t))
> ("xref" ("\\b[^ ]+:[0-9]+.*" seen-in 0))))
> .gnus:(add-hook 'message-setup-hook 'bbdb-define-all-aliases)
Using this setup, only the "newsgroup" header is actually captured and
replaces to the posted-to field of the bbdb record. All the other
headers seem to be ignored. I added
("Organization" (".*" company 0))
(as from the bbdb-auto-notes-alist help information) and that seems to
work too. I don't know why these other lines don't work. I think it
is related to how bbdb recognzies a "HEADER-NAME".
XEmacs 21.1 (patch 8) "Bryce Canyon"
BBDB version 2.00.06 (1999/01/25 06:16:02)
Gnus v5.8.4
--
Doug Alcorn | Fire Todd Dickinson, reform the US Patent Office
[EMAIL PROTECTED] | http://www.andovernews.com/cgi-bin/news_column.pl?533
www.lathi.net |
_______________________________________________
bbdb-info mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/bbdb-info