Re: Trying to get ":" key in Gnus summary to add/edit senders in BBDB (again)

Steinar Bang <[email protected]>
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
>>>>> Michael Heerdegen via Users list for the GNU Emacs text editor <[email protected]>:

> One more tip (also see the comment mentioning `setopt'):

Yep, seen and implemented. Thanks!

> You can simplify

> #+begin_src emacs-lisp
> (when (locate-library "bbdb")
>   (require 'bbdb)
>   ...
> )
> #+end_src


> to

> #+begin_src emacs-lisp
> (when (require 'bbdb nil t)
>   ...
> )
> #+end_src

Thanks for the tip! Also implemented throughout my .emacs.

(my .emacs was started in the late 80-ies and has been version
controlled from June 1995 (first in RCS, then CVS, then subversion and
finally and still in git), so it has collected a lot of cruft over the
years, even with the occasional spring cleaning...)

For completeness for any googlers finding this thread, here is the final
version of my bbdb config in .emacs:

(when (require 'bbdb nil t)
  (bbdb-initialize 'gnus 'message))
(setopt bbdb-user-mail-address-re "\\(sb@\\|steinar@my\\.domain\\.com\\)"
        bbdb-phone-style nil)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.