From 46d38d203e3420a863d6ef181e5f2e43b9a6569b Mon Sep 17 00:00:00 2001 From: djcb Date: Fri, 6 Apr 2012 01:28:58 +0300 Subject: [PATCH] * mark drafts as 'S' (seen) when creating them --- emacs/mu4e-send.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emacs/mu4e-send.el b/emacs/mu4e-send.el index e37c48da..15576f7e 100644 --- a/emacs/mu4e-send.el +++ b/emacs/mu4e-send.el @@ -285,7 +285,9 @@ use the new docid. Returns the full path to the new message." (string-match "^[^.]+" system-name) (match-end 0))))) (draft (concat mu4e-maildir mu4e-drafts-folder "/cur/" - (format "%s-%x%x.%s:2,D" ;; 'D': rarely used, but hey, it's available + ;; 'D': rarely used, but hey, it's available + ;; 'S': because we're looking at the draft as we speak + (format "%s-%x%x.%s:2,DS" (format-time-string "%Y%m%d" (current-time)) (emacs-pid) (random t) hostname))) (str (case compose-type