define faces for variant BBDB field names

2014-08-01 Thread stardiviner
I try to define custom faces to be applied in variable =bbdb-name-face-alist= for variant field names. Here is my try: #+BEGIN_SRC emacs-lisp ;;; define variant faces for variant xfields ;; TODO: improve it (setq bbdb-name-face-alist '((mail . bbdb-field-mail)

Re: define faces for variant BBDB field names

2014-08-01 Thread Eric Abrahamsen
stardiviner numbch...@gmail.com writes: I try to define custom faces to be applied in variable =bbdb-name-face-alist= for variant field names. Here is my try: #+BEGIN_SRC emacs-lisp ;;; define variant faces for variant xfields ;; TODO: improve it (setq bbdb-name-face-alist '((mail .

Re: define faces for variant BBDB field names

2014-08-01 Thread Roland Winkler
On Sat Aug 2 2014 Eric Abrahamsen wrote: I think this is just a misunderstanding about what `bbdb-name-face-alist' does. It *only* provides font-locking for the actual name of the record, not the other fields. You give the record an xfield called 'name-face, and the *value* of that field