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 627B94196F3 for ; Mon, 29 Mar 2010 00:43:16 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.5 X-Spam-Level: X-Spam-Status: No, score=-0.5 tagged_above=-999 required=5 tests=[BAYES_05=-0.5] 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 UBupUchazXf1 for ; Mon, 29 Mar 2010 00:43:14 -0700 (PDT) Received: from homiemail-a20.g.dreamhost.com (caiajhbdcagg.dreamhost.com [208.97.132.66]) by olra.theworths.org (Postfix) with ESMTP id B48064196F2 for ; Mon, 29 Mar 2010 00:43:14 -0700 (PDT) Received: from sspaeth.de (mtec-hg-docking-1-dhcp-204.ethz.ch [129.132.133.204]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id C50F17EC064; Mon, 29 Mar 2010 00:43:12 -0700 (PDT) Received: by sspaeth.de (sSMTP sendmail emulation); Mon, 29 Mar 2010 09:43:10 +0200 From: "Sebastian Spaeth" To: Ben Gamari , notmuch In-Reply-To: <1268432006-24333-2-git-send-email-bgamari.foss@gmail.com> References: <1268432006-24333-1-git-send-email-bgamari.foss@gmail.com> <1268432006-24333-2-git-send-email-bgamari.foss@gmail.com> Date: Mon, 29 Mar 2010 09:43:10 +0200 Message-ID: <87r5n31skx.fsf@SSpaeth.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [notmuch] [PATCH] notmuch-config: make new message tags configurable 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: Mon, 29 Mar 2010 07:43:16 -0000 On Fri, 12 Mar 2010 17:13:26 -0500, Ben Gamari wrote: > /* success */ > case NOTMUCH_STATUS_SUCCESS: > state->added_messages++; > - tag_inbox_and_unread (message); > + for (tag=state->new_tags; *tag != NULL; tag++) > + notmuch_message_add_tag (message, *tag); notmuch-new.c: In function 'add_files_recursive': notmuch-new.c:465: warning: assignment from incompatible pointer typ I was just trying to apply this (in addition to maildir based tagging) to my branch, and I am getting a compiler warning. Any clue as to how to fix this? This is the exact commit: http://github.com/spaetz/notmuch-all-feature/commit/9beead362971af818697412e9686f96078cdf925#L2R469 Sebastian