unfriendly bbdb-canonicalize-net-hook

2003-01-21 Thread Matt Armstrong
The docs for bbdb-canonicalize-net-hook state: This function will be called repeatedly until it returns a value EQ to the value passed in. So multiple rewrite rules might apply to a single address. Is there any particular reason the test is eq and not equal? For the second time now

[patch] small change to bbdb-canonicalize-address

2002-11-05 Thread Matt Armstrong
bbdb-canonicalize-address uses eq, not equal, to decide when to terminate the loop. My hook always modifies the address string but does converge on a canonical one. The eq test was always failing even when the addresses were the same. This seems a bit draconian for an end user hook. The hook

Re: bbdb and tmda addresses

2002-05-13 Thread Matt Armstrong
Andras BALI [EMAIL PROTECTED] writes: Hi. I'm using latest CVS of BBDB and Gnus with Emacs21. In order to store the correct email addresses of people who use TMDA, I use this code: (defun my-bbdb-normalize-tmda-addresses (addr) Removes TMDA-related strings from addresses. (when addr

Re: build error

2002-01-11 Thread Matt Armstrong
Ronan Waide [EMAIL PROTECTED] writes: On January 10, [EMAIL PROTECTED] said: With latest cvs sources on Linux, XEmacs-21.4 I get Note that you must have VM sources to compile BBDB. A compiled VM is insufficient. Mind you, I'm not saying that that's where the problem lies! Is this

New completion stuff, small buglet

2001-12-27 Thread Matt Armstrong
/touchtone.pound.au /usr/demo/SOUND/sounds/touchtone.star.au] bbdb-sound-player /usr/demo/SOUND/play bbdb-time-display-format %d %b %Y bbdb-update-records-mode 'annotating bbdb-use-alternate-names t bbdb-use-pop-up t bbdb-user-mail-names ^matt\\.armstrong@openwave\\.com\\|matt@\\([^\\.]*\\.\\)?phone\\.com

bbdb-complete-name broken in some cases

2001-12-12 Thread Matt Armstrong
-user-mail-names ^matt\\.armstrong@openwave\\.com\\|matt@\\([^\\.]*\\.\\)?phone\\.com\\|matt\\(+.*\\)?@lickey\\.com\\|matta@bluemug\\.com$ bbdb-write-file-hooks '(bbdb-write-file-hook-fn) bbdb/gnus-lines-and-from-length 18 bbdb/gnus-score-default nil bbdb/gnus-score-field 'gnus-score bbdb/gnus

Re: BUG: bbdb-complete-name and multiple net addresses

2001-12-07 Thread Matt Armstrong
Ronan Waide [EMAIL PROTECTED] writes: On December 5, [EMAIL PROTECTED] said: Except that it is not always a choice between just Foo Bar and foo@baz, there could also be a foo@yahoo associated with the same record. I think current implementation chooses randomly among the three when

Re: BUG: bbdb-complete-name and multiple net addresses

2001-12-07 Thread Matt Armstrong
did this I'd go freakin' insane. For example the net field in my BBDB for Matt Armstrong now looks like this: net: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] It's ridiculous to have so many addresses

BUG in bbdb-format-record

2001-12-07 Thread Matt Armstrong
(warning: I have vague recollection of finding and fixing this bug before, forgive me if this bug is known) There seems to be some historical code that will add a note as a plain string: [Jason R. Mastaler nil nil nil nil ([EMAIL PROTECTED]) TMDA author nil] Instead of what might be

Re: cvs ci 'bbdb/lisp bbdb-com.el,1.122,1.123'

2001-11-08 Thread Matt Armstrong
Ronan Waide [EMAIL PROTECTED] writes: On November 8, [EMAIL PROTECTED] said: Update of /cvsroot/bbdb/bbdb/lisp In directory usw-pr-cvs1:/tmp/cvs-serv7057 Modified Files: bbdb-com.el Log Message: Trying to fix multiple-match completion behaviour This is a one-line fix which

Re: cvs ci 'bbdb/lisp bbdb-com.el,1.122,1.123'

2001-11-08 Thread Matt Armstrong
Ronan Waide [EMAIL PROTECTED] writes: On November 8, [EMAIL PROTECTED] said: But one minor thing...I have a few records that have the same name (e.g Bob Smith). When I complete on Bob Smith bbdb asks me which primary net address to use in the minibuffer, with one of the possibilities

Re: cvs ci 'bbdb/lisp bbdb-com.el,1.122,1.123'

2001-11-08 Thread Matt Armstrong
Ronan Waide [EMAIL PROTECTED] writes: On November 8, [EMAIL PROTECTED] said: I think it would be cleaner if the initial *Completions* buffer always contained the whole address -- e.g. Bob Smith [EMAIL PROTECTED] Bob Smith [EMAIL PROTECTED] Yep, this would be my intention.

Re: Cannot extract an address component at foo+bar@baz.com.

2001-10-31 Thread Matt Armstrong
Simon Josefsson [EMAIL PROTECTED] writes: Ronan Waide [EMAIL PROTECTED] writes: On October 30, [EMAIL PROTECTED] said: It seems as if BBDB doesn't like addresses with + in them: (bbdb-extract-address-components [EMAIL PROTECTED]) Is this somehow intentional? How can I fix it? What

First Last -vs- 'First Last'

2001-07-10 Thread Matt Armstrong
I know there has been some talk about address parsing here recently -- I've let most of it blow by without paying much attention. Lemme know if all the talk about parsing rfc822 addresses, etc. will fix this. I've now reproduced the First Last [EMAIL PROTECTED] -vs- 'First Last' [EMAIL

User Name -vs- 'User Name'

2001-06-28 Thread Matt Armstrong
More and more, I'm getting: Change User Name to 'User Name' and when I say no: Add 'User Name' as an alias for User Name Has anybody written some elisp that'll strip leading and trailing single quotes from such cases? ___ [EMAIL PROTECTED]

Auto creation of records auto noticing of new names

2001-05-21 Thread Matt Armstrong
I have two hopefully related questions about BBDB auto-noticing stuff in e-mail. 1) I use bbdb/news-auto-create-p via Gnus, and have it set to bbdb-ignore-most-messages-hook such that it auto-creats only for a few domains: (setq bbdb/news-auto-create-p 'bbdb-ignore-most-messages-hook)

Re: Auto creation of records auto noticing of new names

2001-05-21 Thread Matt Armstrong
[EMAIL PROTECTED] (WJCarpenter) writes: matt I have two hopefully related questions about BBDB auto-noticing matt stuff in e-mail. See if your copy of BBDB has this. I believe recent versions do. It was made for at least one of the sorts of questions you asked. (defun