[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michael Hudson
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > - Processing mails which do not have any automatically added tag is >boring, because I need to press several keys to archive them: "+" to >add a tag, and then "a". If I forget about +, then my mail is >impossible to find.

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michal Sojka
On Sat, 13 Nov 2010, Darren McGuicken wrote: > On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka > wrote: > > I agree with you in that in many cases tags can be replaced by saved > > searches. Last time I did it, i.e. used saved searches to distinguish > > messages from different mailing lists,

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread David Edmondson
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > > (define-key notmuch-search-mode-map "d" > > (lambda () > > "delete thread and advance" > > (interactive) > > (notmuch-search-add-tag "deleted") > > (forward-line))) > ... > > This only works if you've already

[PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Matthieu Lemerre
On Sun, 14 Nov 2010 22:34:38 +0100, Sebastian Spaeth wrote: > On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre wrote: > > But the space bar removes the unread tag, so I do not see how it > > helps... By default, hitting the space bar throughout a thread would > > remove every tag from the

Re: [PATCH] How to improve the mail handling workflow?

2010-11-15 Thread Michal Sojka
On Sat, 13 Nov 2010, Darren McGuicken wrote: On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka sojk...@fel.cvut.cz wrote: I agree with you in that in many cases tags can be replaced by saved searches. Last time I did it, i.e. used saved searches to distinguish messages from different mailing

Re: [PATCH] How to improve the mail handling workflow?

2010-11-15 Thread David Edmondson
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: (define-key notmuch-search-mode-map d (lambda () delete thread and advance (interactive) (notmuch-search-add-tag deleted) (forward-line))) ... This only works if you've already

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Matthieu Lemerre
On Sun, 14 Nov 2010 14:13:26 -0500, Jameson Rollins wrote: > On Sun, 14 Nov 2010 18:01:48 +0100, Matthieu Lemerre wrote: > > Now when you consistently label all your mails, you just don't want to > > have unclassified mails. That is what we meant by "mail you can't find". > > It sounds like

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre wrote: > But the space bar removes the unread tag, so I do not see how it > helps... By default, hitting the space bar throughout a thread would > remove every tag from the thread, so you keep asking "where was the mail > in my inbox that I

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > This only works if you've already loaded notmuch, or you get error > messages about notmuch-search-mode-map not being known. How do you deal > with that or does it simply work for you? DOH, nothing that a (require 'notmuch) couldn't

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Fri, 12 Nov 2010 10:33:33 -0500, Jameson Rollins wrote: > I agree that the function currently bound to space bar is annoying. I > am actually in the middle of preparing a patch to fix this. I think > that space should just scroll through the open messages. I don't want > it to archive

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Matthieu Lemerre
> I think you guys may have a misunderstanding about how notmuch indexes > mail. Notmuch indexes multiple headers (To, From, Subject, Date) and > the *entire* body of the message. That's kind of the whole point. In > other words, messages don't have to have tags in order to be found. [...]

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Jameson Rollins
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: > This only works if you've already loaded notmuch, or you get error > messages about notmuch-search-mode-map not being known. How do you deal > with that or does it simply work for you? I have: (require 'notmuch) in my config file

[PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Jameson Rollins
On Sun, 14 Nov 2010 18:01:48 +0100, Matthieu Lemerre wrote: > Now when you consistently label all your mails, you just don't want to > have unclassified mails. That is what we meant by "mail you can't find". It sounds like this would just as easily be accomplished with a way to search for all

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Matthieu Lemerre
I think you guys may have a misunderstanding about how notmuch indexes mail. Notmuch indexes multiple headers (To, From, Subject, Date) and the *entire* body of the message. That's kind of the whole point. In other words, messages don't have to have tags in order to be found. [...] Not

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Jameson Rollins
On Sun, 14 Nov 2010 18:01:48 +0100, Matthieu Lemerre ra...@free.fr wrote: Now when you consistently label all your mails, you just don't want to have unclassified mails. That is what we meant by mail you can't find. It sounds like this would just as easily be accomplished with a way to search

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Fri, 12 Nov 2010 10:33:33 -0500, Jameson Rollins wrote: I agree that the function currently bound to space bar is annoying. I am actually in the middle of preparing a patch to fix this. I think that space should just scroll through the open messages. I don't want it to archive anything,

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Jameson Rollins
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: This only works if you've already loaded notmuch, or you get error messages about notmuch-search-mode-map not being known. How do you deal with that or does it simply work for you? I have: (require 'notmuch) in

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Matthieu Lemerre
On Sun, 14 Nov 2010 14:13:26 -0500, Jameson Rollins jroll...@finestructure.net wrote: On Sun, 14 Nov 2010 18:01:48 +0100, Matthieu Lemerre ra...@free.fr wrote: Now when you consistently label all your mails, you just don't want to have unclassified mails. That is what we meant by mail you

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Sun, 14 Nov 2010 22:07:03 +0100, Sebastian Spaeth wrote: This only works if you've already loaded notmuch, or you get error messages about notmuch-search-mode-map not being known. How do you deal with that or does it simply work for you? DOH, nothing that a (require 'notmuch) couldn't fix.

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Sebastian Spaeth
On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre ra...@free.fr wrote: But the space bar removes the unread tag, so I do not see how it helps... By default, hitting the space bar throughout a thread would remove every tag from the thread, so you keep asking where was the mail in my inbox

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Michael Hudson
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: - Processing mails which do not have any automatically added tag is boring, because I need to press several keys to archive them: + to add a tag, and then a. If I forget about +, then my mail is impossible to

Re: [PATCH] How to improve the mail handling workflow?

2010-11-14 Thread Matthieu Lemerre
On Sun, 14 Nov 2010 22:34:38 +0100, Sebastian Spaeth sebast...@sspaeth.de wrote: On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre ra...@free.fr wrote: But the space bar removes the unread tag, so I do not see how it helps... By default, hitting the space bar throughout a thread would

[PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Cédric Cabessa
On Friday 12 November 2010 16:23:58 Matthieu Lemerre wrote: > - Processing mails which do not have any automatically added tag is >boring, because I need to press several keys to archive them: "+" to >add a tag, and then "a". If I forget about +, then my mail is >impossible to find.

[PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Jameson Rollins
On Sat, 13 Nov 2010 17:43:38 +0100, C?dric Cabessa wrote: > On Friday 12 November 2010 16:23:58 Matthieu Lemerre wrote: > > - Processing mails which do not have any automatically added tag is > >boring, because I need to press several keys to archive them: "+" to > >add a tag, and then

[PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Darren McGuicken
On Sat, 13 Nov 2010 07:05:58 +0100, Michal Sojka wrote: > I agree with you in that in many cases tags can be replaced by saved > searches. Last time I did it, i.e. used saved searches to distinguish > messages from different mailing lists, the result was that it took > very long time (something

[PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Michal Sojka
On Fri, 12 Nov 2010, Darren McGuicken wrote: > On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > > Here is first a patch that copes with this last point. Whenever you > > want to archive a thread, it finds whether you forgot to add a custom > > "user" tag to a message, and if so asks

Re: [PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Cédric Cabessa
On Friday 12 November 2010 16:23:58 Matthieu Lemerre wrote: - Processing mails which do not have any automatically added tag is boring, because I need to press several keys to archive them: + to add a tag, and then a. If I forget about +, then my mail is impossible to find. I feel

Re: [PATCH] How to improve the mail handling workflow?

2010-11-13 Thread Jameson Rollins
On Sat, 13 Nov 2010 17:43:38 +0100, Cédric Cabessa c...@ryick.net wrote: On Friday 12 November 2010 16:23:58 Matthieu Lemerre wrote: - Processing mails which do not have any automatically added tag is boring, because I need to press several keys to archive them: + to add a tag, and

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
On Fri, 12 Nov 2010 17:05:23 +, David Edmondson wrote: > On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > > - Processing mails which do not have any automatically added tag is > >boring, because I need to press several keys to archive them: "+" to > >add a tag, and

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread David Edmondson
On Fri, 12 Nov 2010 18:48:12 +0100, Matthieu Lemerre wrote: > It is just a way to ensure that all your mails are properly filed, and > file them quickly. We should just add a hook that you can use, then. dme. -- David Edmondson, http://dme.org

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
Hi, Jamie. > > > - I often find myself hitting the spacebar too much, which ends up with > >some of my new messages being removed from all of their tags, which > >make them very difficult to find. I don't think the spacebar should > >remove the inbox tag at all. It should only

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
On Fri, 12 Nov 2010 15:39:37 +, Darren McGuicken wrote: > On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > > Here is first a patch that copes with this last point. Whenever you > > want to archive a thread, it finds whether you forgot to add a custom > > "user" tag to a

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread David Edmondson
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > - Processing mails which do not have any automatically added tag is >boring, because I need to press several keys to archive them: "+" to >add a tag, and then "a". If I forget about +, then my mail is >impossible to find.

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Darren McGuicken
On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre wrote: > I prefer to add tags, for the following reasons: It sounds like we do much the same things with our mail except that your approach is quite disciplined and mine quite lazy :-) > - If I want to search through a mailing list, I don't

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
Hi, I think that there are several irritating nitpicks when using notmuch in a typical mail workflow. I don't know how other people process their email. I for myself use the following method: 1. The script I use to fetch new mails tries to add tags if it can. For instance, all new mails

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Darren McGuicken
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > Here is first a patch that copes with this last point. Whenever you > want to archive a thread, it finds whether you forgot to add a custom > "user" tag to a message, and if so asks you for a tag to add before > archiving. That way, I

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Jameson Rollins
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre wrote: > The emacs interface to notmuch gets in my way in at least several > manners: Hi, Matthieu. Here are some of the things I've done to deal with similar issues: > - I often find myself hitting the spacebar too much, which ends up with

[PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
Hi, I think that there are several irritating nitpicks when using notmuch in a typical mail workflow. I don't know how other people process their email. I for myself use the following method: 1. The script I use to fetch new mails tries to add tags if it can. For instance, all new mails

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Darren McGuicken
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: Here is first a patch that copes with this last point. Whenever you want to archive a thread, it finds whether you forgot to add a custom user tag to a message, and if so asks you for a tag to add before archiving. That

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
On Fri, 12 Nov 2010 15:39:37 +, Darren McGuicken mailing-notm...@fernseed.info wrote: On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: Here is first a patch that copes with this last point. Whenever you want to archive a thread, it finds whether you forgot to

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Darren McGuicken
On Fri, 12 Nov 2010 17:35:22 +0100, Matthieu Lemerre ra...@free.fr wrote: I prefer to add tags, for the following reasons: It sounds like we do much the same things with our mail except that your approach is quite disciplined and mine quite lazy :-) - If I want to search through a mailing

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread David Edmondson
On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: - Processing mails which do not have any automatically added tag is boring, because I need to press several keys to archive them: + to add a tag, and then a. If I forget about +, then my mail is impossible to

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Matthieu Lemerre
On Fri, 12 Nov 2010 17:05:23 +, David Edmondson d...@dme.org wrote: On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: - Processing mails which do not have any automatically added tag is boring, because I need to press several keys to archive them: + to

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread David Edmondson
On Fri, 12 Nov 2010 18:48:12 +0100, Matthieu Lemerre ra...@free.fr wrote: It is just a way to ensure that all your mails are properly filed, and file them quickly. We should just add a hook that you can use, then. dme. -- David Edmondson, http://dme.org

Re: [PATCH] How to improve the mail handling workflow?

2010-11-12 Thread Michal Sojka
On Fri, 12 Nov 2010, Darren McGuicken wrote: On Fri, 12 Nov 2010 16:23:58 +0100, Matthieu Lemerre ra...@free.fr wrote: Here is first a patch that copes with this last point. Whenever you want to archive a thread, it finds whether you forgot to add a custom user tag to a message, and if so