Re: stop bbdb from asking questions in gnus
On Thu Nov 10 2011 Thorsten wrote: 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 am sorry for the delayed reply. There is not always as much time for these things as I would like to have. I do not quite understand what you get. That is, it has been my aim to make BBDB by default the least aggressive (though you can customize it in many ways) There are two kind of ways for BBDB 3 to interface with MUAs such as Gnus: - interactive commands They are all controlled by bbdb-mua-update-interactive-p. So by default, unless you call these commands with a prefix arg, these commands should not query anything. - noninteractive functions By default, these functions are never invoked. You need to call first bbdb-mua-auto-update-init (usually in your init file) For these functions, the default has been query, see bbdb-update-records-p. (But I just changed it in my development version to a yet less aggressive search, to be submitted soon.) So unless there is a strange bug, the only way I see to get the behavior you describe, is to call bbdb-mua-auto-update-init, though it seems you do not like the behavior this initiates (indeed, me neither; but BBDB would not be BBDB without the possibility to have such a feature!) Roland PS: Admittedly, various doc strings are not yet fully up to date. I hope that soon I can submit some patches where some of these things should have improved. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ 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
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) –Rasmus -- Sent from my Emacs -- 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
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
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/
Re: stop bbdb from asking questions in gnus
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) ` 2. is it reasonable to habe that kind of behaviour as a default? Is there anybody who would want that? Agree. Regards -- Johnny -- 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
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*. -- http://www.wistly.net -- 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
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
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
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. -- http://www.wistly.net -- 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
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
(setq bbdb-always-add-addresses nil) works in 2.36. Maybe it is still there in 3. -- Dave Goldberg david.goldbe...@verizon.net - Reply message - From: Thorsten quintf...@googlemail.com Date: Thu, Nov 10, 2011 11:14 Subject: stop bbdb from asking questions in gnus To: bbdb-info@lists.sourceforge.net 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/ -- 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
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 , | *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 did this 'cause Linux gives me a woody. It doesn't generate revenue. (Dave '-ddt-` Taylor, announcing DOOM for Linux) pgpMAGerBr8n1.pgp Description: PGP signature -- 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
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
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/
Re: stop bbdb from asking questions in gnus
* Thorsten dhvags...@tbbtyrznvy.pbz [2011-11-10 18:29:45 +0100]: 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) this is a bug in bbdb3. it should be present and marked as obsolete, with a doc pointing to the replacement. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 11.10 (oneiric) X 11.0.11004000 http://dhimmi.com http://palestinefacts.org http://openvotingconsortium.org http://camera.org http://ffii.org http://pmw.org.il http://mideasttruth.com You can have it good, soon or cheap. Pick two... -- 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
Thorsten quintf...@googlemail.com writes: 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. Interesting, I will have to review my BBDB config properly some day, but below is what I have today and I do not get queried about updating records (without setting the above and using BBDB 3.02)? Anyhow, FYI and if it makes sense (doesn't to me though..). , | (require 'bbdb) | (require 'bbdb-autoloads) | (bbdb-initialize 'gnus 'message) | | (add-hook 'gnus-startup-hook 'bbdb-insinuate-gnus 'bbdb-insinuate-message) | | (setq bbdb-north-american-phone-numbers-p nil) | (setq bbdb-check-zip nil) | | (setq bbdb-complete-name-allow-cycling t) | (setq bbdb-complete-mail-allow-cycling t) | | (setq bbdb-use-pop-up nil) | | (setq bbdb-pop-up-window-size 5) ` Best, -- Johnny -- 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
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 -- 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/