Re: noticing alternative names

2008-07-07 Thread Robert Widhopf-Fenk
On Sunday, July 6, 2008 at 11:07:16, William Xu wrote:
> 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...

So you just must have missed the code doing the ignore four
lines above ... ;-)

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

Yes I plan to switch to BZR and in fact use it internally
already for years.  But my hacking activity was knocked out
by the last few months ...

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/


Re: noticing alternative names

2008-07-07 Thread Robert Widhopf-Fenk
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/


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/


Re: noticing alternative names

2008-07-05 Thread Robert Widhopf-Fenk
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 ...

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-05-14 Thread William Xu
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.  

-- 
William

http://williamxu.net9.org

Look into my eyes and try to forget that you have a Macy's charge card!


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


noticing alternative names

2008-05-08 Thread Ted Zlatanov
Right now, BBDB in Gnus will ask me, if it notices a new name for an
exsiting e-mail address, if I want to add the name (y/n), then if I want
to add it as an alternative (y/n).  I think it would be better if that
prompt was:

Do you want to use NAME instead of OLD, as an alternative to it,
ignore it from now on, or do nothing (y/a/i/n)?

The permanent ignore can be done with a customize variable call, for
instance.

If this already exists in some form, let me know.

Thanks
Ted


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/