diff options
| author | djcb <djcb@djcbsoftware.nl> | 2012-04-06 01:28:58 +0300 |
|---|---|---|
| committer | djcb <djcb@djcbsoftware.nl> | 2012-04-06 01:28:58 +0300 |
| commit | 46d38d203e3420a863d6ef181e5f2e43b9a6569b (patch) | |
| tree | ad56acb6b1c963ec1bc00d364fe6bfad36dbf8df | |
| parent | ee840997c3dd7a568b00750b5aa0efdf48a3346e (diff) | |
* mark drafts as 'S' (seen) when creating them
| -rw-r--r-- | emacs/mu4e-send.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/mu4e-send.el b/emacs/mu4e-send.el index e37c48d..15576f7 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 |
