From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id CC25C6DE18EE for ; Sat, 11 Mar 2017 06:42:41 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.005 X-Spam-Level: X-Spam-Status: No, score=-0.005 tagged_above=-999 required=5 tests=[AWL=0.006, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rJObzIpbNDlJ for ; Sat, 11 Mar 2017 06:42:40 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 584346DE17E1 for ; Sat, 11 Mar 2017 06:42:40 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1cmiDW-00043L-7n; Sat, 11 Mar 2017 09:41:58 -0500 Received: (nullmailer pid 29249 invoked by uid 1000); Sat, 11 Mar 2017 14:42:37 -0000 From: David Bremner To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [RFC 5/5] cli: print number of ignored non-mails encountered in notmuch new scan In-Reply-To: References: Date: Sat, 11 Mar 2017 10:42:37 -0400 Message-ID: <87r323ri1u.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.22 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, 11 Mar 2017 14:42:41 -0000 Jani Nikula writes: > > + if (state->ignored_non_mails) > + printf (" Ignored %d non-mail %s. (Use 'notmuch config append new.ignore [...]' to ignore explicitly.)", > + state->ignored_non_mails, > + state->ignored_non_mails == 1 ? "file" : "files"); > + > printf ("\n"); > } I guess this should be hushed in the case when the user passes --quiet