From: Carl Worth Date: Thu, 11 Nov 2010 11:53:14 +0000 (-0800) Subject: notmuch setup: Don't prompt about maildir synchronization X-Git-Tag: 0.5~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebe733632dbd048dae7cabb3b40e9f4d8326a8c9;p=notmuch.git notmuch setup: Don't prompt about maildir synchronization This synchronization is one of those features that should just happen automatically. We allow for customization in case someone *really* wants to turn it off, but we don't need to prompt for this interactively. People with special needs can find the configuration file on their own. --- diff --git a/notmuch-setup.c b/notmuch-setup.c index 9f37e4a6..c3ea9371 100644 --- a/notmuch-setup.c +++ b/notmuch-setup.c @@ -195,16 +195,6 @@ notmuch_setup_command (unused (void *ctx), g_ptr_array_free (tags, TRUE); } - prompt ("Synchronize maildir flags with notmuch tags? %s: ", - notmuch_config_get_maildir_synchronize_flags (config) == TRUE ? "[yes]/no" : "[no]/yes"); - if (strlen (response) > 0) { - if (strcasecmp (response, "yes") == 0|| - strcasecmp (response, "y") == 0) - notmuch_config_set_maildir_synchronize_flags (config, TRUE); - else - notmuch_config_set_maildir_synchronize_flags (config, FALSE); - } - if (! notmuch_config_save (config)) { if (is_new) welcome_message_post_setup ();