On Sunday, July 6, 2008 at 11:52:28, Patrick Campbell-Preston wrote:
On Thursday, May 15, 2008 at 13:44:06, William Xu wrote:
Ted Zlatanov [EMAIL PROTECTED] writes:
If this already exists in some form, let me know.
(setq bbdb-quiet-about-name-mismatches t)
But it has problems described in:
http://permalink.gmane.org/gmane.emacs.bbdb.user/2196
So I ended up modifying the lisp files directly.
Pleas share the changes, eventually they could be merged
into the mainline ...
Hold on, please; I believe all this is predicated on a
misconception!
If you haven't tried (setq bbdb-quiet-about-name-mismatches 0) then
perhaps you can't say whether it solves the problem.
Setting this variable to t in fact could be interpreted as do not
ask me whether to update the bbdb record, but display a slightly
confusing message for a default interval (say 2 seconds).
The documentation for bbdb-quiet-about-name-mismatches says:
*If this is true, then BBDB will not prompt you when it notices a
name change, that is, when the real name in a message doesn't
correspond to a record already in the database with the same network
address. As in, John Smith [EMAIL PROTECTED] versus John Q. Smith
[EMAIL PROTECTED]. Normally you will be asked if you want to change
it. If set to a number it is the number of seconds to sit for while
displaying the mismatch message.
And the code (buried in bbdb-annotate-message-sender) does exactly
what this says.
Probably it should not display the message in case of t, as
it contradicts the quiet in the name of the variable ...
well the code says
;; ignore name mismatches?
;; NB 'quiet' means 'don't ask', not 'don't mention'
but displaying a message is not really quiet ... and if t
is returned by a function then it is in fact suppressed.
The defcustom also has an example how to suppress it only
for records with the readonly field.
Cheers 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/