From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dario Gjorgjevski Newsgroups: gmane.emacs.bugs Subject: bug#42149: Substring and flex completion ignore implicit trailing =?UTF-8?Q?=E2=80=98any=E2=80=99?= Date: Mon, 28 Dec 2020 12:48:28 +0100 Message-ID: References: <87sgbsv7gg.fsf@gmail.com> <871rfal18a.fsf@gmail.com> <87wnx2jh98.fsf@gmail.com> 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="36043"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42149@debbugs.gnu.org, Stefan Monnier To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 28 12:49:25 2020 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 1ktr1h-0009J3-5Z for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 12:49:25 +0100 Original-Received: from localhost ([::1]:47722 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktr1f-00032G-QW for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 06:49:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktr1K-000322-3g for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51127) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ktr1J-0000zB-Qr for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:49:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ktr1J-0000Fs-PN for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 06:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dario Gjorgjevski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Dec 2020 11:49:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 42149-submit@debbugs.gnu.org id=B42149.1609156120950 (code B ref 42149); Mon, 28 Dec 2020 11:49:01 +0000 Original-Received: (at 42149) by debbugs.gnu.org; 28 Dec 2020 11:48:40 +0000 Original-Received: from localhost ([127.0.0.1]:34440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktr0x-0000FG-QV for submit@debbugs.gnu.org; Mon, 28 Dec 2020 06:48:40 -0500 Original-Received: from mail-ej1-f47.google.com ([209.85.218.47]:38651) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ktr0t-0000Ey-08 for 42149@debbugs.gnu.org; Mon, 28 Dec 2020 06:48:38 -0500 Original-Received: by mail-ej1-f47.google.com with SMTP id 6so13848692ejz.5 for <42149@debbugs.gnu.org>; Mon, 28 Dec 2020 03:48:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=ZtvLYecJmM4/yvXohaPXIpnF6LfGHYXHTEJo22FcmPU=; b=GpdUtTe3CKd9MmsSY49Cght71rWioGwyyRpuRLd9/fLcIaGUnADIgHy+QAwILrAMRC OKlICwWbjST1lfxH9aFRi0JhWhXYrEcHEXXsoRjSPGXKwu+1OBt5G9yEAJLUNvhpv5EQ /4pTgjVrai+RUQn85cWc3u9NZCaozBC3PyJUR7/nyE2zqejigZQiqf8Ys2cNzTh54NR0 a3NY765TSczD91vqIrtGcxxgzysO+7oU9GPpKd/ai5h6RLpjk3b4bJ9nExkM++Dhou8W GxvcnUVCXWIrXtdaVNMJVvq38Or4T79hRq5fG8jN36t2rh/sFzrAxHj7BxnLboydYXr6 Dhvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=ZtvLYecJmM4/yvXohaPXIpnF6LfGHYXHTEJo22FcmPU=; b=tGHf2tg4/LpqPJGWywwyrYIWsfk8WbaKCPzsdtwrRD/y3Vv6MRtsmj9BiKC3cz00M5 +AVylV6bGMBzWu7YF/PDcvtZIzhCTQFQtcPevtayMtM9nJ//MjRW71adKi5ucatwzGiC 2EBo93QQmyVOjsWTxCMVfSuwiKxdBn4pRfUOd3Q4jS/1xu6IqIf8lprlt7aUyfaFbPQF liMCkXnfFGLk4lqvipyFX82XI4sZe8zN16qYECaH0UKeb0XAzP3EukJE9OIkZ4TG5elt BVBUK/9LfNPxLphOuscRVUoiCMnBGzl1+QASGWdq/Ehijqheovk2e9PIOXPiOFZs6zSF whNw== X-Gm-Message-State: AOAM532BsmQ1uavsmAu9cMPLhUDfuP5dQl0RLX3XiSSpISeuRckevgK1 VgaaXp/YtqhBfoB6+2t2fuuAzXox2u0= X-Google-Smtp-Source: ABdhPJwYDYNfM2HlyJ7b0MHCkkqFdjoA0Q3QSQhNC+voROtEtVbvsYvuKIN/VczHjb0Cp4xM6IM7Pg== X-Received: by 2002:a17:906:780c:: with SMTP id u12mr15573779ejm.125.1609156108990; Mon, 28 Dec 2020 03:48:28 -0800 (PST) Original-Received: from ZALANDO-31298 ([79.140.114.243]) by smtp.gmail.com with ESMTPSA id x4sm36684793edr.40.2020.12.28.03.48.28 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 28 Dec 2020 03:48:28 -0800 (PST) In-Reply-To: <87wnx2jh98.fsf@gmail.com> ("=?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?="'s message of "Mon, 28 Dec 2020 11:34:59 +0000") 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:196865 Archived-At: > For now, I believe the original problem that started this bug report, > which dealt with flex and substring completion, is fixed by my patch. > Your failed user experience of typing "R" to perform "M-x R" should now > be correct, as far as I can tell. Sorry, but the branch bug-42149-funny-pcm-completion-scores doesn=E2=80=99t= fix any of that problem. (completion-flex-all-completions "R" '("R" "something-else-with-an-R") nil 1) Will make both "R" and "something-else-with-an-R" get a completion-score of 0, which is definitely not helping anything. Best regards, Dario --=20 $ keyserver=3Dhkps://hkps.pool.sks-keyservers.net $ keyid=3D744A4F0B4F1C9371 $ gpg --keyserver $keyserver --search-keys $keyid