unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: eric casteleijn <thisfred@gmail.com>
To: Ben Gamari <bgamari.foss@gmail.com>, notmuch <notmuch@notmuchmail.org>
Subject: Re: My mail configuration
Date: Fri, 20 May 2011 18:39:22 -0400	[thread overview]
Message-ID: <87y621dmjp.fsf@eric-Studio-XPS-9100.i-did-not-set--mail-host-address--so-tickle-me> (raw)
In-Reply-To: <87tyfu3k5a.fsf@gmail.com>

On Wed, 23 Feb 2011 09:22:57 -0500, Ben Gamari <bgamari.foss@gmail.com> wrote:
> Here is my mail sorting script that has been slowly evolving for almost
> a year now. It uses the Python bindings, along with Bogofilter for spam
> filtering. There is also an update-spam script which brings the
> Bogofilter database in to synchronization with the notmuch tags. On this
> note, if someone wants to implement the ability to hide certain tags
> (say, those matching /\..+/) in the emacs interface it would be greatly
> appreciated. I have notmuch configured such that all new mail starts
> with just the "new" tag. The sorting script then takes it from
> there. Hope this will give folks some ideas.

Hi Ben,

After a few previous tries, I finally came up with a notmuch setup that
works for me, and it's largely thanks to your example, which I've
modified slightly (of course ;) to suit my own purposes. The thing that
I really liked was the 'watch' tag for mailing list messages, but after
initial experimentation with it, I still felt paranoid about missing
stuff that I cared about, since anything that does not go through my
inbox is unlikely to ever show up on my radar.

The solution I chose was to have an 'unwatch' tag (which could do with a
better name, maybe 'ignore', or 'skip-inbox') that I apply to threads
that I have no interest in. I also decided that (for me) this was not
really tied to mailing list messages. My change made the script quite a
bit simpler, (it gets rid of the unseen tag for one thing,) though at
the cost of some of the original functionality, I realize. So, while I
doubt this will be massively useful to you, or other people with a lot
of list traffic with a very high noise-to-signal ratio, it may be of
interest to others who have use cases more like my own.

I put my copies under version control here:

http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/sort_mail.py
http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/update_junk.py

(Though I'm not sure I changed anything substantial in the second one.)

Also I made some simple keybindings to mark stuff as junk/unwatch in my
.emacs:

http://bazaar.launchpad.net/~thisfred/+junk/scripts/view/head:/.emacs#L552

Hope someone finds this of use,

--
eric casteleijn
https://launchpad.net/~thisfred

      parent reply	other threads:[~2011-05-20 22:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-23 14:22 My mail configuration Ben Gamari
2011-03-06 21:34 ` Michal Sojka
2011-03-11 14:55   ` Ben Gamari
2011-03-18  7:31 ` Jesse Rosenthal
2011-03-18 12:32   ` Ben Gamari
2011-05-20 22:39 ` eric casteleijn [this message]

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=87y621dmjp.fsf@eric-Studio-XPS-9100.i-did-not-set--mail-host-address--so-tickle-me \
    --to=thisfred@gmail.com \
    --cc=bgamari.foss@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).