Article View: gnu.emacs.vm.bug
Article #779Re: vm-user-agent
From: Kyle Jones
Date: Thu, 08 May 2003 18:20
Date: Thu, 08 May 2003 18:20
22 lines
1919 bytes
1919 bytes
Glenn Morris <gmorris+news@ast.cam.ac.uk> wrote: > In vm-startup.el (7.15), vm-user-agent is defined to have SENDFUNC > vm-send-mail-and-exit, a non-existent function. I guess this feature hasn't gotten much use. Fixed in VM 7.16. > vm-mail-send-and-exit does exist, but I experience a problem trying to > use it as SENDFUNC because it expects one argument. Is that the right > behaviour for a SENDFUNC function, or should the argument be optional? > I ask because otherwise diary-mail-entries (for example) throws an > error when it gets to the line: > > (funcall (get mail-user-agent 'sendfunc)) > > (diary-mail-entries is defined in calendar/diary-lib.el in GNU Emacs). > > All the other possible values of SENDFUNC that I look at seem to take > one optional argument. The docs don't say whether the function accepts args or not. SENDFUNC is supposed to be a command, so a caller should invoke it using call-interactively.
Technical Details
Message-ID:
<b9e74l$bru$1@carbon.wonderworks.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!gohan12.FreeBSD.org!not-for-mailReferences:
<tmbryd4js0.fsf@xpc14.ast.cam.ac.uk>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,ea05e7371141abb3
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 2003-05-08 11:20:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-post-02!sn-post-01!supernews.com!corp.supernews.com!gohan12.FreeBSD.org!not-for-mail
From: kyle_jones@wonderworks.com (Kyle Jones)
Newsgroups: gnu.emacs.vm.bug
Subject: Re: vm-user-agent
Date: Thu, 8 May 2003 18:20:05 +0000 (UTC)
Organization: Unknown
Message-ID: <b9e74l$bru$1@carbon.wonderworks.com>
Sender: kyle@carbon.wonderworks.com
References: <tmbryd4js0.fsf@xpc14.ast.cam.ac.uk>
X-Face: /cA45WHG7jWq>(O3&Z57Y<"WsX5ddc,4c#w0F*zrV#=M
0@~@,s;b,aMtR5Sqs"+nU.z^CSFQ9t`z2>W,S,]:[+2^
Nbf6v4g>!&,7R4Ot4Wg{&tm=WX7P["9%a)_da48-^tGy
,qz]Z,Zz\{E.,]'EO+F)@$KtF&V
X-Complaints-To: abuse@supernews.com
Lines: 23