unofficial mirror of meta@public-inbox.org
 help / color / mirror / Atom feed
From: Eric Wong <e@80x24.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: meta@public-inbox.org
Subject: [PATCH v2] Allow specification of the number of search results to return
Date: Sun, 1 Apr 2018 23:21:11 +0000	[thread overview]
Message-ID: <20180401232111.GA25534@dcvr> (raw)
In-Reply-To: <20180330152557.1604c836@lwn.net>

Jonathan Corbet <corbet@lwn.net> wrote:
> Allow specification of the number of search results to return

Interesting, now I've learned git-am treats that as the commit
title since the Subject was empty.  Doesn't look that great in
my MUA or public-inbox, though.

> Add an "l=" parameter to the search query syntax to specify how many
> results should be returned.
> ---
> v2: Clamp the number of results at $LIM (200).  I didn't add a
> configurable maximum because I wouldn't be using it; if somebody needs it
> we can add it later.

Sure, that's fine.  I prefer having fewer knobs overall.
I noticed another minor problem, but will followup in a separate
patch.

  reply	other threads:[~2018-04-01 23:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-30 21:25 [PATCH v2] Jonathan Corbet
2018-04-01 23:21 ` Eric Wong [this message]
2018-04-01 23:22   ` [PATCH] searchview: fix non-numeric comparison Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://public-inbox.org/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180401232111.GA25534@dcvr \
    --to=e@80x24.org \
    --cc=corbet@lwn.net \
    --cc=meta@public-inbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).