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#68022: 30.0.50; File cache completions accumulate instead of replacing minibuffer input Date: Mon, 25 Dec 2023 14:44:52 +0200 Message-ID: <8334vqbge3.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8246"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68022@debbugs.gnu.org To: Eshel Yaron Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 25 13:46: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 1rHkLh-000205-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Dec 2023 13:46:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHkLG-0000UV-Kj; Mon, 25 Dec 2023 07:45:58 -0500 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 1rHkLE-0000UL-Kh for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 07:45:56 -0500 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 1rHkLE-0004Cw-C4 for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 07:45:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHkLK-00064v-DI for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 07:46:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Dec 2023 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68022 X-GNU-PR-Package: emacs Original-Received: via spool by 68022-submit@debbugs.gnu.org id=B68022.170350831317295 (code B ref 68022); Mon, 25 Dec 2023 12:46:02 +0000 Original-Received: (at 68022) by debbugs.gnu.org; 25 Dec 2023 12:45:13 +0000 Original-Received: from localhost ([127.0.0.1]:54118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHkKX-0004UF-1E for submit@debbugs.gnu.org; Mon, 25 Dec 2023 07:45:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38176) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHkKS-0003xs-8E for 68022@debbugs.gnu.org; Mon, 25 Dec 2023 07:45:11 -0500 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 1rHkKG-0003ru-3a; Mon, 25 Dec 2023 07:44:56 -0500 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=4I90W5+e1P41yH/JK74rUQxdIi4bq1hV4Q1yzxK34FM=; b=fOqS0zl7GB7t /O92DSD5BEQxNOxCGHXGA+S344mdzo4bQgCX3kE60wTj+ge33/IXyCnburtfojdNmjyA5UNBhAWvr 1/HlX/+m5yitCcv/4jPXGkDkPOevp9+xuVBxo2VF78mkNg6vp6Iid5PR+kWQNSA+rquf/FiCTMMRP wouQdn8gQez/TYDqVCINHqkCUq3z4nFkPJNlvLtgXVE8bhMK4v0XqFuWsqFv1lOcxtjqlC8sXlk47 i3nGDZeZ4gZ8cRZSBUXfVisRT4Xe5s56okVakn+k6YkPw31AojweentRwIJcO+fdKZWhB7nYqvzE5 Di5vcyVZD9L5P8NomBLyEg==; In-Reply-To: (bug-gnu-emacs@gnu.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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:276846 Archived-At: > Date: Mon, 25 Dec 2023 07:54:22 +0100 > From: Eshel Yaron via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > With emacs -Q: > > 1. M-x file-cache-add-directory-using-find /path/to/emacs/ > 2. C-x C-f mini C-TAB > 3. Observe the *Completions* buffer pop up with file cache > completions, suggesting as usual to "type M- or M- to move > point between completions." > 4. M- M- M- ... > 5. Each candidate you highlight this way is inserted in the minibuffer > after the current input, instead of replacing the appropriate part of > the input. > > I see this already in Emacs 29.1, FWIW. Something is missing in the recipe above, because I get "No match" when I press C-TAB in step 2. What did I miss? Is the above supposed to work in any Emacs source tree? Also, what should be the default-directory in step 1 (if it's important) -- should it be the root of the Emacs source tree? Thanks. P.S. Btw, C-TAB doesn't get bound on a TTY, even though I can emulate C-TAB by typing "C-x @ c TAB".