From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/8532 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: Advanced BBDB use Date: Mon, 15 Jan 2007 22:55:32 +0100 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87ps9hva05.fsf@main.mainworld> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1168900907 8032 80.91.229.12 (15 Jan 2007 22:41:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 22:41:47 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jan 15 23:41:45 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H6aWF-0002ji-Pr for gegu-info-gnus-english@m.gmane.org; Mon, 15 Jan 2007 23:41:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H6aWF-00076V-Lq for gegu-info-gnus-english@m.gmane.org; Mon, 15 Jan 2007 17:41:35 -0500 Original-Newsgroups: gnu.emacs.gnus X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.92 (gnu/linux) Cancel-Lock: sha1:vvMCCKFn2oDJn7LgZXdsz1V0M+E= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1168898360 134.60.10.123 (15 Jan 2007 22:59:20 +0200) Original-Lines: 46 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsserver.news.garr.it!kanaga.switch.ch!switch.ch!news.belwue.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.gnus:78714 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:8532 Archived-At: On Sun, Jan 14 2007, Springfield wrote: > I have an extra field within my bbdb database. Is there any easy way of > putting together a mail with only the recipients whose records match a > condition on my new field? Looking around the docs hasn't upturned > anything inspiring. I think you should use `mail-alias': ,----[ (info "(bbdb)Mail Sending Interfaces") ] | If you want a mail alias to be defined for a person, simply add a | `mail-alias' field to their record. You may have multiple aliases for | the same person; simply separate them with commas. | | [...] | | To actually define the aliases which are stored in the BBDB, call the | function `bbdb-define-all-aliases' from your `mail-setup-hook' (or | `message-setup-hook' if you use Message mode coming with Gnus). This | will search the database, and call `define-mail-alias' to define each | of the resulting aliases. `---- I use it as follows: ;; Define mail aliases for some of the records in the database. ;; Every record which has a `mail-alias' field will have a mail alias ;; defined for it which is the contents of that field. If there are ;; multiple comma-separated words in the `mail-alias' field, then all ;; of those words will be defined as aliases for that person. (eval-after-load "message" '(add-hook 'message-setup-hook 'bbdb-define-all-aliases)) BTW: | Gnus/5.090024 (Oort Gnus v0.24) Emacs/22.0.92 (gnu/linux) Huch? Emacs 22 includes a more recent an less buggy version of Gnus compared to Oort Gnus 0.24 (= Gnus 5.10.1): Gnus 5.11 (which corresponds to Gnus 5.10.8 + several bug fixes). Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/