>>>>> "Reiner" == Reiner Steib <[EMAIL PROTECTED]> writes:

   >> 
   >> Can that be easily done with bbdb.

   > Why not use Gnus' expansion, see `message-completion-alist' and
   > `message-expand-group'?

Well if gnus is in the summary of a certain newsgroup
gnus-summary-post-news automatically inserts the correct Newsgroups
name.

However sometimes I want to send a mail to a newsgroup and I am not in
that group so this does not work. 

As for your recommendation the first variable gives

--8<------------------------schnipp------------------------->8---
`message-completion-alist' is a variable declared in Lisp.
  -- loaded from "message"


Value: (("^\\(Newsgroups\\|Followup-To\\|Posted-To\\|Gcc\\):"
. message-expand-group) ("^\\(Resent-\\)?\\(To\\|B?Cc\\):"
. message-expand-name)
("^\\(Reply-To\\|From\\|Mail-Followup-To\\|Mail-Copies-To\\):"
. message-expand-name)
("^\\(Disposition-Notification-To\\|Return-Receipt-To\\):"
. message-expand-name)) 
--8<------------------------schnapp------------------------->8---


Now I use 
(add-hook 'mail-setup-hook 'bbdb-define-all-aliases) 
(add-hook 'gnus-message-setup-hook 'bbdb-define-all-aliases) ;Version:1.35
(add-hook 'message-setup-hook 'bbdb-define-all-aliases) ;Version:1.35

Which expands an alias hitting space. 

Now how am I suppose to use message-expand-group? It is not an
interactive function, put it in some hook?

Uwe 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Reply via email to