[notmuch] [PATCH] Support for deletion by the emacs client

Carl Worth cworth at cworth.org
Mon Dec 14 14:23:54 PST 2009

On Sun, 13 Dec 2009 12:52:56 +0100, Matthieu Lemerre <racin at free.fr> wrote:
> I tried notmuch and I really like it. I like having an emacs email
> client, but was proficient with none of them (neither with non-emacs
> clients, btw). Notmuch really seems the way to go.

Hi Matthieu, welcome to notmuch!

> However, support for deletion is important to me. Here is a first patch
> that implements it for the emacs interface.

Thanks for the contribution. I'll queue this and review it soon. You'll
notice my review-and-merge pattern is very bursty, and I happen to be
between bursts at the moment.

(Of course, others can review too---I'm much more likely to merge code
if it has one or two Reviewed-By comments on the list.)

> I also added a command history to notmuch-search.

That sounds very nice! I'll steal that for command history for '|' which
I've been needing for a while.

> Now I'd like to write a command to expunge deleted mails; this shouldn't
> be difficult. Having notmuch detect that some mails disappeared and
> update the database seems more difficult, though.

That part I'll be doing. It's already on my TODO list and very highly

> PS: I have trouble understanding why space on the last message on a
> thread deletes the inbox tag. If you do it, then you mail becomes
> untagged and imo quite difficult to search. How is the mail flow
> supposed to work?

I've discussed previously that I plan to remove this behavior from the
function bound to space. Instead, it will require an explicit action to
archive a thread, ('a' to archive and advance to the next thread, and
'x' to archive and exit back to the search results).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20091214/0f0c84e8/attachment.pgp>

More information about the notmuch mailing list