Re: Bug in bbdb-canonicalize-net-hook

2001-08-03 Thread Colin Rafferty
Henrik Enberg wrote: > There seem to be a bug in related to `bbdb-canonicalize-net-hook'. > I think that either the name or the behavior should be changed to > reflect what works and what doesn't work. This is an historical artifact. In the deep dark past, all `hook' variables were just setq

Bug in bbdb-canonicalize-net-hook

2001-07-31 Thread Henrik Enberg
There seem to be a bug in related to `bbdb-canonicalize-net-hook'. Given the name I assumed it was a hook and tried the following code: (add-hook 'bbdb-canonicalize-net-hook '(lambda (addr) (cond ((string-match "\\([^+]+\\)\\(\\+[^@]+\\)\\(@.*\\)\\'" addr)