Use "-" as hour/minute/second separator instead of ":" to avoid
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 30 Nov 2015 00:49:45 +0200
changeset 1309 00f80b2988a2
parent 1308 9076a617eaae
child 1310 ca9bfec974ac
Use "-" as hour/minute/second separator instead of ":" to avoid glitches in syntax highlighter for compilation-mode when do M-x grep.
.emacs-my
--- a/.emacs-my	Thu Nov 26 21:36:29 2015 +0200
+++ b/.emacs-my	Mon Nov 30 00:49:45 2015 +0200
@@ -1714,7 +1714,7 @@
       (setq field-to (substring field-to 0 32)))
     (when (> (length field-subject) 64)
       (setq field-subject (substring field-subject 0 64)))
-    (setq file (concat gnus-article-save-directory "/" (format-time-string "%F_%T") "_" field-to "_" field-subject))
+    (setq file (concat gnus-article-save-directory "/" (format-time-string "%F_%H-%M-%S") "_" field-to "_" field-subject))
     (with-temp-file file
       (insert-buffer buf)
       )) )