Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2010 22:54:21 GMT
From:      Markus Hoenicka <markus.hoenicka@mhoenicka.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/144774: vm does not set up autoloads properly
Message-ID:  <201003152254.o2FMsLHl079626@www.freebsd.org>
Resent-Message-ID: <201003152300.o2FN0BtX038566@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003152254.o2FMsLHl079626>