Re: function to add new records from email message

2011-08-11 Thread Leo
On 2011-08-11 16:32 +0800, Eric Abrahamsen wrote:
> Hey, this was a great bit of information -- I've long been confused
> about the best way to get someone in the database if you're not
> automatically adding unknown senders. So now with a prefix arg ":" asks
> whether to add a new record, but I don't see what you set to have it ask
> for all invocations, not just those with a prefix arg…?

Did you try ; (bbdb-mua-edit-notes-sender)?

Leo


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

TODO: Facilitate update BBDB v2.x to v3

2011-08-11 Thread Sam Steingold
As I mentioned before, the right solution is to mark the old functions
and variables obsolete which would make emacs autodetect and warn the
users when they use the old variables.
This seems to be much easier (and probably even automatable using git)
than the suggestion in TODO (auto-migration).
Is anyone working on this?
Thanks.
-- 
Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 
11.0.60900031
http://truepeace.org http://jihadwatch.org http://openvotingconsortium.org
http://ffii.org http://www.memritv.org http://honestreporting.com
Good: you CAN configure everything. Bad: you WILL configure everything.


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Thu Aug 11 2011 Eric Abrahamsen wrote:
> > Take a look at the variable bbdb-mua-update-interactive-p. It
> > specifies what you get without / with a prefix arg. The default is
> > `search' without a prefix and `query' with a prefix.
> 
> Thanks for this, the docstrings were a little confusing 

Good point! The docstring should talk not only about the
internal function bbdb-mua-update-interactive-p but first of all it
should mention the commands affected by this. I'll try to fix this.

Roland

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: function to add new records from email message

2011-08-11 Thread Eric Abrahamsen
On Thu, Aug 11 2011, Roland Winkler wrote:

> On Thu Aug 11 2011 Eric Abrahamsen wrote:
>> Hey, this was a great bit of information -- I've long been confused
>> about the best way to get someone in the database if you're not
>> automatically adding unknown senders. So now with a prefix arg ":" asks
>> whether to add a new record, but I don't see what you set to have it ask
>> for all invocations, not just those with a prefix arg ?
>
> Take a look at the variable bbdb-mua-update-interactive-p. It
> specifies what you get without / with a prefix arg. The default is
> `search' without a prefix and `query' with a prefix.

Thanks for this, the docstrings were a little confusing…


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Thu Aug 11 2011 Eric Abrahamsen wrote:
> Hey, this was a great bit of information -- I've long been confused
> about the best way to get someone in the database if you're not
> automatically adding unknown senders. So now with a prefix arg ":" asks
> whether to add a new record, but I don't see what you set to have it ask
> for all invocations, not just those with a prefix arg ?

Take a look at the variable bbdb-mua-update-interactive-p. It
specifies what you get without / with a prefix arg. The default is
`search' without a prefix and `query' with a prefix.

Roland

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: function to add new records from email message

2011-08-11 Thread Eric Abrahamsen
On Thu, Aug 11 2011, Roland Winkler wrote:

> On Sun Aug 7 2011 Peter Münster wrote:
>> The question was rather, if there was a function like
>> `bbdb-mua-edit-notes-ALL'. My solution:
>> 
>> --8<---cut here---start->8---
>> (local-set-key ":" '(lambda () (interactive)
>>   (bbdb-mua-edit-notes-recipients)
>>   (bbdb-mua-edit-notes-sender)))
>> --8<---cut here---end--->8---
>
> I guess there are just too many possiblities for defining such
> utility commands to match personal tastes. But as you noticed
> reshuffling the existing ones is hopefully not so difficult.
>
>> > Try bbdb-mua-display-sender
>> 
>> This function does nothing, if the record does not yet exist.
>
> ...depending on how you configure it. As I said: the default is
> being the least aggressive.

Hey, this was a great bit of information -- I've long been confused
about the best way to get someone in the database if you're not
automatically adding unknown senders. So now with a prefix arg ":" asks
whether to add a new record, but I don't see what you set to have it ask
for all invocations, not just those with a prefix arg…?


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/

Re: function to add new records from email message

2011-08-11 Thread Roland Winkler
On Sun Aug 7 2011 Peter Münster wrote:
> The question was rather, if there was a function like
> `bbdb-mua-edit-notes-ALL'. My solution:
> 
> --8<---cut here---start->8---
> (local-set-key ":" '(lambda () (interactive)
>   (bbdb-mua-edit-notes-recipients)
>   (bbdb-mua-edit-notes-sender)))
> --8<---cut here---end--->8---

I guess there are just too many possiblities for defining such
utility commands to match personal tastes. But as you noticed
reshuffling the existing ones is hopefully not so difficult.

> > Try bbdb-mua-display-sender
> 
> This function does nothing, if the record does not yet exist.

...depending on how you configure it. As I said: the default is
being the least aggressive.

> But it's not a big issue, I just have to press "Return" for each
> new record.

What do you mean here? Which step needs to be confirmed by typing
Return so that apparently you get what you want?

Roland

--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-dev2dev
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/