From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#49321: 28.0.50; [PATCH] Add option icomplete-matches-format Date: Sun, 4 Jul 2021 16:00:10 +0100 Message-ID: References: <87czry2mzu.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12407"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Gabriel , 49321@debbugs.gnu.org, Dmitry Gutov To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 04 17:01:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m03cR-000336-DO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 17:01:15 +0200 Original-Received: from localhost ([::1]:53216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m03cP-0008S9-UY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Jul 2021 11:01:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m03cE-0008Rn-G2 for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 11:01:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59708) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m03cE-0001tO-8h for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 11:01:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m03cE-00086h-4t for bug-gnu-emacs@gnu.org; Sun, 04 Jul 2021 11:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Jul 2021 15:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49321 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 49321-submit@debbugs.gnu.org id=B49321.162541083229563 (code B ref 49321); Sun, 04 Jul 2021 15:01:02 +0000 Original-Received: (at 49321) by debbugs.gnu.org; 4 Jul 2021 15:00:32 +0000 Original-Received: from localhost ([127.0.0.1]:43021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m03bj-0007gS-RG for submit@debbugs.gnu.org; Sun, 04 Jul 2021 11:00:32 -0400 Original-Received: from mail-pl1-f180.google.com ([209.85.214.180]:35758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m03bf-0007XQ-IE for 49321@debbugs.gnu.org; Sun, 04 Jul 2021 11:00:30 -0400 Original-Received: by mail-pl1-f180.google.com with SMTP id b5so8684334plg.2 for <49321@debbugs.gnu.org>; Sun, 04 Jul 2021 08:00:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=9n6a+PbwjLpn5V3127jBp72OJ7SFQvyzbPt71lPGy6M=; b=OC39xvjFJHPhUAbTnHde7PjbZDYN7SeKlCuLH39SRiQUIkRIh5msUFVZgPagu5/SIj CIY4DGPgUB7WgdkdMBIeuxZMWnxqN6vRlYyRQtlB3rTzU3p9HsGJK6wbtMD1BpMZexoV uIYDKB+9Exf1a411n9np4JVRvRqhp6pryXivktWfg2Uu1gE5XfN6yn3dSlmcHr5BXLPp iYacwnf8z4//VTt/XwjLJjEAGTRs2TX4mIHOIeY2FnRT0Gr758O+3P7u/d+yIIlQU8W4 HVBwRpZySQLlNV7zBmK+yKRVqNnpjYElguEzPiE3r8EZvQkF5NKF/eC6WH7E9YV8Appd I0Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=9n6a+PbwjLpn5V3127jBp72OJ7SFQvyzbPt71lPGy6M=; b=ih0DM6mGAVB13RyeuPp6Yb9oQ9amgkbzRtlbgMVbr1UMMFAHqiOXCNUso4hw40xona l13k5ASlqTgNOw7XVrBujrDzHXSTiMLcWHF8wHR6u5L4cign2eZZLVQhEquVSJ5HQ1vH eA4pJBpTqHpMBGw5XtJZ7LDKB+rE0xD57h1+pH2VIOvsbonmrYLboUxGIvGT6g9CVJzm r6TJk+7qQxIquasHOXWG40IJgrndg9o3Zv9a56UYph/CMHIKC4tUvSrfSZotXoeo9uWP 3BVm3CR0t0ejwxX9tMCLO4gnVUoJZ0jpI8pHb2OmyJHcZcm8Shr0creCREx/j9uWslis qM9A== X-Gm-Message-State: AOAM531cvkULGR+4G4lLyMc1eP4s1TIFGG10q1dJ1p26oUkOINBhiTpa 7yuN9vj7KiMdnR0fzjlCdbh7iYBiLF8bICMkZLo= X-Google-Smtp-Source: ABdhPJwDe2QYfayzkDh1FXeQG7mgxih53NkzzrhyQiqozEzHgpZWtQvi0eHzz7kMGiu9vksSrXVE/MAHf7XPp+4t2Yo= X-Received: by 2002:a17:902:7b87:b029:128:345d:f596 with SMTP id w7-20020a1709027b87b0290128345df596mr8471363pll.36.1625410821679; Sun, 04 Jul 2021 08:00:21 -0700 (PDT) In-Reply-To: <87czry2mzu.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:209408 Archived-At: Thanks Lars, I think it'd be great to skip the `safe-length` and similar potentially costly calls if the user decides he doesn't want this info (which I suppose is icomplete-matches-format =3D nil) Jo=C3=A3o On Sun, Jul 4, 2021 at 3:05 PM Lars Ingebrigtsen wrote: > > Gabriel writes: > > > This patch adds a new user option to lisp/icomplete.el called > > 'icomplete-matches-format', similar to 'lazy-count-prefix-format'. > > I guess that sounds reasonable, but I really have no opinion here. So > I've added Dmitry and Jo=C3=A3o to the CCs -- perhaps they have? > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=20 Jo=C3=A3o T=C3=A1vora