[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bbdb-ignore-some-messages-alist seems to ignore some alists



Hi,

I am trying to not have bbdb annotate addresses that come from out ticket system.

The emails are of the form  234.123456@helpdesk.example.com.  The regex "[0-9]+.[0-9]+@helpdesk.example.com"  seems to match perfectly, but even when i just have

bbdb-ignore-some-messages-alist
     '(( "From" . "helpdesk")

It still wants to ask to add the address to my bbdb, it is very annoying to have this in my workflow.  Does anyone know what the cause could be? When I describe-variable bbdb-ignore-some-messages-alist it appears to be bound to the correct value.

Thanks,

Adrian


some of my .wl:


(setq bbdb-file "~/.emacs.d/bbdb")           ;; keep ~/ clean; set before loading
(require 'bbdb)
(bbdb-initialize)
(setq
    bbdb-offer-save 1                        ;; 1 means save-without-asking
   
    bbdb-use-pop-up nil                        ;; allow popups for addresses
    bbdb-electric-p t                        ;; be disposable with SPC
    bbdb-popup-target-lines  1               ;; very small
   
    bbdb-dwim-net-address-allow-redundancy t ;; always use full name
    bbdb-quiet-about-name-mismatches 2       ;; show name-mismatches 2 secs

    bbdb-always-add-address t                ;; add new addresses to existing...
                                             ;; ...contacts automatically
    bbdb-canonicalize-redundant-nets-p t     ;; x@foo.bar.cx => x@bar.cx

    bbdb-completion-type nil                 ;; complete on anything

    bbdb-complete-name-allow-cycling t       ;; cycle through matches
                                             ;; this only works partially

    bbbd-message-caching-enabled t           ;; be fast
    bbdb-use-alternate-names t               ;; use AKA


    bbdb-elided-display t                    ;; single-line addresses

    ;; auto-create addresses from mail
    bbdb/mail-auto-create-p 'bbdb-ignore-some-messages-hook  
    bbdb-ignore-some-messages-alist

     '(( "From" . "helpdesk")
   )
)