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

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 12:52:56 +0100, Matthieu Lemerre  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
prioritized.

> 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).

-Carl
-- next part --
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: 



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

2009-12-14 Thread Carl Worth
On Sun, 13 Dec 2009 12:52:56 +0100, Matthieu Lemerre ra...@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
prioritized.

 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).

-Carl


pgpKXrEpVx72k.pgp
Description: PGP signature
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch


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

2009-12-13 Thread Matthieu Lemerre

Hello,

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.

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

Here is how I did it: notmuch-search no longer list arguments with the
deleted tag, unless you execute it with a prefix arg. When you launch it
with C-u s, the query string changes, and it provides you the current
query string by default.

That way, if you want to search for mail, and then decide that you may
have deleted it, you just have to type C-u s to find it. The good part
is that it works even if you didn't knew about it, i.e. if you type C-u
s to launch a new query.


I also added a command history to notmuch-search.


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.

Regards,
Matthieu Lemerre


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?


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

2009-12-13 Thread Matthieu Lemerre

Hello,

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.

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

Here is how I did it: notmuch-search no longer list arguments with the
deleted tag, unless you execute it with a prefix arg. When you launch it
with C-u s, the query string changes, and it provides you the current
query string by default.

That way, if you want to search for mail, and then decide that you may
have deleted it, you just have to type C-u s to find it. The good part
is that it works even if you didn't knew about it, i.e. if you type C-u
s to launch a new query.


I also added a command history to notmuch-search.


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.

Regards,
Matthieu Lemerre


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?
___
notmuch mailing list
notmuch@notmuchmail.org
http://notmuchmail.org/mailman/listinfo/notmuch