From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#65137: 29.1; completion-substring-try-completion doesn't return the longest common substring Date: Wed, 06 Sep 2023 14:00:24 +0300 Message-ID: <83tts736t3.fsf@gnu.org> References: <83a5v1okwm.fsf@gnu.org> <875y5pk8rj.fsf@catern.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5352"; mail-complaints-to="usenet@ciao.gmane.io" Cc: sbaugh@catern.com, monnier@iro.umontreal.ca, 65137@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 06 13:01:25 2023 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 1qdqHl-0001ED-Kd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Sep 2023 13:01:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qdqHS-0002hQ-1Y; Wed, 06 Sep 2023 07:01:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdqHQ-0002h2-2u for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:01:04 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qdqHN-0001h6-NR for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:01:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qdqHO-0003Z3-GV for bug-gnu-emacs@gnu.org; Wed, 06 Sep 2023 07:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Sep 2023 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65137 X-GNU-PR-Package: emacs Original-Received: via spool by 65137-submit@debbugs.gnu.org id=B65137.169399804813671 (code B ref 65137); Wed, 06 Sep 2023 11:01:02 +0000 Original-Received: (at 65137) by debbugs.gnu.org; 6 Sep 2023 11:00:48 +0000 Original-Received: from localhost ([127.0.0.1]:33082 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqH9-0003YP-Rx for submit@debbugs.gnu.org; Wed, 06 Sep 2023 07:00:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53736) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qdqH7-0003YC-5L for 65137@debbugs.gnu.org; Wed, 06 Sep 2023 07:00:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qdqH0-0001cy-HA; Wed, 06 Sep 2023 07:00:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=46QUQdsE7LhR9rizBR55NjL4Oj/NwSXyEUAWW45PWLY=; b=rDjIufuDCpMr iUeg51N/aa0kz6a9m2KsxiCbO0dVtONj1wLX/yRV4+qL1F8A7/7F4s6xfKOoRVPDasJu7vTbW9tub Gr8g0uXfKXumhhozYDuNfRYS0yK8z+7iLX2kdhDIL2eh+i/wTXAjiAGPEN+NNcOKxWivNLmq1oDiG WP2+orgY1TY2wXX9zxY2m/nZShxt27pr1Ed5sAXIn7tQO5sgss/oSyH3ES+aoC/G60pyTTPXYAK8g eDDBN/d3fYNyycSlxHSMxJLzoNeyV4GGmm4HDtbk9gLH3AIKCZqYkz2p70wfk8ZnMQQUVUBcuGLiZ hHSZsn/HdECs9X7AIy+lOg==; In-Reply-To: (message from Spencer Baugh on Tue, 05 Sep 2023 15:51:14 -0400) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269504 Archived-At: > From: Spencer Baugh > Cc: sbaugh@catern.com, Eli Zaretskii , 65137@debbugs.gnu.org > Date: Tue, 05 Sep 2023 15:51:14 -0400 > > > * lisp/minibuffer.el (completion-pcm--merge-completions): Don't ignore > a common suffix in a `prefix' pattern element when it's also a common > prefix. > * test/lisp/minibuffer-tests.el (completion-substring-test-5): Add a > test. Please mention the bug number in the commit log message. > + ;; if the common prefix is unique, it also is a common > + ;; suffix, so we should add it for `prefix' elements Comments should begin with a capital letter and end with a period.