Re: Address completion question
Alan Schmitt alan.schm...@polytechnique.org writes: Hello, When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window This sounds like a bug I ran into that was fixed a while ago. Make sure you are on the current bbdb head version. -- -- Stephe -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Stephen Leake stephen_le...@stephe-leake.org writes: Alan Schmitt alan.schm...@polytechnique.org writes: Hello, When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window This sounds like a bug I ran into that was fixed a while ago. Make sure you are on the current bbdb head version. Thank you for the suggestion. I upgraded to head and I don't have the window error anymore. Now completion does nothing (just shows the possibilities when there is more than one) when I try it. Alan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Roland Winkler wink...@gnu.org writes: When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window where ... is a number, and the window is closed. The only time I can complete an address is when there is a single match. What is tab bound to for you? tab is bound to message-tab. M-tab is bound to bbdb-complete-mail. I tried using both tab and M-tab and get the same results. By default bbdb-complete-mail gets bound to M-tab. Can you send a backtrace of when things go wrong (plus a description of what you did to get it)? Things don't really go wrong anymore (I don't have an error when upgrading to the head of the git repository). Unfortunately it does not work as I would like it to. Here is an example: I have two different people in bbdb whose first name is Martin. In the To field of a mail (this one, for instance), I type mart then M-tab. I see a *Completions* buffer open, telling me the two possible completions. If I type M-tab again, nothing happens. I see a quick message in the mini-buffer telling me it's doing the completion list, so I suspect it's recreating the buffer instead of cycling through the different completions as I would like it to. I'm a bit of an emacs novice, so I'd need more information about how to provide a backtrace. I have (setq bbdb-complete-mail-allow-cycling t) in my configuration. That should not be relevant here. I thought it would. The documentation says If non-nil cycle mail addresses when calling `bbdb-complete-mail'. which is exactly what I want: cycle through the possible completions when completing mails. Am I reading the documentation wrong? Thanks, Alan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Alan Schmitt alan.schm...@polytechnique.org writes: Here is an example: I have two different people in bbdb whose first name is Martin. In the To field of a mail (this one, for instance), I type mart then M-tab. I see a *Completions* buffer open, telling me the two possible completions. If I type M-tab again, nothing happens. I see a quick message in the mini-buffer telling me it's doing the completion list, so I suspect it's recreating the buffer instead of cycling through the different completions as I would like it to. Right. cycling displays the multiple email addresses for one record, once the record has been selected. I thought it would. The documentation says If non-nil cycle mail addresses when calling `bbdb-complete-mail'. which is exactly what I want: cycle through the possible completions when completing mails. Am I reading the documentation wrong? Note that the doc says addresses, while you said completions; that is crucial. I agree it would be nice if it also cycled thru multiple matching records. -- -- Stephe -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
On Sun Oct 14 2012 Alan Schmitt wrote: Now completion does nothing (just shows the possibilities when there is more than one) when I try it. What are you trying to do / expecting to get when BBDB opens a window with possible completions? For me, the completions buffer says at the top the usual two lines of any completions buffer Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. When I follow this recipe I get what I want (and what was promised). What do you get? -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
On Sun Oct 14 2012 Stephen Leake wrote: I thought it would. The documentation says If non-nil cycle mail addresses when calling `bbdb-complete-mail'. which is exactly what I want: cycle through the possible completions when completing mails. Am I reading the documentation wrong? Note that the doc says addresses, while you said completions; that is crucial. I agree it would be nice if it also cycled thru multiple matching records. I'd find this rather orthogonal to what Emacs normally does when opening a completions buffer. Of course, you could suggest on the emacs-devel mailing list that for ANY Emacs completions buffer one should be able to cycle through the listed completions. I doubt that this would be an efficient scheme. Note also that BBDB's cycling is different in the sense that it does not pop up a window with the list of elements it will cycle through. All in all, I find bbdb-complete-mail's behavior already sufficiently different from how Emacs normally performs completions so that I would not want to further deviate from the default behavior. Roland -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Stephen Leake stephen_le...@stephe-leake.org writes: I thought it would. The documentation says If non-nil cycle mail addresses when calling `bbdb-complete-mail'. which is exactly what I want: cycle through the possible completions when completing mails. Am I reading the documentation wrong? Note that the doc says addresses, while you said completions; that is crucial. I agree it would be nice if it also cycled thru multiple matching records. I see, thanks for the explanation. Alan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Roland Winkler wink...@gnu.org writes: On Sun Oct 14 2012 Alan Schmitt wrote: Now completion does nothing (just shows the possibilities when there is more than one) when I try it. What are you trying to do / expecting to get when BBDB opens a window with possible completions? Something like in zsh (and maybe bash): first time display the list of possible completions, then upon successive tab cycle through the completions. For instance, here is when I'm in the bbdb folder in zsh in a terminal: ~/src/bbdb(master ✔) I hit cd tab, I get ~/src/bbdb(master ✔) cd autom4te.cache/ doc/ lisp/tex/ I hit tab again, I get ~/src/bbdb(master ✔) cd autom4te.cache/ autom4te.cache/ doc/ lisp/tex/ I hit tab again, I get ~/src/bbdb(master ✔) cd doc/ autom4te.cache/ doc/ lisp/tex/ For me, the completions buffer says at the top the usual two lines of any completions buffer Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. When I follow this recipe I get what I want (and what was promised). What do you get? Yes, this works. I'm trying to choose a completion without using the mouse nor moving the point to the window. As I said earlier, I'm a bit of an emacs novice, so I did not know this was an emacs-provided feature. Alan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
On Sun Oct 14 2012 Alan Schmitt wrote: For me, the completions buffer says at the top the usual two lines of any completions buffer Click mouse-2 on a completion to select it. In this buffer, type RET to select the completion near point. When I follow this recipe I get what I want (and what was promised). What do you get? Yes, this works. Here BBDB much relies on standard emacs code (and standard behavior) for handling a list of possible completions. I'm trying to choose a completion without using the mouse nor moving the point to the window. I never thought about what you are suggesting. Maybe it is generally useful. You can always submit a feature request for such a thing (using M-x report-emacs-bug). Roland -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
On Sat Oct 13 2012 Alan Schmitt wrote: When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window where ... is a number, and the window is closed. The only time I can complete an address is when there is a single match. I have (setq bbdb-complete-mail-allow-cycling t) in my configuration. Am I doing something wrong or is this a bug? Which version of emacs are you using? bbdb-complete-mail uses some code for popping up a completion window that only works with GNU Emacs 24. I want to replace it with something that works also with GNU Emacs 23. But this is still on my to-do list. Roland -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
Roland Winkler wink...@gnu.org writes: Which version of emacs are you using? bbdb-complete-mail uses some code for popping up a completion window that only works with GNU Emacs 24. I want to replace it with something that works also with GNU Emacs 23. But this is still on my to-do list. I'm on 24.2 (homebrew compiled, os x). Alan -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/
Re: Address completion question
On Sat Oct 13 2012 Alan Schmitt wrote: Roland Winkler wink...@gnu.org writes: Which version of emacs are you using? bbdb-complete-mail uses some code for popping up a completion window that only works with GNU Emacs 24. I want to replace it with something that works also with GNU Emacs 23. But this is still on my to-do list. I'm on 24.2 (homebrew compiled, os x). Then I am not sure what your problem is. I do not have 24.2. But both 24.1 and the trunk work fine for me. When I try to complete and address and several match, after tab I get a window with all the possible matches. If I hit tab again I get the following message #window ... is not a live window where ... is a number, and the window is closed. The only time I can complete an address is when there is a single match. What is tab bound to for you? By default bbdb-complete-mail gets bound to M-tab. Can you send a backtrace of when things go wrong (plus a description of what you did to get it)? I have (setq bbdb-complete-mail-allow-cycling t) in my configuration. That should not be relevant here. Roland -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ bbdb-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bbdb-info BBDB Home Page: http://bbdb.sourceforge.net/