Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with Gnus and BBDB
@ 2001-02-08  8:48 Nicolas Kowalski
  2001-02-08 17:06 ` Kai Großjohann
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Kowalski @ 2001-02-08  8:48 UTC (permalink / raw)



Hello.

I recently switched from Pine to Gnus & procmail ; most of all
works. Great work Gnus guys :-).

However, I am unable to make BBDB autocreate records when I enter some
mail group. In my case I just want BBDB create records when I enter
groups with the name beginning with "mail.perso" or "mail.verimag".

I wrote in my .gnus :

[SNIP]

(require 'bbdb)
(require 'gnus-bbdb)
(require 'supercite)

(bbdb-initialize 'gnus 'message 'sc 'w3)

(defun my-bbdb-hook ()
  (setq bbdb/news-auto-create-p
	 (or (string-match "mail.perso" gnus-newsgroup-name)
	     (string-match "mail.verimag" gnus-newsgroup-name))))
(add-hook 'gnus-select-group-hook 'my-bbdb-hook)

[SNIP]


Now, when I enter some mail group with a matching name, then I select
some message, I get some error message: 
"Invalid function: 5".

My configuration is : Gnus 5.8.3 with XEmacs 21.1 (patch 10).
I included the gnus-bbdb.el patch in my load-path.


Any idea ?
Thanks.

Niko.



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem with Gnus and BBDB
  2001-02-08  8:48 Problem with Gnus and BBDB Nicolas Kowalski
@ 2001-02-08 17:06 ` Kai Großjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Großjohann @ 2001-02-08 17:06 UTC (permalink / raw)
  Cc: ding

On 08 Feb 2001, Nicolas Kowalski wrote:

> (defun my-bbdb-hook ()
>   (setq bbdb/news-auto-create-p
> 	 (or (string-match "mail.perso" gnus-newsgroup-name)
> 	     (string-match "mail.verimag" gnus-newsgroup-name))))

(defun my-bbdb-news-auto-create-p ()
  (or (string-match "mail.perso" gnus-newsgroup-name)
      (string-match "mail.verimag" gnus-newsgroup-name)))

(defun my-bbdb-hook ()
  (setq bbdb/news-auto-create-p 'my-bbdb-news-auto-create-p))

kai
-- 
Be indiscrete.  Do it continuously.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-08 17:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-08  8:48 Problem with Gnus and BBDB Nicolas Kowalski
2001-02-08 17:06 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).