BBDBv3 bug report: Running ./configure ignores --prefix for tex files
Hi BBDB'ers, Sorry if this isn't the right place to send a BBDBv3 bug report. I couldn't find the command "bbdb-submit-bug-report" in BBDBv3. Thanks for your work by the way, I love BBDB! :) When install BBDBv3, I ran `./configure --prefix=/home/ben/local` wanting everything to be installed in under this directory (based on my reading of `./configure --help`). The output belows shows that .tex files default to being installed in /usr/local/share/texmf/bbdb regardless of the --prefix setting. Would it be appropriate for these files to go into PREFIX/share/texmf/bbdb by default? This appears to be because if --with-texmf-dir isn't specified, configure runs `kpsexpand \$TEXMFLOCAL` to get the default directory, which for me returns "/usr/local/share/texmf". Regards, Ben ~/tmp$ git clone git://git.savannah.nongnu.org/bbdb.git ~/tmp$ cd bbdb ~/tmp/bbdb$ autoconf ~/tmp/bbdb$ ./configure --prefix=/home/ben/local/ checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for grep... /bin/grep checking for rm... /bin/rm checking for gtar... no checking for tar... tar checking that tar is GNU tar... yes checking for gzip... gzip checking for makeinfo... makeinfo checking for texi2dvi... texi2dvi checking for texi2pdf... texi2pdf checking for dvips... dvips checking for etags... etags checking for emacs... emacs checking where .elc files should go... /home/ben/local/share/emacs/site-lisp/bbdb checking for kpsexpand... kpsexpand checking where .tex files should go... /usr/local/share/texmf/bbdb configure: creating ./config.status config.status: creating Makefile config.status: creating lisp/Makefile config.status: creating doc/Makefile config.status: creating tex/Makefile signature.asc Description: OpenPGP digital signature -- 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: BBDB failed to handle what it considers duplicates
On Sat Oct 13 2012 Roland Winkler wrote: > See bbdb-allow-duplicates. > [snip] > > Also, the docstring of this variable expresses the fact... > ...that so far in BBDB's history nobody considered the case of > records with duplicate names important enough to extend the code of > bbdb-complete-mail to handle such records properly. I never checked that till I tried it a minute ago. Could it be that the docstring of bbdb-allow-duplicates is outdated in the sense that BBDB v3's bbdb-complete-mail (and other parts of the code) handles such duplicate records fine so that bbdb-allow-duplicates need not warn the user anymore about "confusion when doing completion"? I don't have any real-world scenarios to test here. Do you get what you expect to get when bbdb-allow-duplicates is t and you have multiple records with the same name? Thanks, 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 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 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
"Roland Winkler" 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 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
Stephen Leake 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
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
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 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: BBDB failed to handle what it considers duplicates
On Sun Oct 14 2012 Leo wrote: > Sure. So bbdb-no-duplicates was renamed to bbdb-allow-duplicates while > keeping the same value which amounts to disallow duplicates by default > and that is exactly what caused me all the trouble. The annoying thing was that I kept both the default value and the docstring, that is, the docstring did not match what the variable name suggested and the old default did not match what the docstring recommended. This previous situation was very confusing. > In my view, bbdb-no-duplicates defaults to nil says a lot about people > caring duplicates. I am sorry, I am confused. What do you want to say here? -- 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 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
"Roland Winkler" 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 >> >> # 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
Stephen Leake writes: > Alan Schmitt 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 >> >> # 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
Alan Schmitt 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 > > # 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/