Toggling bbdb-mua-update-interactive-p?

2012-02-07 Thread Damon Haley

Hi, I have bbdb 3.02 set up to update records interactively in Gnus v5.13.

For most of my 'mail-sources', GROUPS and TOPICS this is good as I like
to collect email addresses.

But for high-volume lists like emacs-devel, I'd rather not bother.  Is
there a way to turn off bbdb-mua-update-interactive-p based on a
specific GNUS GROUP or GNUS Topic(s) using regex(s) like
bbdb-auto-notes-rules?

Here are my relevant settings:

(bbdb-initialize 'gnus 'message)
(bbdb-mua-auto-update-init 'gnus 'message)
(set `bbdb-mua-update-interactive-p '(query . create))
(set `gnus-article-prepare-hook '(bbdb-mua-display-sender bbdb-mua-auto-update))
(set `bbdb-update-records-p '(search))

Also, when it updates, I get the menu at the bottom of this message,
which says 'q' would turn off updating.  But it only works for that
particular message and it would be nice to turn if off for the rest of
the Gnus session or for the rest of the messages in the current group.

Thanks for any assistance.  I know BBDB 3.02 is in development, so I'm
fine with the current functionality if there is no solution to this
problem yet. 

Thanks,

Damon

Your answer controls how BBDB updates/searches for records.

Type ?  for this help.
Type y  to add the current record.
Type !  to add all remaining records.
Type n  to skip the current record. (You might also type space)
Type s  to switch from annotate to search mode.
Type q  to quit updating records.  No more search or annotation is done.)

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Fixing completion cycles

2012-02-07 Thread Roland Winkler
On Thu Feb 2 2012 Johann 'Myrkraverk' Oskarsson wrote:
 For the record, my bbdb version is 2.35.
 
 Due to the 'Myrkraverk' in my name, I can not cycle the 'net addresses
 when I use bbdb-complete-name on myself.

Did you know that BBDB went through a a major re-write? Now there is
BBDB 3. Out of curiosity I tried cycling with a name like yours and
it worked without a problem. Some change in the new code must have
solved your problem. too.

Roland


BBDB is available at
http://savannah.nongnu.org/projects/bbdb/
To check it out, use
git clone git://git.savannah.nongnu.org/bbdb.git

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Toggling bbdb-mua-update-interactive-p?

2012-02-07 Thread Roland Winkler
On Tue Feb 7 2012 Damon Haley wrote:
 Hi, I have bbdb 3.02 set up to update records interactively in Gnus v5.13.
 
 For most of my 'mail-sources', GROUPS and TOPICS this is good as I like
 to collect email addresses.
 
 But for high-volume lists like emacs-devel, I'd rather not bother.  Is
 there a way to turn off bbdb-mua-update-interactive-p based on a
 specific GNUS GROUP or GNUS Topic(s) using regex(s) like
 bbdb-auto-notes-rules?

 (set `bbdb-mua-update-interactive-p '(query . create))

The car (and cdr) of bbdb-mua-update-interactive-p can be replaced
by functions. You want a function that returns 'search or nil if you
are reading emacs-devel and 'query otherwise. Unfortunately, I am
not a Gnus expert who can tell you which Gnus variable can tell you
which news group you are currently reading. Can someone help?

 Also, when it updates, I get the menu at the bottom of this
 message, which says 'q' would turn off updating. But it only works
 for that particular message and it would be nice to turn if off
 for the rest of the Gnus session or for the rest of the messages
 in the current group.

That's intended behavior. I believe it will be better if you can
bind bbdb-mua-update-interactive-p according to your needs (possibly
via a command you can call while reading news with gnus). Yet I'd
find it odd if BBDB, while operating on one particular message, an
alternative to 'q' affected not only the current message but also
all subsequent messages.

Roland

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/