Re: function to add new records from email message
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. Hello, Finally I understand: `bbdb-mua-display-*' does not only *display* records, but can also update them, depending on `bbdb-mua-update-interactive-p'. I've replaced `bbdb-mua-edit-notes-*' by `bbdb-mua-display-records' and everything is fine now! 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? Since I have still used the bbdb-mua-edit-notes-* functions, at every new record bbdb asked for notes. But with the display function, this is solved. Thanks! -- Peter -- Get your Android app more play: Bring it to the BlackBerry PlayBook in minutes. BlackBerry App World#153; now supports Android#153; Apps for the BlackBerryreg; PlayBook#153;. Discover just how easy and simple it is! http://p.sf.net/sfu/android-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
On Fri Aug 12 2011 Eric Abrahamsen wrote: I'm using git versions of gnus and bbdb, and something somewhere loves to put a - in the minibuffer when I hit ; for bbdb-mua-edit-notes-sender and a few other actions, I can't quite see a pattern. I don't know who to blame for this -, but it overrides whatever other helpful hints the minibuffer should have been showing me, and in general makes it very difficult to get things done. Has anyone else seen this? What on earth is it doing? Looks like you have (setq bbdb-electric t) which you might want to replace by (setq bbdb-electric nil) I am not using the electric mode either. (This was something from bbdb v2.) I believe it's intended for situations when you want to use bbdb temporarily for picking an address or things like that. Maybe someone else knows better about the purpose of 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
On Fri, Aug 12 2011, Roland Winkler wrote: On Fri Aug 12 2011 Eric Abrahamsen wrote: I'm using git versions of gnus and bbdb, and something somewhere loves to put a - in the minibuffer when I hit ; for bbdb-mua-edit-notes-sender and a few other actions, I can't quite see a pattern. I don't know who to blame for this -, but it overrides whatever other helpful hints the minibuffer should have been showing me, and in general makes it very difficult to get things done. Has anyone else seen this? What on earth is it doing? Looks like you have (setq bbdb-electric t) which you might want to replace by (setq bbdb-electric nil) Much better, thanks! -- FREE DOWNLOAD - uberSVN with Social Coding for Subversion. Subversion made easy with a complete admin console. Easy to use, easy to manage, easy to install, easy to extend. Get a Free download of the new open ALM Subversion platform now. 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
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/
Re: function to add new records from email message
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
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
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
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
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/
Re: function to add new records from email message
(local-set-key : '(lambda () (interactive) [...] bbdb/gnus-update-records-p'(lambda () Hmm... running for The Useless Use of Quote Award? Stefan -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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
On Sun, Aug 07 2011, Stefan Monnier wrote: (local-set-key : '(lambda () (interactive) [...] bbdb/gnus-update-records-p'(lambda () Hmm... running for The Useless Use of Quote Award? Yes! ;) Thanks for the hint! I've just removed about a dozen quotes from my .emacs file. I still need to learn a lot about lisp... -- Peter -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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
On Sat, Jul 30 2011, Roland Winkler wrote: On Fri Jul 29 2011 Peter Münster wrote: There is (bbdb-mua-edit-notes-recipients), but: - it only takes the recipients and not the sender What about bbdb-mua-edit-notes-sender? 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 don't know which MUA you use (Gnus, VM, MH-E, Rmail, ...) Gnus (as mentioned in my previous message). - it asks for notes (I don't want to add notes) Try bbdb-mua-display-sender This function does nothing, if the record does not yet exist. But it's not a big issue, I just have to press Return for each new record. There are more things you can customize. These variables are listed in bbdb.el. Thanks for your hints! Now I have a quite well working bbdb-setup for the beginning: --8---cut here---start-8--- (bbdb-initialize 'gnus 'message) (setq bbdb-accept-name-mismatch t bbdb-completion-display-recordnil bbdb-message-all-addressest bbdb/gnus-update-records-p'(lambda () (let ((bbdb-update-records-p 'create)) (bbdb-select-message --8---cut here---end---8--- -- Peter -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
function to add new records from email message
Hello, I'm looking for a function, that takes a message (from the message buffer or the gnus summary buffer), scans all email addresses in the header and adds new records to the bbdb for not yet existing email addresses. Is there already such a function? If yes, what's its name? If no, will there be such a function soon? There is (bbdb-mua-edit-notes-recipients), but: - it only takes the recipients and not the sender - it only takes the first recipient and not the others - it asks if I want to add it (I don't want interaction) - it asks for notes (I don't want to add notes) I'm using the latest bbdb with the latest emacs and gnus. TIA for any hints, and thanks for the bbdb package! -- Peter -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ 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
On Fri Jul 29 2011 Peter Münster wrote: There is (bbdb-mua-edit-notes-recipients), but: - it only takes the recipients and not the sender What about bbdb-mua-edit-notes-sender? By default, the behavior of these functions is being the least aggressive - it only takes the first recipient and not the others Customize bbdb-message-all-addresses - it asks if I want to add it (I don't want interaction) I don't know which MUA you use (Gnus, VM, MH-E, Rmail, ...) For each MUA there is a variable bbdb/MUA-update-records-p. - it asks for notes (I don't want to add notes) Try bbdb-mua-display-sender There are more things you can customize. These variables are listed in bbdb.el. Roland -- Got Input? Slashdot Needs You. Take our quick survey online. Come on, we don't ask for help often. Plus, you'll get a chance to win $100 to spend on ThinkGeek. http://p.sf.net/sfu/slashdot-survey ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/