Re: [RFC/PATCH] notmuch link
authorAli Polatel <polatel@gmail.com>
Mon, 3 Oct 2011 21:15:22 +0000 (00:15 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:39:34 +0000 (09:39 -0800)
d1/aecc0200aa62fc8567790cb0ef9b8aeec8fe92 [new file with mode: 0644]

diff --git a/d1/aecc0200aa62fc8567790cb0ef9b8aeec8fe92 b/d1/aecc0200aa62fc8567790cb0ef9b8aeec8fe92
new file mode 100644 (file)
index 0000000..8aa5d23
--- /dev/null
@@ -0,0 +1,132 @@
+Return-Path: <polatel@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C29FE429E21\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 14:15:24 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 06PrSXQCeYk2 for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Oct 2011 14:15:24 -0700 (PDT)\r
+Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com\r
+       [209.85.215.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id 06D79431FB6\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Oct 2011 14:15:23 -0700 (PDT)\r
+Received: by eyg5 with SMTP id 5so3773193eyg.26\r
+       for <notmuch@notmuchmail.org>; Mon, 03 Oct 2011 14:15:22 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=date:from:to:subject:message-id:mail-followup-to:references\r
+       :mime-version:content-type:content-disposition:in-reply-to\r
+       :organization:user-agent;\r
+       bh=i9XRdqhFieO5qSI3ck21Gx67BQsKTlWx7AaX2n2rVOM=;\r
+       b=wz1ALzo8BhCfw6EFWXnDBH32aLoBsc0CdlvtwYDy4hDoPXac/DqoA2UeVs/EyHAcRn\r
+       0XHg8x4vx08dQf3H5eDw4Vr4YrYguxVBt9zMMuqE/Qjy/UonSNK4GrTMS9GFHetA4tPd\r
+       xsaFfuZFkCtj2ByFCh46dUUvEzAwBTUEhJA54=\r
+Received: by 10.223.23.197 with SMTP id s5mr535031fab.22.1317676522700;\r
+       Mon, 03 Oct 2011 14:15:22 -0700 (PDT)\r
+Received: from localhost ([85.104.4.184])\r
+       by mx.google.com with ESMTPS id n12sm22737153fan.9.2011.10.03.14.15.20\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Mon, 03 Oct 2011 14:15:21 -0700 (PDT)\r
+Date: Tue, 4 Oct 2011 00:15:22 +0300\r
+From: Ali Polatel <polatel@gmail.com>\r
+To: Notmuch Mailing List <notmuch@notmuchmail.org>\r
+Subject: Re: [RFC/PATCH] notmuch link\r
+Message-ID: <20111003211522.GB28273@hayalet>\r
+Mail-Followup-To: Notmuch Mailing List <notmuch@notmuchmail.org>\r
+References: <cover.1317458072.git.alip@exherbo.org>\r
+MIME-Version: 1.0\r
+Content-Type: multipart/signed; micalg=pgp-sha1;\r
+       protocol="application/pgp-signature"; boundary="Y7xTucakfITjPcLV"\r
+Content-Disposition: inline\r
+In-Reply-To: <cover.1317458072.git.alip@exherbo.org>\r
+Organization: Pink Floyd\r
+User-Agent: Mutt/1.5.21 (2010-09-15)\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Oct 2011 21:15:24 -0000\r
+\r
+\r
+--Y7xTucakfITjPcLV\r
+Content-Type: text/plain; charset=utf-8; format=flowed\r
+Content-Disposition: inline\r
+Content-Transfer-Encoding: quoted-printable\r
+\r
+Ali Polatel yazm=C4=B1=C5=9F:\r
+>From: Ali Polatel <alip@exherbo.org>\r
+>\r
+>Hello,\r
+>\r
+>I have been working on a new notmuch command namely 'link'. This command\r
+>aims to help integrating notmuch with different mail agents. Basically\r
+>it (sym)links messages matching the given search terms to the specified\r
+>target maildir. You may use this maildir as a so-called "virtual"\r
+>folder. After applying the patch call "notmuch help link" for basic\r
+>help.\r
+>\r
+>The patch is also available on links branch under my notmuch repository:\r
+>https://github.com/alip/notmuch\r
+>\r
+>Beware this is pretty experimental, I have been using it for a couple of\r
+>days fixing the issues along the way. I will be sharing my workflow\r
+>using this command with mutt after I'm done polishing my scripts.\r
+>\r
+>This mail is merely a request for comments and testing.\r
+\r
+Sigh...\r
+I have just noticed "notmuch show" learned --format=3Dmbox which makes\r
+this patch rather pointless for me. This changeset will keep living\r
+under my notmuch repository possibly without receiving any updates.\r
+\r
+>Ali Polatel (1):\r
+>  link: Add new command\r
+>\r
+> Makefile.local   |    2 +\r
+> maildir.c        |  262 +++++++++++++++++++++++++++++++++++++++++\r
+> maildir.h        |   53 +++++++++\r
+> notmuch-client.h |    4 +\r
+> notmuch-link.c   |  339 +++++++++++++++++++++++++++++++++++++++++++++++++=\r
++++++\r
+> notmuch.c        |   44 +++++++\r
+> 6 files changed, 704 insertions(+), 0 deletions(-)\r
+> create mode 100644 maildir.c\r
+> create mode 100644 maildir.h\r
+> create mode 100644 notmuch-link.c\r
+>\r
+>--=20\r
+>1.7.6.1\r
+>\r
+\r
+\r
+         -alip\r
+\r
+--Y7xTucakfITjPcLV\r
+Content-Type: application/pgp-signature\r
+\r
+-----BEGIN PGP SIGNATURE-----\r
+Version: GnuPG v2.0.18 (GNU/Linux)\r
+\r
+iEYEARECAAYFAk6KJeoACgkQQU4yORhF8iDf9QCgzLnZSZZmymgVWiDmaPl3ZYwH\r
+1LIAn0W6B2HMFoQs3/Oq1sLPFkeBTaMF\r
+=yhmz\r
+-----END PGP SIGNATURE-----\r
+\r
+--Y7xTucakfITjPcLV--\r