[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master d204894: Go back to old method for nnmaildir names
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] master d204894: Go back to old method for nnmaildir names |
Date: |
Sat, 15 Sep 2018 18:02:12 -0400 (EDT) |
branch: master
commit d2048949bcd5735c17b4a194fc75d16ba25907ca
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>
Go back to old method for nnmaildir names
* lisp/gnus/nnmaildir.el (nnmaildir-request-accept-article):
Omit leading 0s after "M" in file name.
Problem reported by Glenn Morris in:
https://lists.gnu.org/r/emacs-devel/2018-09/msg00660.html
---
lisp/gnus/nnmaildir.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/gnus/nnmaildir.el b/lisp/gnus/nnmaildir.el
index 48a470c..fbabf57 100644
--- a/lisp/gnus/nnmaildir.el
+++ b/lisp/gnus/nnmaildir.el
@@ -1463,7 +1463,7 @@ This variable is set by `nnmaildir-request-article'.")
(unless (string-equal nnmaildir--delivery-time file)
(setq nnmaildir--delivery-time file
nnmaildir--delivery-count 0))
- (setq file (concat file (format-time-string "M%6N" time)))
+ (setq file (concat file "M" (number-to-string (caddr time))))
(setq file (concat file nnmaildir--delivery-pid)
file (concat file "Q" (number-to-string nnmaildir--delivery-count))
file (concat file "." (nnmaildir--system-name))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master d204894: Go back to old method for nnmaildir names,
Paul Eggert <=