VM

vm-summary-faces-mode doesn't autoload

Bug #530210 reported by Uday Reddy
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Invalid
Low
Ulrich Müller

Bug Description

The autoload for vm-summary-faces-mode isn't working for some reason. This is version 706 in the trunk. But other versions have also given this problem.

Debugger entered--Lisp error: (error "Autoloading failed to define function vm-summary-faces-mode")
  (vm-summary-faces-mode 1)
  eval((vm-summary-faces-mode 1))
  eval-last-sexp-1(t)
  eval-last-sexp(t)
  eval-print-last-sexp()
  call-interactively(eval-print-last-sexp)

Tags: add-ons
Uday Reddy (reddyuday)
Changed in vm:
status: New → Confirmed
importance: Undecided → Low
milestone: none → 8.1.0
tags: added: add-ons
Revision history for this message
Uday Reddy (reddyuday) wrote : Re: [Bug 530210] [NEW] vm-summary-faces-mode doesn't autoload

It looks like something goes wrong in the compilation of this file.
The .el file loads and works ok. Loading the .elc file gives the
error.

Uday Reddy (reddyuday)
Changed in vm:
assignee: nobody → Ulrich Müller (ulm)
Revision history for this message
Uday Reddy (reddyuday) wrote :

This is working ok on my home PC, but not on my work PC. I am not able to tell what the difference between them is. I will upload both the .elc files to see if you can figure out what might be happening.

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

Here is the Work PC version of the .elc file.

Revision history for this message
Ulrich Müller (ulm) wrote :

The "work pc" version contains calls to "vm-select-folder-buffer". However, this is defined with defsubst and should be expanded (and it is in the "home pc" version).

I've no idea why it works in one case but not in the other, but can you try if adding "(require 'vm-macro)" (as in attached patch) fixes it?

Ulrich

Revision history for this message
Uday Reddy (reddyuday) wrote : [Vm] [Bug 530210] Re: vm-summary-faces-mode doesn't autoload

Hi Ulrich,

> The "work pc" version contains calls to "vm-select-folder-buffer".
> However, this is defined with defsubst and should be expanded (and it is
> in the "home pc" version).

I don't know how you found this out. Good work!

But, unfortunately, I still get the same error message that
autoloading failed to define the function. I am going to try a few
more things to see what is going on.

Cheers,
Uday

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

Ok, I figured it out. I had another defunct version of
vm-summary-faces on my load-path. Silly me!

I will mark the bug report as invalid.

Thanks for all your help. I guess we at least found one real bug in
the process!

Cheers,
Uday

Changed in vm:
status: Confirmed → Invalid
milestone: 8.1.0 → none
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.