VM

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

Bug #505122 reported by Uday Reddy
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
In Progress
Wishlist
Uday Reddy

Bug Description

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

Revision history for this message
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
Revision history for this message
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
Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.