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#42149: Substring and flex completion ignore implicit trailing =?UTF-8?Q?=E2=80=98any=E2=80=99?= Date: Mon, 28 Dec 2020 23:20:19 +0000 Message-ID: <8735zpjz64.fsf@gmail.com> References: <87sgbsv7gg.fsf@gmail.com> <877dp1kfzz.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="454"; 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, Dario Gjorgjevski To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 29 00:21:09 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 1ku1p7-000AYx-9q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Dec 2020 00:21:09 +0100 Original-Received: from localhost ([::1]:33838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ku1p6-00078R-8n for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 28 Dec 2020 18:21:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53716) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ku1p0-000787-1o for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 18:21:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53844) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ku1oz-0008Ae-QF for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 18:21:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ku1oz-0001Pa-LA for bug-gnu-emacs@gnu.org; Mon, 28 Dec 2020 18:21:01 -0500 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: Mon, 28 Dec 2020 23:21: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.16091976325379 (code B ref 42149); Mon, 28 Dec 2020 23:21:01 +0000 Original-Received: (at 42149) by debbugs.gnu.org; 28 Dec 2020 23:20:32 +0000 Original-Received: from localhost ([127.0.0.1]:37157 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku1oW-0001Og-89 for submit@debbugs.gnu.org; Mon, 28 Dec 2020 18:20:32 -0500 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:54946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ku1oT-0001OS-5Q for 42149@debbugs.gnu.org; Mon, 28 Dec 2020 18:20:31 -0500 Original-Received: by mail-wm1-f49.google.com with SMTP id c133so679688wme.4 for <42149@debbugs.gnu.org>; Mon, 28 Dec 2020 15:20:29 -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=oCNDBOxMMXT82buEELrWbetLdh/5xXGGtBtZziH11SA=; b=Fk3/LESKQhpSFIZXEAaVOlvZ2i999lmXwlJqH1+5yz997cOiyzthxDAPKur9fni7a2 /ntVZpAhurdmG/CbMHkhynzGszfjDCLbRRr6A4fULYnQD72u2/GRahu1rU+JtdvLmsma s/NMq/W2ZNsMQHvZY4xaeE7/Bql4f5XgBuu8VrQR0b0jt8cLvHMSysskeM3Qnr77FceE EWqCjn9C+/4xIgP2IfbYwvb7QVBJtT6hxC9Xqeh9Utl9UEKNotuEGCDnMCjyuoRj+SD8 Uw0WOCrcEiXvJnITWmMs6soa41i7j20P4MZBexaRRtfzNCZ9jlguKLGvCpkaGIf8wlPl /J+A== 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=oCNDBOxMMXT82buEELrWbetLdh/5xXGGtBtZziH11SA=; b=aAe7kzZgShKiqi4E8JBOqiOb/3XWwQ2HKmmQLZtNOYrSvCcvc1gDkCB65zNzesMk4V MvOG7kNqRHzSxKfSOdKuJPLbf1yIuZog1PpOq9DBgVq8wy8b8PW0eoW22OLF6ksW8287 vWUX1piHdAq/2kakRE8aRPwQbY261siZPCutF/qmTNvs4x4hrHMNlR1A3ZHo2ocZyj5u CV0TDCyukE1cFOJ7a8U23lhWVwRxyrrBUbtEieV36bmzq7W/xfNE0IxBgA4VAOF/CwZp mp975tvd41aAgRE6Shar0VqcW/PM1e7kTZpMrrW3HcdzZPz1YonI2s84ea7iARxNmSVI RTdw== X-Gm-Message-State: AOAM533/08ZDM+G9ztzIvERS7acsZE+tFla2+gK6SvoRp0yawfBkF9Ex QiI8f/RrZTkkawzyoYxxsMpXc8+7JoI= X-Google-Smtp-Source: ABdhPJziEGyX6pbczdptsEDSN11iL0oldPdMd+oQRvikdN1Tk1sTbL929hMFgxLOVnBPQMriff8+nA== X-Received: by 2002:a7b:c8c5:: with SMTP id f5mr950548wml.106.1609197622940; Mon, 28 Dec 2020 15:20:22 -0800 (PST) Original-Received: from krug ([89.180.149.164]) by smtp.gmail.com with ESMTPSA id o83sm909689wme.21.2020.12.28.15.20.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Dec 2020 15:20:22 -0800 (PST) In-Reply-To: (Stefan Monnier's message of "Mon, 28 Dec 2020 15:00:54 -0500") 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:196901 Archived-At: Stefan Monnier writes: >> I think this elimination of consecutive `any' should also be included in >> Jo=C3=A3o=E2=80=99s branch. > > I just pushed (a rewrite of) that change to `master`. And I just pushed my cleaned up fix to to master as well, thus hopefully fixing the brunt of this bug. Dario and others, please test this. I haven't yet pushed the tests, since we're not entirely sure of those, but I think we should break them up further and push them too, once we come to an aggreement on what and how they should test exactly. Thanks, Jo=C3=A3o