From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.help Subject: Re: smtp issues: progress indicator and gracious failure Date: Fri, 20 May 2011 23:08:28 -0700 (PDT) Organization: http://groups.google.com Message-ID: <257bb46f-ff6c-42fb-b8ac-741b2eb01e8f__13521.4298651137$1306269345$gmane$org@x10g2000yqj.googlegroups.com> References: <6e96dd7d-e1b5-4a28-9951-ac5dc73586df@l6g2000vbn.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306269345 22980 80.91.229.12 (24 May 2011 20:35:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:35:45 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:35:41 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOyKK-0006vk-SR for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:35:40 +0200 Original-Received: from localhost ([::1]:44878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOyKK-0001ZC-2T for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:35:40 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!x10g2000yqj.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.vm.info,gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: 188.120.130.36 Original-X-Trace: posting.google.com 1305958108 7789 127.0.0.1 (21 May 2011 06:08:28 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 21 May 2011 06:08:28 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: x10g2000yqj.googlegroups.com; posting-host=188.120.130.36; posting-account=2cK20QoAAADjnST9XNG61hcFIwKD5YpP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_7) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/11.0.696.68 Safari/534.24, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.vm.info:19210 gnu.emacs.help:186879 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81203 Archived-At: On May 20, 3:46=A0pm, Stefan Monnier wrote: > > I use vm with smtpmail to send mail. =A0when on a slow wireless > > connection, sending 20Mb attachments can take over 10 minutes. =A0I am > > wondering if there is a way to get some progress indicator, such as a > > continuously updating "percent uploaded" in the echo area? > > You could try the patch below. > > > also, smtp fails quite often, and then I am left with the outgoing > > mail buffer. > > Do you happen to know why? > > > I can press c-c c-c to try again and that works in most cases, but > > then it adds the message to the outgoing folder again, so I need to > > erase the .FCC line by hand. =A0wouldn't it be good if a failed message > > was automatically put in "outgoing folder" such as a queued- mail > > directory, and then sent at a later time? =A0perhaps when smtpmail is > > called again to send another message? > > That seems to be specific to VM, so I'll let the VM crowd handle it. > > =A0 =A0 =A0 =A0 Stefan > > =3D=3D=3D modified file 'lisp/mail/smtpmail.el' > --- lisp/mail/smtpmail.el =A0 =A0 =A0 2011-02-12 17:51:02 +0000 > +++ lisp/mail/smtpmail.el =A0 =A0 =A0 2011-05-20 12:44:28 +0000 thanks, fantastic! what version of emacs can I apply this patch to? I tried trunk and it failed, although I may have done this incorrectly. cheers, E