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 02E6D41733A for ; Thu, 22 Apr 2010 02:08:00 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.9 X-Spam-Level: X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] autolearn=ham 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 9u8B9UHX6f6C for ; Thu, 22 Apr 2010 02:07:58 -0700 (PDT) Received: from homiemail-a13.g.dreamhost.com (caiajhbdcaib.dreamhost.com [208.97.132.81]) by olra.theworths.org (Postfix) with ESMTP id 9D1B4417339 for ; Thu, 22 Apr 2010 02:07:58 -0700 (PDT) Received: from localhost.localdomain (mtec-hg-docking-1-dhcp-204.ethz.ch [129.132.133.204]) (Authenticated sender: sebastian@sspaeth.de) by homiemail-a13.g.dreamhost.com (Postfix) with ESMTPA id 871596A8058; Thu, 22 Apr 2010 02:07:52 -0700 (PDT) From: Sebastian Spaeth To: Notmuch developer list Subject: [PATCH 2/6] Integrate notmuch-maildir-fcc into notmuch Date: Thu, 22 Apr 2010 11:07:27 +0200 Message-Id: <1271927251-19867-3-git-send-email-Sebastian@SSpaeth.de> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <87ochbx3er.fsf@SSpaeth.de> References: <87ochbx3er.fsf@SSpaeth.de> 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: Thu, 22 Apr 2010 09:08:00 -0000 Require notmuch-maildir-fcc and also install it. Signed-off-by: Sebastian Spaeth --- emacs/Makefile.local | 3 ++- emacs/notmuch-maildir-fcc.el | 4 +++- emacs/notmuch.el | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/emacs/Makefile.local b/emacs/Makefile.local index f759c0d..c80e0e3 100644 --- a/emacs/Makefile.local +++ b/emacs/Makefile.local @@ -6,7 +6,8 @@ emacs_sources := \ $(dir)/notmuch.el \ $(dir)/notmuch-query.el \ $(dir)/notmuch-show.el \ - $(dir)/notmuch-wash.el + $(dir)/notmuch-wash.el \ + $(dir)/notmuch-maildir-fcc.el emacs_bytecode := $(subst .el,.elc,$(emacs_sources)) diff --git a/emacs/notmuch-maildir-fcc.el b/emacs/notmuch-maildir-fcc.el index e7fddf1..f18ccc8 100644 --- a/emacs/notmuch-maildir-fcc.el +++ b/emacs/notmuch-maildir-fcc.el @@ -112,4 +112,6 @@ return t if successful, and nil otherwise." (file-already-exists (throw 'link-error nil)))))) (delete-file (concat destdir "/tmp/" msg-id)))) - t))) \ No newline at end of file + t))) + +(provide 'notmuch-maildir-fcc) diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 57b7fcf..02760b4 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -53,6 +53,7 @@ (require 'notmuch-lib) (require 'notmuch-show) +(require 'notmuch-maildir-fcc) (defcustom notmuch-search-authors-width 20 "Number of columns to use to display authors in a notmuch-search buffer." -- 1.7.0.4