Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Peter Münster
On Sun, Apr 26 2015, Roland Winkler wrote: > [...] > But bbdb-completing-read-mails does not use something like > REQUIRE-MATCH. Thanks for your explanation, Roland. Now I understand. In my situation, it doesn't matter, because I know, that an email-address is required in the end, so I would alwa

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sun Apr 26 2015 Peter Münster wrote: > On Sun, Apr 26 2015, Roland Winkler wrote: > > > Still I believe that partially completed email addresses are not very > > meaningful return values in such a context. > > Sorry, I don't understand... Why "partially"? After completion, gnus > gets the ri

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Peter Münster
On Sun, Apr 26 2015, Roland Winkler wrote: > Still I believe that partially completed email addresses are not very > meaningful return values in such a context. Sorry, I don't understand... Why "partially"? After completion, gnus gets the right address. -- Peter -

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sun Apr 26 2015 Peter Münster wrote: > gnus-summary-resend-message asks in the minibuffer for the destination > address, and that's the place, where I want to use the bbdb-tab-completion. > With your hack, it works just fine, no need to fix anything. I am glad you are satisfied. Still I believ

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Peter Münster
On Sun, Apr 26 2015, Roland Winkler wrote: > I am sorry, the code is broken. A bad hack to make it work > *somehow* is to use a prompt for bbdb-completing-read-mails that > looks like a mail header, for example > > (bbdb-completing-read-mails "Resend-message(s)-to: ") This is not a *bad* hack,

Re: bbdb-completing-read-mails and tab-completion

2015-04-26 Thread Roland Winkler
On Sat Apr 25 2015 Peter Münster wrote: > When using bbdb-completing-read-mails like this: > > --8<---cut here---start->8--- > (defadvice gnus-summary-resend-message (before pm/resend-with-bbdb act) > "Resend message with bbdb address completion." > (interac