# HG changeset patch # User Oleksandr Gavenko # Date 1448837385 -7200 # Node ID 00f80b2988a2cca57160eb37130ac27068d61317 # Parent 9076a617eaae5d154ee648086e9e9a7222c66e8f Use "-" as hour/minute/second separator instead of ":" to avoid glitches in syntax highlighter for compilation-mode when do M-x grep. diff -r 9076a617eaae -r 00f80b2988a2 .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) )) )