Re: function to add new records from email message

2011-10-29 Thread Peter Münster
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)

Re: function to add new records from email message

2011-08-12 Thread Roland Winkler
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

Re: function to add new records from email message

2011-08-12 Thread Eric Abrahamsen
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

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)

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)

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

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

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

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

Re: function to add new records from email message

2011-08-07 Thread Stefan Monnier
(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

Re: function to add new records from email message

2011-08-07 Thread Peter Münster
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

Re: function to add new records from email message

2011-08-06 Thread Peter Münster
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

function to add new records from email message

2011-07-29 Thread Peter Münster
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

Re: function to add new records from email message

2011-07-29 Thread Roland Winkler
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