defconst's - symbol's function definition is void: nil

Bug #505122 reported by Uday Reddy on 2010-01-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Uday Reddy

Bug Description

This error message arises occasionally. debug-on-error as well as debug-on-quit don't catch it.

Uday Reddy (reddyuday) wrote :

The problem has been traced to vm-summary-faces-add, which calls vm-vs-or for some reason. vm-vs-or looks up all the selectors used in vm-summary-faces-alist from vm-virtual-selector-function-alist. If a selector is not present in this alist, then a nil function is returned, which is causing the error.

Changed in vm:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.1.0
Uday Reddy (reddyuday) wrote :

The problem seems to arise if vm-avirtual.el is loaded at a wrong time. This file extends vm-virtual-selector-function-alist at load time! So, if the variable happens to redefined later, the extensions are lost.

Changed in vm:
importance: High → Low
milestone: 8.1.0 → none
status: Triaged → In Progress
Uday Reddy (reddyuday) wrote :

The problem turns out to be the fact that vm-vars.el has defconst's, which redefine the values that might be defined previously. So, if any of these defconst's are loaded in the middle of a VM session then all the changes that might have been made by addon libraries are liable to be lost.

If the addons are moved to the contrib directory, this will at least make it clear that addons have to be treated specially.

Changed in vm:
importance: Low → Wishlist
Uday Reddy (reddyuday) on 2010-02-24
summary: - Symbol's function definition is void: nil
+ defconst's - symbol's function definition is void: nil
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers