From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows 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: To: 7588@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129176419618522 (code B ref -1); Tue, 07 Dec 2010 23:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 7 Dec 2010 23:23:16 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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) 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) 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) Date: Wed, 08 Dec 2010 00:26:10 +0100 From: Vida =?UTF-8?Q?G=C3=A1bor?= Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable 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-Spam-Score: -5.9 (-----) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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) From unknown Fri Sep 05 15:36:52 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Vida =?UTF-8?Q?G=C3=A1bor?= Subject: bug#7588: closed (Re: bug#7588: smtpmail: wrong file name for queued mail on Windows) Message-ID: References: X-Gnu-PR-Message: they-closed 7588 X-Gnu-PR-Package: emacs Reply-To: 7588@debbugs.gnu.org Date: Wed, 08 Dec 2010 03:27:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1291778823-11384-1" This is a multi-part message in MIME format... ------------=_1291778823-11384-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #7588: smtpmail: wrong file name for queued mail on Windows which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 7588@debbugs.gnu.org. --=20 7588: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7588 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1291778823-11384-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 7588-done) by debbugs.gnu.org; 8 Dec 2010 03:26:24 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQAfg-0002wm-3Y for submit@debbugs.gnu.org; Tue, 07 Dec 2010 22:26:24 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQAfe-0002wQ-I5 for 7588-done@debbugs.gnu.org; Tue, 07 Dec 2010 22:26:22 -0500 Received: from localhost ([127.0.0.1]:58226) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQAlM-0004DX-I4; Tue, 07 Dec 2010 22:32:16 -0500 To: 7588-done@debbugs.gnu.org Subject: Re: bug#7588: smtpmail: wrong file name for queued mail on Windows References: From: Glenn Morris X-Spook: ammunition New World Order Steve Case eternity server X-Ran: K.Z)X+A/kjX?f[$j X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 07 Dec 2010 22:32:16 -0500 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7588-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Version: 23.3 Thanks; fixed. ------------=_1291778823-11384-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 7 Dec 2010 23:23:16 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 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 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 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 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 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) 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) 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) Date: Wed, 08 Dec 2010 00:26:10 +0100 From: =?utf-8?Q?Vida_G=C3=A1bor?= Subject: smtpmail: wrong file name for queued mail on Windows To: bug-gnu-emacs@gnu.org Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable 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-Spam-Score: -5.9 (-----) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) 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) ------------=_1291778823-11384-1-- From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2010 14:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris , Vida =?UTF-8?Q?G=C3=A1bor?= Cc: 7588@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129181982010739 (code B ref 7588); Wed, 08 Dec 2010 14:51:02 +0000 Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 14:50:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQLLY-0002n9-46 for submit@debbugs.gnu.org; Wed, 08 Dec 2010 09:50:20 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQLLW-0002my-1A for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 09:50:18 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PQLRF-0000x2-09; Wed, 08 Dec 2010 09:56:13 -0500 From: Eli Zaretskii In-reply-to: (message from Glenn Morris on Tue, 07 Dec 2010 22:32:16 -0500) References: Message-Id: Date: Wed, 08 Dec 2010 09:56:13 -0500 X-Spam-Score: -6.5 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > From: Glenn Morris > Date: Tue, 07 Dec 2010 22:32:16 -0500 > Cc: > > Version: 23.3 > > Thanks; fixed. Thanks, but I don't understand why is such a fix needed. The code in question (unless I'm missing something) did this: (let* ((file-data (expand-file-name (format "%s_%i" (format-time-string "%Y-%m-%d_%H:%M:%S") (setq smtpmail-queue-counter (1+ smtpmail-queue-counter))) smtpmail-queue-dir)) (file-data (convert-standard-filename file-data)) The call to convert-standard-filename should, on MS-Windows, replace all characters invalid in a file name with a `!'. I just tried that now, on Windows, and it did precisely that. To the OP: could you please see why this code didn't DTRT for you in the first place? According to the bug report, you are using a version of Emacs post 23.1, and I just verified that 23.1 as released does have the above fragment. Thanks. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2010 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Vida =?UTF-8?Q?G=C3=A1bor?= , 7588@debbugs.gnu.org Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.12918363486114 (code B ref 7588); Wed, 08 Dec 2010 19:26:02 +0000 Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 19:25:48 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQPe7-0001aY-9L for submit@debbugs.gnu.org; Wed, 08 Dec 2010 14:25:47 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQPe4-0001aK-V8 for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 14:25:45 -0500 Received: from localhost ([127.0.0.1]:47771) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQPjn-0006Ga-Oh; Wed, 08 Dec 2010 14:31:39 -0500 References: From: Glenn Morris X-Spook: militia quarter condor constitution Soviet INSCOM X-Ran: rIM-dd4?-U8#$P<|&\xm.7^o8(Z327{]ZU%2uS!@hgQ#_1M])\V?9"6QhB4|^Oz5@2`CC3 X-Hue: magenta X-Attribution: GM Date: Wed, 08 Dec 2010 14:31:39 -0500 In-Reply-To: (Eli Zaretskii's message of "Wed\, 08 Dec 2010 09\:56\:13 -0500") Message-ID: <3pbp4woyck.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Eli Zaretskii wrote: > Thanks, but I don't understand why is such a fix needed. Oh, sorry, I don't use MS Windows. Feel free to revert this. > (file-data (convert-standard-filename file-data)) I missed that. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2010 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Glenn Morris Cc: vidagabor@gmail.com, 7588@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129184307223393 (code B ref 7588); Wed, 08 Dec 2010 21:18:02 +0000 Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 21:17:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQROa-00065G-Jt for submit@debbugs.gnu.org; Wed, 08 Dec 2010 16:17:52 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQROY-000652-Ml for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 16:17:51 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LD400A00OR8XM00@a-mtaout20.012.net.il> for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 23:23:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.69.203]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD400ALEORLXA00@a-mtaout20.012.net.il>; Wed, 08 Dec 2010 23:23:48 +0200 (IST) Date: Wed, 08 Dec 2010 23:23:56 +0200 From: Eli Zaretskii In-reply-to: <3pbp4woyck.fsf@fencepost.gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <83hbeo2c2b.fsf@gnu.org> References: <3pbp4woyck.fsf@fencepost.gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Cc: Vida =?iso-8859-1?Q?G=E1bor?= , > 7588@debbugs.gnu.org > From: Glenn Morris > Date: Wed, 08 Dec 2010 14:31:39 -0500 > > Eli Zaretskii wrote: > > > Thanks, but I don't understand why is such a fix needed. > > Oh, sorry, I don't use MS Windows. No sweat. > Feel free to revert this. As soon as I understand why the existing code didn't work for the OP. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows 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: Wed, 08 Dec 2010 22:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Glenn Morris , 7588@debbugs.gnu.org Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129184588428232 (code B ref 7588); Wed, 08 Dec 2010 22:05:02 +0000 Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 22:04:44 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQS7v-0007LJ-QA for submit@debbugs.gnu.org; Wed, 08 Dec 2010 17:04:44 -0500 Received: from a.relay.invitel.net ([62.77.203.3]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQS7t-0007L2-Pz for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 17:04:42 -0500 Received: from mail.invitel.hu (mail.invitel.hu [213.163.59.4]) by a.relay.invitel.net (Invitel Core SMTP Transmitter) with ESMTP id 0700C11A050; Wed, 8 Dec 2010 23:10:39 +0100 (CET) Received: from nedu.dyndns.org ([91.82.241.99]) by mail.invitel.hu (Invitel Messaging Server) with ESMTPA id <0LD400J9CQXRPDB0@invitel.hu>; Wed, 08 Dec 2010 23:10:39 +0100 (CET) Received: from EV001A4B593FDA (localhost [127.0.0.1]) by nedu.dyndns.org (Postfix) with ESMTP id D0A133589E2; Wed, 08 Dec 2010 23:47:31 +0100 (CET) Date: Wed, 08 Dec 2010 23:10:40 +0100 From: Vida =?UTF-8?Q?G=C3=A1bor?= In-reply-to: Message-id: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-Spam-Score: -3.9 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Hi! When I start Emacs without loading my init.el, convert-standard-filename is loaded from w32-fns.el. Then I use an auxiliary package hexview-mode.el that loads files.el by (load-library "files"). After this, convert-standard-filename is redefined from files.el with this function body: (if (eq system-type 'cygwin) (let ((name (copy-sequence filename)) (start 0)) ;; Replace invalid filename characters with ! (while (string-match "[?*:<>|\"\000-\037]" name start) (aset name (match-beginning 0) ?!) (setq start (match-end 0))) name) filename) system-type for me is windows-nt hence the conversion is not performed. Without load of files.el, the problem reported in this bug report disappears. Once again I want to say (don't know if it is important or not) that I use Emacs W32 downloaded from http://ourcomments.org/Emacs/EmacsW32.html and not the one that is part of Cygwin, but I start it from within a Cygwin shell (to use its environment), and this may cause that the system-type is not cygwin but windows-nt. Thanks and regards, G=C3=A1bor From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2010 22:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Vida =?UTF-8?Q?G=C3=A1bor?= Cc: rgm@gnu.org, 7588@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129184760531497 (code B ref 7588); Wed, 08 Dec 2010 22:34:02 +0000 Received: (at 7588) by debbugs.gnu.org; 8 Dec 2010 22:33:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQSZg-0008By-Er for submit@debbugs.gnu.org; Wed, 08 Dec 2010 17:33:24 -0500 Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQSZe-0008Bj-14 for 7588@debbugs.gnu.org; Wed, 08 Dec 2010 17:33:22 -0500 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0LD400B00S2VM700@a-mtaout20.012.net.il> for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 00:39:20 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.69.203]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD400AVDS9JYM50@a-mtaout20.012.net.il>; Thu, 09 Dec 2010 00:39:20 +0200 (IST) Date: Thu, 09 Dec 2010 00:39:30 +0200 From: Eli Zaretskii In-reply-to: Message-id: <83d3pb3n4t.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Wed, 08 Dec 2010 23:10:40 +0100 > From: Vida G=C3=A1bor > Cc: Glenn Morris , 7588@debbugs.gnu.org >=20 > When I start Emacs without loading my init.el, convert-standard-fil= ename > is loaded from w32-fns.el. Then I use an auxiliary package > hexview-mode.el that loads files.el by (load-library "files"). Afte= r > this, convert-standard-filename is redefined from files.el with thi= s > function body: Now everything is clear. This is a bug in hexview-mode.el: reloading files.elc is not a transparent action on MS-Windows, because doing so removes some redefinition of functions necessary for the Windows port of Emacs. convert-standard-filename is just one of those functions; there are others. I suggest to report this as a bug to the maintainers of hexview-mode.el. At the very least, if they must re-load files.el, they should on Windows after that re-load w32-fns.el and ls-lisp.el. Preferably, hexview-mode.el should not re-load files.el at all. > Once again I want to say (don't know if it is important or not) tha= t I > use Emacs W32 downloaded from http://ourcomments.org/Emacs/EmacsW32= .html > and not the one that is part of Cygwin, but I start it from within = a > Cygwin shell (to use its environment), and this may cause that the > system-type is not cygwin but windows-nt. system-type does not depend on the shell from which you invoke Emacs. It depends on how your Emacs binary was built. EmacsW32 is a native Windows build, so its value of system-type should be windows-nt, no matter what shell was used to launch it. I will revert the changes made by Glenn in a day or two. Thanks. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Jason Rumney Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2010 12:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Eli Zaretskii Cc: Glenn Morris , Vida =?UTF-8?Q?G=C3=A1bor?= , 7588@debbugs.gnu.org Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.12918971267773 (code B ref 7588); Thu, 09 Dec 2010 12:19:02 +0000 Received: (at 7588) by debbugs.gnu.org; 9 Dec 2010 12:18:46 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQfSQ-00021I-4d for submit@debbugs.gnu.org; Thu, 09 Dec 2010 07:18:46 -0500 Received: from mail-gw0-f44.google.com ([74.125.83.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQfSN-000215-TT for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 07:18:44 -0500 Received: by gwj17 with SMTP id 17so1675245gwj.17 for <7588@debbugs.gnu.org>; Thu, 09 Dec 2010 04:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:from:to:cc :subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=SX4awagXNE4DNuTql2Gcl8MckTG8zFyu6wOtF96ZhgA=; b=QM9ZS/W7aGcUHob5Nmc14m+cWPznCyXnFdeKn8tRTjcv/ScyJEkrq6pyx+g8ma6sul bqP3tvW9SZecXxnMMe7+LD/R55PKF5FLiSK2NZuhwiUHpBvub8f0CVB1XU2IaNzmjuv3 SLKN50rI2B/4eW5FjuMYjNo/h0nck9C60o21k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=apAtIWvN0KbQeKVe+vKnPORnVbUF4GwGe2P5Nbtu5iS0SpJb/+upbsl8S0fk9cN173 BllodJAo8P/i8cSjh+0jDfnqb9cA8EhHvzboKtL298xoczWnR0GnXYnRDrvfDhS5/+vd T6HWXFkDs8TXn01qr2tGqEP5FP5CbYEPqQyWg= Received: by 10.150.144.6 with SMTP id r6mr6319449ybd.279.1291897483547; Thu, 09 Dec 2010 04:24:43 -0800 (PST) Received: from home.jasonrumney.net ([120.141.76.88]) by mx.google.com with ESMTPS id u5sm331878yba.10.2010.12.09.04.24.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 09 Dec 2010 04:24:42 -0800 (PST) Received: by home.jasonrumney.net (Postfix, from userid 1000) id 0F2B79F8; Thu, 9 Dec 2010 20:24:34 +0800 (MYT) From: Jason Rumney References: Date: Thu, 09 Dec 2010 20:24:34 +0800 In-Reply-To: (Eli Zaretskii's message of "Wed, 08 Dec 2010 09:56:13 -0500") Message-ID: <87aakfdth9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.8 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.6 (----) Eli Zaretskii writes: > The call to convert-standard-filename should, on MS-Windows, replace > all characters invalid in a file name with a `!'. I just tried that > now, on Windows, and it did precisely that. The OP said he was using Cygwin. Perhaps the real bug is that convert-standard-filename does not DTRT in Cygwin builds. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2010 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: Jason Rumney Cc: rgm@gnu.org, vidagabor@gmail.com, 7588@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129190380919959 (code B ref 7588); Thu, 09 Dec 2010 14:11:02 +0000 Received: (at 7588) by debbugs.gnu.org; 9 Dec 2010 14:10:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQhCD-0005Bs-FG for submit@debbugs.gnu.org; Thu, 09 Dec 2010 09:10:09 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQhCC-0005Bg-8z for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 09:10:08 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1PQhHx-0000TT-8C; Thu, 09 Dec 2010 09:16:05 -0500 From: Eli Zaretskii In-reply-to: <87aakfdth9.fsf@gnu.org> (message from Jason Rumney on Thu, 09 Dec 2010 20:24:34 +0800) References: <87aakfdth9.fsf@gnu.org> Message-Id: Date: Thu, 09 Dec 2010 09:16:05 -0500 X-Spam-Score: -6.5 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) > From: Jason Rumney > Cc: Glenn Morris , Vida =?utf-8?Q?G=C3=A1bor?= > , 7588@debbugs.gnu.org > Date: Thu, 09 Dec 2010 20:24:34 +0800 > > Eli Zaretskii writes: > > > The call to convert-standard-filename should, on MS-Windows, replace > > all characters invalid in a file name with a `!'. I just tried that > > now, on Windows, and it did precisely that. > > The OP said he was using Cygwin. No, he said he was invoking from the Cygwin shell Lennart's EmacsW32. From unknown Fri Sep 05 15:36:52 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7588: smtpmail: wrong file name for queued mail on Windows Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 09 Dec 2010 19:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug To: vidagabor@gmail.com, 7588@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 7588-submit@debbugs.gnu.org id=B7588.129192167513608 (code B ref 7588); Thu, 09 Dec 2010 19:08:01 +0000 Received: (at 7588) by debbugs.gnu.org; 9 Dec 2010 19:07:55 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQlqN-0003XR-07 for submit@debbugs.gnu.org; Thu, 09 Dec 2010 14:07:55 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PQlqK-0003XC-Is for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 14:07:53 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LD600500DEHM600@a-mtaout23.012.net.il> for 7588@debbugs.gnu.org; Thu, 09 Dec 2010 21:13:52 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.142.197]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LD60057TDF3LS10@a-mtaout23.012.net.il>; Thu, 09 Dec 2010 21:13:52 +0200 (IST) Date: Thu, 09 Dec 2010 21:14:03 +0200 From: Eli Zaretskii In-reply-to: <83d3pb3n4t.fsf@gnu.org> X-012-Sender: halo1@inter.net.il Message-id: <8339q63gjo.fsf@gnu.org> References: <83d3pb3n4t.fsf@gnu.org> X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > Date: Thu, 09 Dec 2010 00:39:30 +0200 > From: Eli Zaretskii > Cc: 7588@debbugs.gnu.org > > I will revert the changes made by Glenn in a day or two. I see that Glenn already reverted it.