Re: stop bbdb from asking questions in gnus

2011-11-11 Thread Thorsten
Eric Abrahamsen e...@ericabrahamsen.net writes:

 On Fri, Nov 11 2011, Thorsten wrote:

 [...]


 Problem solved, now I can use gnus without any (unwanted) interference
 from bbdb again. Only have to find out, how the wanted interference
 works. 

 Cheers

 I had the same irritations as you, and found the same solution. My
 wanted interference setup is this:

 (define-key gnus-summary-mode-map (kbd \) 'bbdb-mua-display-records)

 I don't have bbdb show me sender information automatically. I hit this
 key when I do want to see that information, and the nice thing is, if
 anyone in the message headers is not in the database, it asks me if I
 want to add them. That's just the right amount of interference, for me.
 You might have to set `bbdb-mua-update-interactive-p' to '(query .
 create) to get it to work exactly like that.

 Good luck,
 Eric

That kind of default reminds me of the old Emacs default to not allow
copypaste between Emacs and other apps. Probably countless Emacs
newbies turned away from Emacs because of this... 

Its a kind of a bondage  submission approach to usability - make them
beginners suffer at first ... (just kidding ;)

Thanks for you tips, I just copied your code to my .gnus and it works
like you described it, and now I do have the 'wanted interference' I expected.

cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-11 Thread Thorsten
Rasmus ras...@gmx.us writes:

 Thorsten quintf...@googlemail.com writes:

 hi list,
 I know there was a similar question in this group, but unfortunately I
 don't find it anymore. 

 I successfully installed bbdb 3 for the use with gnus. But the default
 behaviour might almost be considered a bug - the whole workflow in gnus
 is destroyed by bbdb constantly asking if I want to add some post or
 email author to the database. I almost never want to do that. 

 Therefore I have two questions:

 1. how can I turn this behaviour off? 

 2. is it reasonable to habe that kind of behaviour as a default? Is
there anybody who would want that?

 I use the following snip in my gnus.  Ideally, I would also want it to
 only ask when receiving real mails, i.e. not mailing list etc., but I
 haven't gotten an idea on how to do it yet.

 ** Santinize the BBDB
 I don't care about people from usenet. Don't ask me! Always ask in all
 other cases.
 #+begin_src emacs-lisp
 (defun bbdb/gnus-update-selectively ()
   Update BBDB record selectively
   (interactive)
   (if
   (gnus-news-group-p gnus-newsgroup-name)
   (setq bbdb/gnus-update-records-p nil)
 (setq bbdb/gnus-update-records-p 'query)
 ))

 (add-hook 'gnus-summary-prepare-hook 'bbdb/gnus-update-selectively)

Thanks, thats another possible approach, though I would prefer the
Hollywood approach: don't ask me (bbdb), I ask you. 

However, even if I ask bbdb to add e.g. a newsgoup poster - I never want
this cryptic gmane email addresses in bbdb. 
That would be even better, if bbdb only acts when I press a key in the
gnus summary buffer, and then only offers 'real' email-addresses as
candidates, ignoring the cryptic newsgroup adresses.

cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
hi list,
I know there was a similar question in this group, but unfortunately I
don't find it anymore. 

I successfully installed bbdb 3 for the use with gnus. But the default
behaviour might almost be considered a bug - the whole workflow in gnus
is destroyed by bbdb constantly asking if I want to add some post or
email author to the database. I almost never want to do that. 

Therefore I have two questions:

1. how can I turn this behaviour off? 

2. is it reasonable to habe that kind of behaviour as a default? Is
   there anybody who would want that?


cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
Johnny yggdra...@gmx.co.uk writes:

 Thorsten quintf...@googlemail.com writes:

 I successfully installed bbdb 3 for the use with gnus. But the default
 behaviour might almost be considered a bug - the whole workflow in gnus
 is destroyed by bbdb constantly asking if I want to add some post or
 email author to the database. I almost never want to do that. 

 Therefore I have two questions:

 1. how can I turn this behaviour off? 

 Does this setting do it?

 ,
 | (setq bbdb-use-pop-up nil)
 `

no, unfortunately not. I restarted emacs and gnus, but still - to be
able to follow up to you post I had to tell bbdb several times that I
don't want you in my database (nothing personnal ;)


 2. is it reasonable to habe that kind of behaviour as a default? Is
there anybody who would want that?


 Agree.

 Regards

cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
Carson Chittom car...@wistly.net writes:

 Thorsten quintf...@googlemail.com writes:

 I successfully installed bbdb 3 for the use with gnus. But the default
 behaviour might almost be considered a bug - the whole workflow in gnus
 is destroyed by bbdb constantly asking if I want to add some post or
 email author to the database. I almost never want to do that. 

 My understanding is that this is BBDB working as intended.  It is, after
 all, the Big Brother Database.  You have a file on *everybody*.

Thanks for yours and for Johnny's replies - but why should I want you in
my bbdb? I only want to read your posts here on the mailing list, there
is not reason whatsoever to save personnal contact data. 

What if I want to scroll through the R list to learn some statistical
tricks - am I supposed to put all the members of that list into my bbdb.
Does anybody actually use bbdb this way in gnus? Very hard to imagine
for me. 

cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
Carson Chittom car...@wistly.net writes:

 Thorsten quintf...@googlemail.com writes:

 Thanks for yours and for Johnny's replies - but why should I want you in
 my bbdb? I only want to read your posts here on the mailing list, there
 is not reason whatsoever to save personnal contact data. 

 There's no reason to save it, but there's no reason not to save it
 either (other than disk space, I guess, though a text file database
 would have to work hard to fill a modern drive).  Think of it as the
 Google approach:  aggregate everything, then when you need something,
 search for it.  That's the way I use BBDB, anyway.

I think the new bbdb looks very promising, and I would like to use it. I
respect that you and maybe others want to take the Google approach and
aggregate everything. 

But I'm already quite annoyed about this default behaviour after a few
hours of use, and would like to change it as fast as possible.
Any other tips, how to disable bbdb constant asking 'do you want to add
xyz to the database' while scrolling around in gnus?

Help would be highly appreciated
cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
Charles Philip Chan cpc...@bell.net writes:

 Carson Chittom car...@wistly.net writes:

   If the variable bbdb/mail-auto-create-p is set to the symbol
   bbdb-ignore-most-messages-hook, then the variable
   bbdb-ignore-most-messages-alist will determine which messages
   should  have records automatically created for them. The
   format of this alist is

 This is for MH, RMAIL and VM. For Gnus the variable is
 bbdb/news-auto-create-p

I don't find that variable (bbdb 3)

 ,
 | *If this is t, then Gnus will automatically create new bbdb
 | records for people you receive mail from.  If this is a function name
 | or lambda, then it is called with no arguments to decide whether an
 | entry should be automatically created.  You can use this to, for
 | example, create or not create messages which have a particular
 | subject.  If you want to autocreate messages based on the current
 | newsgroup, it's probably a better idea to set this variable to t or
 | nil from your `gnus-select-group-hook' instead.
 `

 I also don't know if this applies to bbdb 3.

 Charles

I think I found the culprit. I'll give it a try and let you know.

,-
| bbdb/gnus-update-records-p is a variable defined in `bbdb-gnus.el'. 
| Its value is
| (lambda nil 
| (let
| ((bbdb-update-records-p 'query))
| (bbdb-select-message))) 
| 
| 
| Documentation:  
| How `bbdb-mua-update-records' processes mail addresses in Gnus. 
| Allowed values are: 
| nil  Do nothing.
| search   Search for existing records.   
| queryUpdate existing records or query for creating new ones.
| create or t  Update existing records or create new ones.
| A function which returns one of the above values.   
| 
| You can customize this variable.
`-

Thanks for your help. 

-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: stop bbdb from asking questions in gnus

2011-11-10 Thread Thorsten
Thorsten quintf...@googlemail.com writes:

 Charles Philip Chan cpc...@bell.net writes:

 Carson Chittom car...@wistly.net writes:

   If the variable bbdb/mail-auto-create-p is set to the symbol
   bbdb-ignore-most-messages-hook, then the variable
   bbdb-ignore-most-messages-alist will determine which messages
   should  have records automatically created for them. The
   format of this alist is

 This is for MH, RMAIL and VM. For Gnus the variable is
 bbdb/news-auto-create-p

 I don't find that variable (bbdb 3)

 ,
 | *If this is t, then Gnus will automatically create new bbdb
 | records for people you receive mail from.  If this is a function name
 | or lambda, then it is called with no arguments to decide whether an
 | entry should be automatically created.  You can use this to, for
 | example, create or not create messages which have a particular
 | subject.  If you want to autocreate messages based on the current
 | newsgroup, it's probably a better idea to set this variable to t or
 | nil from your `gnus-select-group-hook' instead.
 `

 I also don't know if this applies to bbdb 3.

 Charles

 I think I found the culprit. I'll give it a try and let you know.

 ,-
 | bbdb/gnus-update-records-p is a variable defined in `bbdb-gnus.el'. 
 | Its value is
 | (lambda nil 
 | (let
 | ((bbdb-update-records-p 'query))
 | (bbdb-select-message))) 
 | 
 | 
 | Documentation:  
 | How `bbdb-mua-update-records' processes mail addresses in Gnus. 
 | Allowed values are: 
 | nil  Do nothing.
 | search   Search for existing records.   
 | queryUpdate existing records or query for creating new ones.
 | create or t  Update existing records or create new ones.
 | A function which returns one of the above values.   
 | 
 | You can customize this variable.
 `-

Problem solved, now I can use gnus without any (unwanted) interference
from bbdb again. Only have to find out, how the wanted interference
works. 

Cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Locally install git version of bbdb 3

2011-11-09 Thread Thorsten

Hi List,
maybe a silly question:
I cloned the git-version of bbdb 3 into

,-
| ~/.emacs.d/sitelisp/
`-

and I'm quite happy to keep everything in this place (since its a
dropbox folder, referenced from other machines too). The folder is on
the load-path already.  

Therefore I don't want to run the makefile that will install bbdb
somewhere else. Isn't it just sufficient to just byte-compile all the
.el files in the lisp folders and put a few lines (which ones?) in my
.emacs, or are there more and other things going on under the hood when
I run the makefile?

Thanks for any hints
cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/


Re: Locally install git version of bbdb 3

2011-11-09 Thread Thorsten
Carson Chittom carson.chit...@mspb.ms.gov writes:

 Running make bbdb byte-compiles the .el files and generates
 bbdb-autoloads.el; running it in place works just fine.  (If you're using
 VM, you'll also need to run make vm.)  As to making it work, based on
 an earlier thread on this list, I have the following in ~/.emacs (I use
 Gnus, as will be obvious):

 (require 'bbdb)
 (require 'bbdb-autoloads)
 (bbdb-initialize 'gnus 'message)
 (bbdb-mua-auto-update-init 'gnus 'message)

 I don't know whether all that is strictly necessary, but it works for me.

Thanks, that was really easy, the installations tutorials available are a bit
intimidating sometimes. Now, things seem to work. I'm a gnus user too,
so your .emacs line work fine for me.

cheers
-- 
Thorsten


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
bbdb-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bbdb-info
BBDB Home Page: http://bbdb.sourceforge.net/