Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id D24F0429E25 for ; Sat, 1 Oct 2011 01:45:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.799 X-Spam-Level: X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oTLz07+8xzqj for ; Sat, 1 Oct 2011 01:45:53 -0700 (PDT) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 1886C431FB6 for ; Sat, 1 Oct 2011 01:45:52 -0700 (PDT) Received: by bkbzt12 with SMTP id zt12so3170626bkb.26 for ; Sat, 01 Oct 2011 01:45:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer:organization; bh=jV2Fcgy9L/HeQNS+fa1ZQX1nH7FMnJKkUnol5pZ+DiA=; b=P+BVm1F4NfvdO1+5q8CC38B+nfOxFHQ7k49lY5BsxguJ9nPtqSZJqa8KM6XA7n9772 hk6KWtpFPvoU/lLPesfx5fWWkLrE/CFn6Unkz4ZCrJWcAcf4t7DSjCSOacx807lo7rWq rXX7WkgnXELpvuCYP5mwEF1alESP7erbYxS9M= Received: by 10.223.23.142 with SMTP id r14mr9252968fab.60.1317458751491; Sat, 01 Oct 2011 01:45:51 -0700 (PDT) Received: from localhost ([78.183.84.0]) by mx.google.com with ESMTPS id j5sm10497933fac.25.2011.10.01.01.45.50 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 01 Oct 2011 01:45:51 -0700 (PDT) From: Ali Polatel To: Notmuch Mailing List Subject: [RFC/PATCH] notmuch link Date: Sat, 1 Oct 2011 11:45:45 +0300 Message-Id: X-Mailer: git-send-email 1.7.6.1 Organization: Pink Floyd Cc: Ali Polatel X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Oct 2011 08:45:54 -0000 From: Ali Polatel Hello, I have been working on a new notmuch command namely 'link'. This command aims to help integrating notmuch with different mail agents. Basically it (sym)links messages matching the given search terms to the specified target maildir. You may use this maildir as a so-called "virtual" folder. After applying the patch call "notmuch help link" for basic help. The patch is also available on links branch under my notmuch repository: https://github.com/alip/notmuch Beware this is pretty experimental, I have been using it for a couple of days fixing the issues along the way. I will be sharing my workflow using this command with mutt after I'm done polishing my scripts. This mail is merely a request for comments and testing. Ali Polatel (1): link: Add new command Makefile.local | 2 + maildir.c | 262 +++++++++++++++++++++++++++++++++++++++++ maildir.h | 53 +++++++++ notmuch-client.h | 4 + notmuch-link.c | 339 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ notmuch.c | 44 +++++++ 6 files changed, 704 insertions(+), 0 deletions(-) create mode 100644 maildir.c create mode 100644 maildir.h create mode 100644 notmuch-link.c -- 1.7.6.1