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: Tue, 8 Sep 2020 12:32:31 +0100 Message-ID: References: <87k0znsdjb.fsf@gmail.com> <87sgbsv7gg.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a164ec05aecbb13a" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34210"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 42149@debbugs.gnu.org To: Dario Gjorgjevski , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 08 13:33:10 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 1kFbs6-0008ma-JS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 13:33:10 +0200 Original-Received: from localhost ([::1]:55222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFbs5-0003xq-63 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Sep 2020 07:33:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFbrz-0003xT-2I for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 07:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kFbry-0000VE-Pc for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 07:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kFbry-0000sM-88 for bug-gnu-emacs@gnu.org; Tue, 08 Sep 2020 07:33: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: Tue, 08 Sep 2020 11:33:02 +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.15995647733350 (code B ref 42149); Tue, 08 Sep 2020 11:33:02 +0000 Original-Received: (at 42149) by debbugs.gnu.org; 8 Sep 2020 11:32:53 +0000 Original-Received: from localhost ([127.0.0.1]:52241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbrp-0000ry-JL for submit@debbugs.gnu.org; Tue, 08 Sep 2020 07:32:53 -0400 Original-Received: from mail-io1-f44.google.com ([209.85.166.44]:34842) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kFbrm-0000rS-Rp for 42149@debbugs.gnu.org; Tue, 08 Sep 2020 07:32:52 -0400 Original-Received: by mail-io1-f44.google.com with SMTP id r9so16703441ioa.2 for <42149@debbugs.gnu.org>; Tue, 08 Sep 2020 04:32:50 -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; bh=Q1S+Fkd3XhdFyr/aXOmy3fmXDU8DuMxv2Me4WkINapE=; b=Rnp/ciGrw+a3Vlrr+a+JJFPL7JtaS657ClBzlIq8qy49bpkNr4BaqqlNPZC/qgdc2K SLuAXgrNR6YqesSHKX6KjfH4RXqyCvSyflG/+f5YBsLVS1UesTyT8za2EoT8Vk5mMVRT 9sQTsLIlILz3sk2sHFSElZiJyzFc1FKA13ffj87356Z2m/7mMBQpTzw4Tu7QPXLPZOxO cC5vjlFjJS2Hm7ueWmoGeuTUXi3uFokIPPF7dQVXZ4ulVOIbzSL5KJE5Ex/4xIfljNs6 0crkcB/L2DrNKSpHR+R5UEa+xkpRCuno8v8UaBEUtwS+9fQ5jQxLiMNCZsAtk0K8TAho 1xEQ== 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; bh=Q1S+Fkd3XhdFyr/aXOmy3fmXDU8DuMxv2Me4WkINapE=; b=NS7Hlk5qTXMn8MajSoQfZdHy1olUd8jHw4eur9TwwIs5hsOHnGPdd0xSxDD8yF4/1L b3momgkpaD4vx2Lc3BuVU+gmYTW65V4cD53BJx6+ZjIv6AGSHYgSQP5jco3aI71tAFzf nPE8RAK3lc/fnRydKyTIYJnQJAOvMRd6f/Basb6XxZmJrLQ6TzC1/xB/vcfOJsEDGHMK GhPZZxmu9OrK9ExTGjjPYZS1R3aSfpfAFT8uRi6h+LUjLJS4ahMDOO8ZETPg/f7bd2bv C427MggGe4ECfeCFpf3YEZivLgF1OuBTAIf/nNuMB+cXdcmQJlrlB48Uu/5hRzjfpXBV 1EIg== X-Gm-Message-State: AOAM531WnALH3aP4SDAl/i1azHvF88SxNwR6nvi26mo0+W7/2bPxrBuc /vSLLAGtiPHMkjG8i/JILHAGA9rR9+v8E4BNJ58= X-Google-Smtp-Source: ABdhPJxaUitY29WjDleU9wQyYQGy6oBU1dOCVkqYhQusem1l6jQnHY8zhuOr+1dWnwxZvXRTdCJUCetd2Ayq1GnA9zw= X-Received: by 2002:a05:6602:2f88:: with SMTP id u8mr20351175iow.175.1599564765290; Tue, 08 Sep 2020 04:32:45 -0700 (PDT) In-Reply-To: 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:187538 Archived-At: --000000000000a164ec05aecbb13a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Sep 8, 2020 at 12:30 PM Dario Gjorgjevski < dario.gjorgjevski@gmail.com> wrote: > > To summarize, I believe this isn't a very common case, and it is easily > > circumvented with the workaround I gave you. I of course acknowledge > > this bug report as a bug. Maybe you can try making a patch for Emacs > > that fixes it and test it. > > Thanks, I=E2=80=99ll look into it some more and submit a patch. > > To be honest, it seems that the issue is also exhibited by > completion-pcm-all-completions, so the best place to fix it would be > completion-pcm--hilit-commonality. > Sounds good. I'm adding Stefan Monnier to this conversation as he is expert in these matters. Jo=C3=A3o --000000000000a164ec05aecbb13a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Sep 8, 2020 at 12:30 PM Dario Gjorgjevski <dario.gjorgjevski@gmail.com> wrote:=
> To summari= ze, I believe this isn't a very common case, and it is easily
> circumvented with the workaround I gave you.=C2=A0 I of course acknowl= edge
> this bug report as a bug.=C2=A0 Maybe you can try making a patch for E= macs
> that fixes it and test it.

Thanks, I=E2=80=99ll look into it some more and submit a patch.

To be honest, it seems that the issue is also exhibited by
completion-pcm-all-completions, so the best place to fix it would be
completion-pcm--hilit-commonality.
=C2=A0
Sounds good. I'm adding Stefan Monnier to this conversation
=
as he is expert in these matters.

Jo=C3=A3o
--000000000000a164ec05aecbb13a--