From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vida =?UTF-8?Q?G=C3=A1bor?= Newsgroups: gmane.emacs.bugs Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Date: Wed, 08 Dec 2010 00:26:10 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291765556 21759 80.91.229.12 (7 Dec 2010 23:45:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 23:45:56 +0000 (UTC) To: 7588@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 08 00:45:52 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQ7E2-0006dN-K6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 00:45:51 +0100 Original-Received: from localhost ([127.0.0.1]:43445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ7E1-0003yh-R7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Dec 2010 18:45:38 -0500 Original-Received: from [140.186.70.92] (port=49691 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ7Dt-0003xa-WB for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:45:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ7Ds-0007Z8-Cb for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:45:29 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ7Ds-0007Z4-9h for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:45:28 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PQ6t8-0004qV-NH; Tue, 07 Dec 2010 18:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vida =?UTF-8?Q?G=C3=A1bor?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 07 Dec 2010 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.129176419618522 (code B ref -1); Tue, 07 Dec 2010 23:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Dec 2010 23:23:16 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQ6sN-0004of-17 for submit@debbugs.gnu.org; Tue, 07 Dec 2010 18:23:15 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQ6pb-0004is-8o for submit@debbugs.gnu.org; Tue, 07 Dec 2010 18:20:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ6vJ-0004Wr-P1 for submit@debbugs.gnu.org; Tue, 07 Dec 2010 18:26:19 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:40728) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ6vJ-0004Wn-LE for submit@debbugs.gnu.org; Tue, 07 Dec 2010 18:26:17 -0500 Original-Received: from [140.186.70.92] (port=57142 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQ6vH-0007xb-Ny for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:26:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PQ6vG-0004W8-52 for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:26:15 -0500 Original-Received: from a.relay.invitel.net ([62.77.203.3]:54985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PQ6vF-0004Vb-O4 for bug-gnu-emacs@gnu.org; Tue, 07 Dec 2010 18:26:14 -0500 Original-Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by a.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id E053B11A3BD for ; Wed, 8 Dec 2010 00:26:11 +0100 (CET) Original-Received: from nedu.dyndns.org ([91.82.32.120]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0LD2009KFZRN0SF0@invitel.hu> for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2010 00:26:11 +0100 (CET) Original-Received: from EV001A4B593FDA (localhost [127.0.0.1]) by nedu.dyndns.org (Postfix) with ESMTP id 0862B397D56 for ; Wed, 08 Dec 2010 01:03:06 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 07 Dec 2010 18:23:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 07 Dec 2010 18:24:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:42275 Archived-At: Hi! I've already sent this bug to help-emacs-windows (as advised by M-x report-emacs-bug in Windows port of "GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6001) of 2009-11-04 on LENNART-69DE564 (patched)"), but I think that is not the best place, so do I report it here. [h-e-w] 23.1.50; smtpmail: wrong file name for queued mail From: G=C3=A1bor Vida Subject: [h-e-w] 23.1.50; smtpmail: wrong file name for queued mail Date: Sat, 25 Sep 2010 23:51:41 +0200 Hi! I set smtpmail to queue the mails (and so save them to disk) before I can send them (setq smtpmail-queue-mail t). When I'm ready with the mail, smtpmail-send-it is called and it tries to save the mail to disk using a file name like `2010-09-25_22:12:32_6'. The results is: Saving file=20 c:/home/evidgbo/config/emacs.d/queued-mails/2010-09-25_23:45:56_13... basic-save-buffer-2: Opening output file: invalid argument,=20 c:/home/evidgbo/config/emacs.d/queued-mails/2010-09-25_23:45:56_13 If I change the format string that is used to create the file name string in function smtpmail-send-it, and replace every `:' with e.g. underscores, this problem disapears. I guess this is because on Windows colon in filenames clashes with the absolute file names like drive:\dir\to\file. I run Emacs from Cygwin. Thanks and regards, G=C3=A1bor This is a bug report for the PATCHED Emacs+EmacsW32. Please test the unpatched version of Emacs+EmacsW32 before reporting if you can. If the bug is also in the unpatched version then report from the unpatched version else report here. If it is very inconvenient for you to try the unpatched version, but you believe the bug is not related to the patches then you may change the address above to address@hidden For easy to read information about the patches see EmacsW32 home page. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the address@hidden mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file c:/Program Files/Emacs/emacs/etc/DEBUG. In GNU Emacs 23.1.50.1 (i386-mingw-nt6.0.6001) of 2009-11-04 on LENNART-69DE564 (patched) Windowing system distributor `Microsoft Corp.', version 6.0.6001 configured using `configure --with-gcc (3.4) --cflags -Ic:/g/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C.UTF-8 value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Summary Minor modes in effect: gnus-mailing-list-mode: t minibuffer-depth-indicate-mode: t icicle-mode: t display-time-mode: t pretty-control-l-mode: t delete-selection-mode: t shell-dirtrack-mode: t which-function-mode: t show-paren-mode: t hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t noticeable-minibuffer-prompts-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n=20 C-l C-n C-n C-n C-n C-n C-n C-n C-n SPC SPC M-F C-x=20 C-f ~ / a l m a : f a e=20 e e =20 C-x C-s C-x C-f a l m a : f a : f a a u a=20 o u a e u C-x C-s C-g =20 SPC M-B SPC M-x b u g =20 =20 =20 C-a C-k b u g =20 C-n M-F C-g M-B C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p=20 M-F M-x r e p o r t - e m a c s - b u =20 s m t p m a i l SPC q u e d =20 : SPC q u e u e=20 d SPC m a i l M-b M-b M-b M-f M-f M-b w o =20 r o n g SPC f i l e SPC n a m e SPC f o r SPC =20 M-< C-n C-n C-c C-k y M-x s m t p m a C-g M-x=20 s C-g C-g M-x s e t - v a r s m p =20 t p m a q u d m =20 n i l C-z 0 C-n C-n C-p C-c C-k y=20 C-g C-g C-n C-p C-n C-x b * G r C-n=20 C-n C-n M-x r e p o r t - e m a Recent messages: Remove the backup file too? (y or n)=20 Quit [2 times] Computing completion candidates... Retrieving newsgroup: nnimap+nedu:incoming... nnimap: Updating info for nnimap+nedu:incoming...done Fetching headers for nnimap+nedu:incoming... Unknown charset: unknown Fetching headers for nnimap+nedu:incoming...done Generating summary...done Computing completion candidates... Load-path shadows: ~/config/emacs.d/elisp/apel/timezone hides c:/Program=20 Files/Emacs/emacs/lisp/timezone ~/config/emacs.d/elisp/apel/env hides c:/Program Files/Emacs/emacs/lisp/env c:/Program Files/Emacs/EmacsW32/nxhtml/util/chart hides c:/Program=20 Files/Emacs/emacs/lisp/emacs-lisp/chart Features: (shadow emacsbug debug smiley gnus-async gnus-bcklg goto-addr vc-cvs noutline outline cl-specs edebug mule-diag newcomment multi-isearch windmove time-stamp mailalias sort bbdb-gui gnus-cite face-remap parse-time gnus-ml gnus-topic nnfolder utf-7 utf7 nnimap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnagent nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 pgg pgg-parse pgg-def mm-view smime dig gnus-cache gnus-sum gnus-demon nntp gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems mb-depth two-column bookmark pp icicles icicles-mode icicles-cmd2 yow cookie1 etags icicles-cmd1 icicles-mcmd help-mode view icicles-fn icicles-mac icicles-var icicles-opt icicles-face hexrgb time google-maps google-maps-static google-maps-geocode google-maps-base json bbdb-autoloads bbdb hidesearch hide-lines jabber-autoloads tramp-imap epa epg epg-config imap-hash imap message ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils assoc tramp-gw tramp-fish tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc time-date password-cache format-spec tramp-compat trampver traverselisp grep-a-lot grep+ compile+ compile- uniquify byte-opt hexview-mode htmlize auto-install thingatpt bytecomp byte-compile smtpmail sendmail modeline-posn shebang pp-c-l buff-menu+ delsel irfc muse-html muse-xml-common pcomplete cus-edit cus-start muse-publish muse-project muse-protocols info muse-regexps derived muse muse-nested-tags muse-mode google winner filecache multi-term term ehelp elscreen-server elscreen-w3m mule-util alist elscreen multi-shell edmacro kmacro ansi-color shell type-break sunrise-commander advice help-fns advice-preload dired-x dired-aux dired w3m-load url url-proxy url-privacy url-expand url-methods url-history url-cookie url-util url-parse timezone pym static apel-ver product url-vars mm-util mail-prsvr mailcap esense-start erlang regexp-opt erlang-start whitespace which-func imenu paren hl-line+ hl-line avoid ffap memo-pop fixme-mode saveplace vc-dispatcher vc-svn emacsw32 find-func w32-meta menuacc tmm electric w32-integ w32shell w32-grep grep compile comint ring rebind ourcomments-widgets new-key-seq-widget wid-edit hfyview easy-mmode easymenu htmlfontify cl cl-19 noprint nxhtml-loader emacsw32-eol tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs)