From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Sebastien Vauban" Newsgroups: gmane.emacs.bugs Subject: Re: bug#13546: 24.2.92; Error(s) when sending emails Date: Fri, 25 Jan 2013 16:32:42 +0100 Organization: Sebastien Vauban Message-ID: <86ham5ffc5.fsf@somewhere.org> References: <86ehh9mx93.fsf@somewhere.org> <86libhfj7x.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1359128107 18311 80.91.229.3 (25 Jan 2013 15:35:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Jan 2013 15:35:07 +0000 (UTC) To: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Jan 25 16:35:27 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TylJO-0006n3-OK for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 16:35:26 +0100 Original-Received: from localhost ([::1]:33901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TylJ7-0002cU-94 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jan 2013 10:35:09 -0500 X-Received: by 10.180.74.79 with SMTP id r15mr1515075wiv.4.1359127979811; Fri, 25 Jan 2013 07:32:59 -0800 (PST) Original-Path: usenet.stanford.edu!19no138908wij.1!news-out.google.com!o9ni19311wio.1!nntp.google.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!195.62.100.242.MISMATCH!newsfeed.kamp.net!newsfeed.kamp.net!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 76 Injection-Info: mx04.eternal-september.org; posting-host="6f05eaee171434c896d44feeaf7179f0"; logging-data="16214"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1/ctle5Qpy1NpqIrTq74Y7o" User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:DMLiyh/vOU7pDbmCMhuA8vC096Q= sha1:KqMnS8/FIAbu4PTqdTefxZRJAe8= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.bug:96633 X-BeenThere: bug-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.bugs:70300 Archived-At: Eli, Eli Zaretskii wrote: >> From: "Sebastien Vauban" >> >>>> And, what's even more surprising, is the second error: when wanting to >>>> save a draft copy of the email (as I couldn't send it), with C-c C-d, >>>> I've got the error: >>>> >>>> --8<---------------cut here---------------start------------->8--- >>>> basic-save-buffer-2: IO error writing d:/Users/sva/.gnus.d/drafts/draf= ts/2: >>>> Socket operation on non-socket >>>> --8<---------------cut here---------------end--------------->8--- >>> >>> Is this all repeatable, or did it happen just once? >> >> FYI, the _first_ time I press `C-c C-d', I get the above. The second tim= e, >> not anymore, and the draft is correctly saved: I quit Emacs, restart it, >> and send straight away my email. > > Sorry, I don't understand: is the "second time" in the same Emacs session, > or after restarting? Sorry for not being clear the first time=C2=A0;-) Let's recap: 1. The sending error occurs (and reoccurs again and again if I try to resend the email) 2. I'm trying to save the mail as a draft (C-c C-d): IO error above 3. I'm retring to save it once again ("second" time), with no other change: draft is successfully saved 4. I'm restarting Emacs 5. I'm sending the precited email Note -- Looking at the location of the drafts, I'm puzzled that the draft is saved in `~/.gnus.d/drafts' (that is, under my `gnus-directory'), and not in `~/Mail/drafts' (that is, under my `message-directory'). I though that everything related to "email composing" would be handled by Message? > If the former, does the draft get saved to the same file > d:/Users/sva/.gnus.d/drafts/drafts/2 as in the first attempt? Also, does > "first time" mean first time after the laptop awakes from sleep mode? If = so, > can you wait a little longer before you try this, perhaps the disk did not > yet have chance to spin up. The problem occurs for example just now, while my laptop is up since this midday. So, it's not 1just a few seconds or so after making the laptop alive -- BTW, my new laptop (Asus Zenbook UX31) is 100% SSD, so I guess it can't = be more speedy than it is. Why did I mention that fact, then? Because, before, with the old laptop, I quitted Emacs much more often -- at least once every evening. Now, I'm more= or less used to let Emacs (and the laptop) sleep between work sessions. > In any case, I'm sure that the "Socket operation on non-socket" part is a > red herring: write-region is not careful to zero out errno before the > operations it wants to diagnose, so the value is probably coming from some > entirely irrelevant interim error. What is important is that write-region > _does_ fail in one of these operations, the question is which one? I cannot reproduce yet the problem, as I still don't have a clue about the conditions which are necessary to do so. Any test I could do when this does happen? Best regards, Seb --=20 Sebastien Vauban