GNU bug report logs - #2293
23.0.90; lazy-completion-table broken for bibtex-mode

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>

Date: Wed, 11 Feb 2009 21:25:04 UTC

Severity: normal

Done: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 2293 in the body.
You can then email your comments to 2293 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2293; Package emacs. (Wed, 11 Feb 2009 21:25:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Wed, 11 Feb 2009 21:25:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: emacs-pretest-bug <at> gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: 23.0.90; lazy-completion-table broken for bibtex-mode
Date: Wed, 11 Feb 2009 22:16:10 +0100
lazy-completion-table seems to be broken for bibtex-mode.
bibtex-reference-keys is initialized via lazy-completion-table.
Yet when I use minibuffer completion for bibtex-search-entry
(which is using bibtex-reference-keys for completion) it gives me
the error message

completion--some: Symbol's value as variable is void: lambda

The usage of lazy-completion-table by bibtex-mode did not change
since emacs 22 where minibuffer completion has been working fine.
Yet the internals of lazy-completion-tables have changed since then.
Is there anything bibtex-mode needs to do different now?

In GNU Emacs 23.0.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.12.9)
 of 2009-02-07 on lukas




Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#2293; Package emacs. (Thu, 12 Feb 2009 07:05:04 GMT) Full text and rfc822 format available.

Message #8 received at 2293 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Roland Winkler <Roland.Winkler <at> physik.uni-erlangen.de>
Cc: 2293 <at> debbugs.gnu.org
Subject: Re: bug#2293: 23.0.90; lazy-completion-table broken for bibtex-mode
Date: Thu, 12 Feb 2009 01:58:04 -0500
"Roland Winkler" wrote:

> bibtex-reference-keys is initialized via lazy-completion-table.
> Yet when I use minibuffer completion for bibtex-search-entry
> (which is using bibtex-reference-keys for completion) it gives me
> the error message
>
> completion--some: Symbol's value as variable is void: lambda

emacs -Q foo.bib
M-x bibtex-search-entry RET TAB
works fine for me.

Suggest maintainer-clean + bootstrap (unless you were talking about
something else).




Reply sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
You have taken responsibility. (Sat, 14 Feb 2009 17:15:03 GMT) Full text and rfc822 format available.

Notification sent to "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>:
bug acknowledged by developer. (Sat, 14 Feb 2009 17:15:04 GMT) Full text and rfc822 format available.

Message #13 received at 2293-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Roland Winkler" <Roland.Winkler <at> physik.uni-erlangen.de>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 2293-done <at> debbugs.gnu.org
Subject: Re: bug#2293: 23.0.90; lazy-completion-table broken for bibtex-mode
Date: Sat, 14 Feb 2009 18:08:04 +0100
On Thu Feb 12 2009 Glenn Morris wrote:
> emacs -Q foo.bib
> M-x bibtex-search-entry RET TAB
> works fine for me.
> 
> Suggest maintainer-clean + bootstrap (unless you were talking about
> something else).

The variables bibtex-reference-keys and bibtex-strings are
initialized by lazy-completion-table. And in several instances,
bibtex-mode was using nlistp to test whether these variables have
their initial values. That was working fine at some point but not
anymore.  lazy-completion-table was already fixed quite some time
ago by Stefan in order not to use listp internally for such a test.
Now I've updated bibtex-mode too, so that it uses functionp.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sun, 15 Mar 2009 14:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 16 years and 105 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.