VM

defvaralias isn't defined in emacs 21

Bug #709070 reported by Göran Uddeborg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Released
Medium
Uday Reddy

Bug Description

Trying to use the combination emacs 21 and vm trunk fails on startup with the error message that "devfaralias" isn't defined. According to the NEWS files, it was introduced in 22.1.

Tags: emacsen maint

Related branches

Revision history for this message
Uday Reddy (reddyuday) wrote :

Fixed in revision 1022.

Changed in vm:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Uday Reddy (reddyuday)
milestone: none → 8.2.0b
status: Triaged → Fix Committed
Revision history for this message
Göran Uddeborg (goeran-uddeborg) wrote :

The fix doesn't quite work. The defvaralias function is used before it is defined. Below is a stack trace from starting emacs (with --debug-init)

Debugger entered--Lisp error: (void-function defvaralias)
  (defvaralias (quote vm-mime-savable-types) (quote vm-mime-saveable-types))
  require(vm-vars)
  byte-code(…)
  load("vm-autoloads")
  eval-buffer(#<buffer *load*<2>> nil "/users/uddeborg/vm-trunk/vm-load.el" nil t)
  load-with-code-conversion("/users/uddeborg/vm-trunk/vm-load.el" "/users/uddeborg/vm-trunk/vm-load.el" nil nil)
  load("/users/uddeborg/vm-trunk/vm-load.el")
  eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
  load-with-code-conversion("/users/uddeborg/.emacs" "~/.emacs" t t)
  load("~/.emacs" t t)
  #[nil …]()
  command-line()
  normal-top-level()

Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → In Progress
Revision history for this message
Uday Reddy (reddyuday) wrote :

Added another fix in revision 1035. The macro was getting loaded a bit late in the game.

Changed in vm:
status: In Progress → Fix Committed
Revision history for this message
Göran Uddeborg (goeran-uddeborg) wrote :

Right! Using revision 1035 seems to work.

Uday Reddy (reddyuday)
tags: added: emacsen maint
Uday Reddy (reddyuday)
Changed in vm:
status: Fix Committed → Fix Released
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.