>>>> "Dres" == James LewisMoss
<jimdres(a)mindspring.com> writes:
Dres> Bug report from debian user. Is there a missing autoload?
Possibly. I think there is no function to autoload, what is needed is
the following code from vm-startup.el:
(if (fboundp 'define-mail-user-agent)
(define-mail-user-agent 'vm-user-agent
(function vm-compose-mail) ; compose function
(function vm-send-mail-and-exit) ; send function
nil ; abort function (kill-buffer)
nil) ; hook variable (mail-send-hook)
)
It would be useful if the user added that to his init file and
confirmed that it solves his problem of using vm-user-agent at
startup.
I'm pretty sure the auto-autoloads mechanism can handle getting that
code loaded automatically at startup, but I don't have the details off
hand. In particular, we probably want it to preserve any user hacks
to vm-user-agent, so it should check for an existing definition of
vm-user-agent before doing define-mail-user-agent.
Steve Y? Simon? If this works correctly, would it be a good idea to
move the other define-mail-user-agent calls out of simple.el and into
their respective packages? Does That Other Emacs have an
auto-autoloads mechanism for this?
--
University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences Tel/fax: +81 (298) 53-5091
_________________ _________________ _________________ _________________
What are those straight lines for? "XEmacs rules."