unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: "Robert Mast" <beheerder@tekenbeetziekten.nl>
To: "'David Bremner'" <david@tethera.net>
Cc: notmuch@notmuchmail.org
Subject: RE: Reply all - issue
Date: Sun, 3 Feb 2013 16:26:27 +0100	[thread overview]
Message-ID: <000001ce0222$d5f30420$81d90c60$@nl> (raw)
In-Reply-To: <87a9rml9pm.fsf@zancas.localnet>

I committed a little patch on a memory-issue I found.

Can someone look whether I used git the right way, or should I study git send-email some further?

-----Oorspronkelijk bericht-----
Van: David Bremner [mailto:david@tethera.net] 
Verzonden: zaterdag 2 februari 2013 21:53
Aan: Robert Mast
CC: notmuch@notmuchmail.org
Onderwerp: [Spam-verdenking][english 100%] RE: Reply all - issue

Robert Mast <beheerder@tekenbeetziekten.nl> writes:

>
> Anyone interested in me patching Notmuch, or shall I keep the changes 
> to myself?
>

Hi Robert;

If you have patches, and you want feedback on them, then you are of course welcome to send them to the list.  Previous experience suggests us that it is often faster in the long run (in terms of actually getting code into notmuch) to take time to work out the design issues before starting coding. Some suggestions/comments:

1) See http://notmuchmail.org/contributing/ for some general hints on
   contributing code to notmuch.
             
2) Make sure whatever threading heuristic you use is deterministic, and
   robust in the face of messages arriving in different orders, and
   munging of headers by mailing lists (subjects in particular get
   munged fairly often).  

3) In particular, it seems important that "notmuch dump" followed by
   "notmuch restore" (possibly followed by notmuch new?) yields unchanged
   or equivalent thread structure

4) Since threading heuristics are a matter of taste (i.e. not everyone
   is convinced that the way Gmail does it is the way notmuch should),
   you'll need to make this configurable. One constraint is that the
   library itself (under ./lib) is should not read configuration files
   (or environment variables, although it violates this for debugging).
   This just means you will have to change the API to pass configuration
   information in to certain routines.

5) I'd say it's more important that you can shut off the heuristic
   completely than have special handling for git (or other version
   control system) patch series.  If you do decide to add some special
   handling for patch series, I'd suggest making it as generic as
   possible, perhaps a configurable list of (header, regex) values that
   disable the thread splitting heuristics.

6) Decide how, if at all your design will support manually joining
   threads together.  I think an acceptable answer would probably be
   "disable all thread splitting heuristics and rebuild the
   database". I'm not sure if it's feasible to do anything nicer than
   that.

d




.

  parent reply	other threads:[~2013-02-03 15:26 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-27 21:58 Reply all - issue Robert Mast
2013-01-28 15:13 ` Jani Nikula
2013-01-28 18:15   ` Robert Mast
2013-01-29  2:47     ` Carl Worth
2013-01-30 17:14       ` Robert Mast
2013-01-30 21:39         ` Suvayu Ali
2013-01-31 10:21           ` Andrei POPESCU
2013-01-30 20:56       ` Robert Mast
2013-01-30 21:49       ` Robert Mast
2013-01-31  1:12         ` David Bremner
2013-01-31  1:14           ` David Bremner
2013-02-12  7:07             ` Jameson Graef Rollins
2013-02-12 19:17               ` Carl Worth
2013-01-31 10:52 ` Michał Nazarewicz
2013-02-02 16:21   ` Robert Mast
2013-02-02 20:52     ` David Bremner
2013-02-03  0:06       ` [Spam-verdenking][english 100%] " Robert Mast
2013-02-03 15:26       ` Robert Mast [this message]
2013-02-03 18:28         ` David Bremner
2013-02-10 15:43       ` Robert Mast
2013-02-04 10:39     ` Michał Nazarewicz
2013-02-04 15:29       ` Suvayu Ali
2013-02-06 18:19       ` Istvan Marko

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='000001ce0222$d5f30420$81d90c60$@nl' \
    --to=beheerder@tekenbeetziekten.nl \
    --cc=david@tethera.net \
    --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).