[notmuch] [PATCH] notmuch-config: make new message tags configurable

Sebastian Spaeth Sebastian at SSpaeth.de
Mon Mar 29 00:43:10 PDT 2010


On Fri, 12 Mar 2010 17:13:26 -0500, Ben Gamari <bgamari.foss at gmail.com> 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


More information about the notmuch mailing list