unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Mark Walters <markwalters1009@gmail.com>
To: notmuch@notmuchmail.org
Subject: [PATCH 0/2] emacs: add postpone support
Date: Sun,  4 Sep 2016 16:56:20 +0100	[thread overview]
Message-ID: <1473004582-19396-1-git-send-email-markwalters1009@gmail.com> (raw)

This series adds postpone support to the emacs frontend. It is similar
to the series at
id:1465001026-29392-1-git-send-email-markwalters1009@gmail.com
but is based on top of the insert/fcc support (now in master).

The first patch is trivial -- it just frees up the e keybinding for
"edit" (ie resume) from tree-mode.

The second patch add the postpone/resume support. It is a large patch,
but I don't see an obvious way to break it up.

Things to note:

Draft messages will be stored in the mail store unencrypted, regardless
of the signing/encryption tags in the message.

There is a custom variable notmuch-message-quoted-tags (which should
always include "secure" unless you really know what you are doing). If
you set it to '("secure" "part") then attachments won't be saved with
the draft, and will be inserted when the message is sent.  This may be
desired in some cases, but may break cases when there are "transient"
attachments, for example when postponing rfc822 forwarded messages

Once a message is resumed, the original is tagged deleted. This means
it doesn't show up in searches, unless you explicitly add tag:deleted
to the search.

You might want to add draft to the list of excluded in the notmuch
config file, so that draft messages only show up when explicitly
searched for.

Best wishes

Mark


Mark Walters (2):
  emacs: tree: move binding for pressing button in message pane to u
  emacs:  postpone/resume support

 emacs/notmuch-message.el | 171 +++++++++++++++++++++++++++++++++++++++++++++++
 emacs/notmuch-mua.el     |   4 ++
 emacs/notmuch-show.el    |  11 +++
 emacs/notmuch-tree.el    |   3 +-
 4 files changed, 188 insertions(+), 1 deletion(-)

-- 
2.1.4

             reply	other threads:[~2016-09-04 15:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 15:56 Mark Walters [this message]
2016-09-04 15:56 ` [PATCH 1/2] emacs: tree: move binding for pressing button in message pane to u Mark Walters
2016-09-04 15:56 ` [PATCH 2/2] emacs: postpone/resume support Mark Walters
2016-09-11 12:05   ` David Bremner
2016-09-11 12:58     ` David Bremner
2016-09-20 19:45     ` Daniel Kahn Gillmor
2016-09-22  0:22       ` David Bremner
2016-10-01 14:20   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473004582-19396-1-git-send-email-markwalters1009@gmail.com \
    --to=markwalters1009@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).