Re: name mismatch: ABC NOT changed to XYZ

2008-07-05 Thread Robert Widhopf-Fenk
On Wednesday, April 30, 2008 at 07:29:58, Dan Jacobson wrote:
 If one sets bbdb-quiet-about-name-mismatches t
 one will see the message
   name mismatch: ABC changed to XYZ
 but in fact nothing has changed!

 So the message is wrong.  bbdb-version 2.35


Hi Dan,

can you provide an example message to reproduce this problem?

You may send it by private mail to me.  Pleas also check the
headers of the messages old ones and the new one and check
if they are different, maybe a different encoding was used? 


Bye,
 Robert

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Sending mail

2008-07-05 Thread Robert Widhopf-Fenk
On Thursday, June 5, 2008 at 03:35:23, Alejandro Benitez wrote:
 Hi, Can I configure BBDB to create records out of the addresses I
 add in To:, Cc:, etc fields when sending mail ?  Thanks in
 advance.


,[ For recent BBDB version ]
| `bbdb-force-record-create' is an interactive compiled Lisp function
|   -- loaded from bbdb-hooks
| (bbdb-force-record-create)
| 
| Documentation:
| Force automatic creation of a BBDB records for the current message.
| You might add this to the reply hook of your MUA in order to automatically
| get records added for those people you reply to.
`

,[ ~/.vm ]
| (add-hook 'vm-reply-hook 'bbdb-force-record-create)
`

Bye Robert

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Last bbdb field

2008-07-05 Thread Robert Widhopf-Fenk
On Wednesday, June 25, 2008 at 09:24:30, Tom Shannon wrote:
 So I'm looking at the structure of the bbdb database and I have a
 couple questions.

 1) The very last field (the ninth) is always nil.  What is this
field used for?
 2) I've been adding notes fields and have accumulated quite a few.
 Wold it damage the database to add extra fields to the database
 after the notes field for my own use?  I suppose I could just try it
 myself but there may be subtle, untoward effects that I wouldn't
 immediately notice (poor sorting, poor performance, etc...)

It (field/slot 9) is used for caching at runtime but it is
not written to the file.

See the comment in `bbdb-insert-record-internal' and the
definition of the record slot access function in bbdb.el.

,[ This defines macros for accessing the fields/slots of the record ]
| (bbdb-defstruct bbdb-record-
|   firstname lastname aka company
|   phones addresses net raw-notes
|   cache
|   )
`

IMHO it is best to us the existing mechanism for user
defined fields.  Otherwise you might also need to care
for correct record creation in other parts of the code.

Robert

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: bbdb-whois.el uses obsolete old-style backquotes

2008-07-05 Thread Robert Widhopf-Fenk
On Wednesday, April 16, 2008 at 23:39:28, Reiner Steib wrote:
[...]
 --8---cut here---start-8---
 (defmacro bbdb-add-to-field (record field text)
   (let ((get (intern (concat bbdb-record- (symbol-name field
 (set (intern (concat bbdb-record-set- (symbol-name field)
 (` (let ((old ((, get) (, record)))
  (text (, text)))
  (or (member text old)
  ((, set) (, record) (nconc old (list text
 --8---cut here---end---8---

=== modified file 'lisp/bbdb-whois.el'
--- lisp/bbdb-whois.el  2007-02-23 22:08:31 +
+++ lisp/bbdb-whois.el  2008-07-05 20:05:08 +
@@ -25,10 +25,10 @@
 (defmacro bbdb-add-to-field (record field text)
   (let ((get (intern (concat bbdb-record- (symbol-name field
 (set (intern (concat bbdb-record-set- (symbol-name field)
-(` (let ((old ((, get) (, record)))
- (text (, text)))
- (or (member text old)
- ((, set) (, record) (nconc old (list text
+`(let ((old (,get ,record))
+   (text ,text))
+   (or (member text old)
+   (,set ,record (nconc old (list text)))

 (defcustom bbdb-whois-server (or (and (boundp 'whois-server) whois-server)
  whois.geektools.com)

Hi Reiner,

thanks for your bug-report, I changed the functions as
seen above.

Robert

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: noticing alternative names

2008-07-05 Thread William Xu
Robert Widhopf-Fenk [EMAIL PROTECTED] writes:

 Pleas share the changes, eventually they could be merged
 into the mainline ...

My change is like: You, just shut up!, as I simply comment the prompt
forcefully...  

BTW, cvs is odd today, why not switching to some DVCS tool..  

-- 
William

http://williamxu.net9.org

A real friend isn't someone you use once and then throw away.
A real friend is someone you can use over and over again.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/