emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Notmuch: An emacs interface for fast global search and tagging of email
Date: Thu, 19 Nov 2009 15:26:20 +0100	[thread overview]
Message-ID: <he3kid$um8$1@ger.gmane.org> (raw)
In-Reply-To: 87zl6j5q44.fsf@yoom.home.cworth.org

Carl Worth <cworth@cworth.org> writes:

> On Wed, 18 Nov 2009 18:39:03 +0100, Carsten Dominik <carsten.dominik@gmail.com> wrote:
>> this sounds interesting, but I'd like to know:
>> what is the difference with, for example mh-search, or mairix?
>
> I'm not familiar with mh-search, so I can't comment there.
>
> As for mairix, I think a big improvement that notmuch has is its search
> syntax, (including phrase-based searching). With notmuch searches look
> like this:
>
>         notmuch search from:carsten.dominik and mairix
>         notmuch search subject:"emacs interface" and "Carl Worth"
>         notmuch search tag:important
>
> Of course, that all falls out almost entirely due to just being based on
> Xapian.
>
> Mairix has the interesting mode of being able to deliver search results
> as a maildir of symlinks. We might add something like that to notmuch.
>
> Some things that notmuch has that mairix doesn't and that aren't related
> just to general Xapian features:
>
>   * A "notmuch show" command that does proper threading/nesting of
>     messages.
>
>   * The ability to add/remove arbitrary tags to any message and use them
>     in search terms later.
>
>   * An emacs interface to display search results, quickly filter search
>     results by adding a term, display a thread from the search-results
>     view, start composing a reply from a thread view, etc.
>
> I haven't compared performance and scalability of mairix and notmuch.
> And all of the above is just from my own recollection of using mairix
> for a few months so I may have gotten some details wrong.
>

<OT for org-mode>

I just thought (for completeness) I might mention Dovecot IMAP indexing
at this stage since I know a good few here use gnus and IMAP : thanks to
Tassilo Horn for the heads up about it. My select element is:-

       gnus-select-method '(nnimap "mymail"
				   (nnimap-stream tls)
				   (nnimap-authinfo-file "~/.authinfo.gpg")
				   (nnimap-address "my-server.net")
				   (nnimap-expunge-on-close always)
				   (nnimap-nov-is-evil nil)
				   (nnir-search-engine imap))

Note the nnir-search component.

Then a key to control it:-

     ;; Fast index based mail search on nnmairix server.
     (define-key gnus-group-mode-map (kbd "<f3>")
     'gnus-group-make-nnir-group)

And finally the Dovecot config  (/etc/dovecot/dovecot.conf):-

    protocol imap {
      mail_plugins = fts fts_squat
      listen = *:143
      ssl_listen = *:993
    }

    plugin {
     fts = squat
     fts_squat = partial=4 full=10
    }

It will index when you first search that group.

regards

r.

  parent reply	other threads:[~2009-11-19 14:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-18 10:54 Notmuch: An emacs interface for fast global search and tagging of email Carl Worth
2009-11-18 13:16 ` Giovanni Ridolfi
2009-11-18 14:13   ` Jan Janak
2009-11-18 16:39     ` Tassilo Horn
2009-11-18 17:39     ` Carsten Dominik
2009-11-19  0:12       ` Carl Worth
2009-11-19 13:15         ` Carsten Dominik
2010-04-06  0:42           ` Updated patches for linking to notmuch mail from org David Bremner
2010-04-06 10:13             ` Carsten Dominik
2010-04-06 11:22               ` David Bremner
2010-04-06 12:53                 ` Carsten Dominik
2010-04-06  0:42           ` [PATCH 1/2] Initial version of link support for the notmuch mail system David Bremner
2010-04-06  0:42           ` [PATCH 2/2] Add org-notmuch.el to Makefile and to org-modules David Bremner
2009-11-19 14:26         ` Richard Riley [this message]
2009-12-05 16:40         ` Notmuch: An emacs interface for fast global search and tagging of email David Bremner
2009-12-08 16:56           ` Carsten Dominik

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://www.orgmode.org/

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

  git send-email \
    --in-reply-to='he3kid$um8$1@ger.gmane.org' \
    --to=rileyrgdev@gmail.com \
    --cc=emacs-orgmode@gnu.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://git.savannah.gnu.org/cgit/emacs/org-mode.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).