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 B06CE6DE0BB6 for ; Sat, 13 May 2017 15:52:53 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.002 X-Spam-Level: X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[AWL=0.009, 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 odCkRy5oL9cQ for ; Sat, 13 May 2017 15:52:52 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id C618A6DE0B64 for ; Sat, 13 May 2017 15:52:52 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84_2) (envelope-from ) id 1d9ftC-0005nP-5J; Sat, 13 May 2017 18:51:54 -0400 Received: (nullmailer pid 26274 invoked by uid 1000); Sat, 13 May 2017 22:52:45 -0000 From: David Bremner To: Olivier Berger , notmuch@notmuchmail.org Cc: notmuch@freelists.org Subject: Re: Limiting number of results in saved searches in Emacs ? In-Reply-To: <87inlr5zui.fsf@inf-11879.int-evry.fr> References: <87inlr5zui.fsf@inf-11879.int-evry.fr> X-List-To: notmuch Date: Sat, 13 May 2017 19:52:45 -0300 Message-ID: <87inl4z7wi.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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, 13 May 2017 22:52:53 -0000 Olivier Berger writes: > Hi. > > I can't find a way to limit the number of results in saved searches in > Emacs. Mainly to avoid OOM issues. > > It seems that --limit=N could help on the command-line. > > However, the construction of the saved searches only allow to type search terms > and no options like --limit. > > Would anyone have a better suggestion ? A simple thing to do would be to limit the date range of the saved search. d