hi,

here is some code that allows you to search all fields for which there
is no special search utility. for example,

M-x bbdb-field RET
mail-alias RET
. RET

lists all records that have a mail-alias.

(defun bbdb-field (field string elidep)
  "Display all entries in the BBDB matching the regexp STRING in the field 
field."
  (interactive "xField where to search : \nsRegular Expression for Search: \nP")
  (let* ((target (cons field string))
         (bbdb-elided-display (bbdb-grovel-elide-arg elidep))
         (recs (bbdb-search (bbdb-records) nil nil nil target)))
    (bbdb-display-records recs)
    recs))

best,
tomy

"Charles philip Chan" <[EMAIL PROTECTED]> writes:

> On  4 Jan 2007, [EMAIL PROTECTED] wrote:
>
>> does anyone know of a way to tell BBDB to list just those entries
> with
>> the 'family' mail-alias?
>
> Yes. use bbdb-query which I can't seem find on the Internet
> anymore. Since my Usenet nost does not allow attachments, I will send
> you a copy privately.
>
> Charles
>
> -- 
> # Basic IBM dingbats, some of which will never have a purpose clear
> # to mankind
>         linux-2.4.0/drivers/char/cp437.uni

-- 
very nice signature
_______________________________________________
info-gnus-english mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to