ports/144774: vm does not set up autoloads properly

Markus Hoenicka markus.hoenicka at mhoenicka.de
Mon Mar 15 23:00:18 UTC 2010


>Number:         144774
>Category:       ports
>Synopsis:       vm does not set up autoloads properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 15 23:00:11 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Markus Hoenicka
>Release:        8.0-STABLE
>Organization:
>Environment:
FreeBSD wutz.mininet 8.0-STABLE FreeBSD 8.0-STABLE #1: Fri Feb 12 23:46:41 CET 2010     root at wutz.mininet:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Reading mail in Emacs (emacs-23.1_3,1) using vm (vm-emacs23-8.0.14_1) fails with an error message claiming that a symbol's function definition is void (vm-pop-move-mail). If you manually load this function from the vm sources, vm will complain about the next missing function definition, and so on ad infinitum. Turns out that none of the autoloads in vm-autoloads.el are loaded at startup.
>How-To-Repeat:
Assuming that you have set up vm properly, e.g. using a previous version of vm:
start emacs
M-x vm
g

(g is supposed to fetch mail from the pop server, which triggers the "vm-pop-move-mail is missing" error message)
>Fix:
Add the following line to your ~/.vm, or to any other file which is processed at startup:

(load-file "/usr/local/share/emacs/23.1/site-lisp/vm/vm-autoloads.el")

I reckon that this line should be added to site-start.el when the port is installed. It may also be some upstream bug which prevents vm-autoloads.el from being loaded.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list