GNU bug report logs -
#7588
smtpmail: wrong file name for queued mail on Windows
Previous Next
Reported by: Vida Gábor <vidagabor <at> gmail.com>
Date: Tue, 7 Dec 2010 23:24:02 UTC
Severity: normal
Tags: notabug
Fixed in version 23.3
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #13 received at 7588 <at> debbugs.gnu.org (full text, mbox):
> From: Glenn Morris <rgm <at> gnu.org>
> 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.
This bug report was last modified 14 years and 169 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.