From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jpw@pobox.com (John Paul Wallington) Newsgroups: gmane.emacs.devel Subject: fix pop snarfing on Windows Rmail Date: Wed, 20 Aug 2008 23:38:40 +0100 Message-ID: <82r68jfh1r.fsf@FILTH.SHOOTYBANGBANG.COM> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1219273023 2046 80.91.229.12 (20 Aug 2008 22:57:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2008 22:57:03 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 21 00:57:56 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KVwcg-00085x-AU for ged-emacs-devel@m.gmane.org; Thu, 21 Aug 2008 00:57:50 +0200 Original-Received: from localhost ([127.0.0.1]:53663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVwbj-0004c6-3e for ged-emacs-devel@m.gmane.org; Wed, 20 Aug 2008 18:56:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVwSz-0005iI-T0 for emacs-devel@gnu.org; Wed, 20 Aug 2008 18:47:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVwSw-0005fb-Qq for emacs-devel@gnu.org; Wed, 20 Aug 2008 18:47:48 -0400 Original-Received: from [199.232.76.173] (port=54377 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVwSw-0005fS-HG for emacs-devel@gnu.org; Wed, 20 Aug 2008 18:47:46 -0400 Original-Received: from a-sasl-fastnet.sasl.smtp.pobox.com ([207.106.133.19]:41648 helo=sasl.smtp.pobox.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KVwSw-0005lJ-3l for emacs-devel@gnu.org; Wed, 20 Aug 2008 18:47:46 -0400 Original-Received: from localhost.localdomain (localhost [127.0.0.1]) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTP id C988B56554 for ; Wed, 20 Aug 2008 18:47:42 -0400 (EDT) Original-Received: from FILTH (unknown [149.254.192.192]) (using SSLv3 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-sasl-fastnet.sasl.smtp.pobox.com (Postfix) with ESMTPSA id 897DD56552 for ; Wed, 20 Aug 2008 18:47:41 -0400 (EDT) Original-Received: from localhost (HELO FILTH.SHOOTYBANGBANG.COM) [127.0.0.1] by FILTH (10.32.254.1) with ESMTP (Classic Hamster Vr. 2.1 Build 2.1.0.11) ; Wed, 20 Aug 2008 23:38:40 +0100 X-URL: http://www.shootybangbang.com/ X-Attribution: JPW X-NSA-Fodder: Rule Psix Noriega enigma Legion of Doom X-Tom-Swifty: "I just sharpened my pencil," Tom said pointedly. X-Face: #uahb@^mo@bA"{q'"a4y[w$n3/V:haD\; YenWcT7)kXYx3/>#[DD9ExVe}; 9FG6X`l!Dm"V peub=u!&&?}s~{TOPtGdH)KA}/qCr; d"Gr*'9_V1PE@+K'tk2/Iq@PBKtJ+]&,CP9_Fl8'*R]LCR0| 6q; Xey'`:DX+)S.]p[KP^sNe`8B\W6(Nw{o5i)y+I!h=0bU5L`Tj`~Q0!G"t(s7o7eh)J\>P>,!~/w $$jGEVa%H%8(jTv X-Pobox-Relay-ID: FFCEA458-6F09-11DD-9971-B29498D589B0-02562057!a-sasl-fastnet.pobox.com X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:102743 Archived-At: I have a Windows machine where Rmail is configured like this: (setq rmail-primary-inbox-list '("po:user:localhost")) (setq rmail-remote-password-required t) (setq rmail-remote-password "password") and it didn't work to get any mail from the pop server. Looks like this patch is needed: 2008-08-20 John Paul Wallington * mail/rmail.el (rmail-insert-inbox-text): Ensure that the filename of `tofile' doesn't contain any colons on Windows and Cygwin systems. Index: rmail.el =================================================================== RCS file: /sources/emacs/emacs/lisp/mail/rmail.el,v retrieving revision 1.454 diff -u -r1.454 rmail.el --- rmail.el 6 May 2008 07:22:26 -0000 1.454 +++ rmail.el 20 Aug 2008 22:22:51 -0000 @@ -1804,8 +1804,8 @@ (concat ".newmail-" (file-name-nondirectory (if (memq system-type '(windows-nt cygwin)) - ;; cannot have "po:" in file name - (substring file 3) + ;; cannot have colons in file name + (replace-regexp-in-string ":" "-" file) file))) ;; Use the directory of this rmail file ;; because it's a nuisance to use the homedir I'll install it in a few days unless someone objects.