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 18:50:28 +0200 Message-ID: <83le9i9qgb.fsf@gnu.org> References: <8334vqbge3.fsf@gnu.org> <83sf3q9vbi.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3570"; 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 17:51:12 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 1rHoAZ-0000kk-V0 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Dec 2023 17:51:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rHoAL-0003Xn-Ac; Mon, 25 Dec 2023 11:50:57 -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 1rHoAJ-0003WF-JK for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 11:50:55 -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 1rHoAJ-0002yC-An for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 11:50:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rHoAP-0004pC-UL for bug-gnu-emacs@gnu.org; Mon, 25 Dec 2023 11:51:01 -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 16:51:01 +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.170352304818525 (code B ref 68022); Mon, 25 Dec 2023 16:51:01 +0000 Original-Received: (at 68022) by debbugs.gnu.org; 25 Dec 2023 16:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:55230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHoAC-0004oj-F7 for submit@debbugs.gnu.org; Mon, 25 Dec 2023 11:50:48 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rHoA9-0004oW-T8 for 68022@debbugs.gnu.org; Mon, 25 Dec 2023 11:50:46 -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 1rHo9x-0002ww-Pj; Mon, 25 Dec 2023 11:50:33 -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=mGsx09sxL2rsHSBqnras4ISQMnic88I/POxjPpgIZQE=; b=l/UqTSvn5V6o 364pL18nCiTP7+QDWIgffA76jukhyqmyiSGMiMJI6Tcu4Xdt2GBV/2etzb6SfwUGdKwfpcRQlXOPd TmILc+qyCwCdqWwI7fSD0ajxxKwBktLWYHPigLjeX25jI2yX7pVo0ZX+tte8+bJJ3uU9N/CTuOlVZ g62WDYsL/3tolN8pA/lMYqcpyUng8BnPQsn+GMpowKvC06dNP1hWwo8ETo4qIO6DDbWFVN4dVSu/v c2ISm895055HPkLS8fgdL4t14cJPuuxyM8997DX7aEay1YoEDRDdsqodeGIbi46r/FoKXDoo2Eq4W X5pxZWg+vrjF6T14hMbEAw==; In-Reply-To: (message from Eshel Yaron on Mon, 25 Dec 2023 16:41:27 +0100) 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:276873 Archived-At: > From: Eshel Yaron > Cc: 68022@debbugs.gnu.org > Date: Mon, 25 Dec 2023 16:41:27 +0100 > > Instead of using `file-cache-add-directory-using-find`, you can also set > `file-cache-alist` directly: > > --8<---------------cut here---------------start------------->8--- > (setq file-cache-alist > '(("bar" "/foo") > ("baz" "/foo") > ("bad" "/foo") > ("bay" "/foo") > ("ban" "/foo"))) > --8<---------------cut here---------------end--------------->8--- > > Then `C-x C-f ba C-TAB M- M- ...` should show the issue. > > Earlier I wrote that the same issue appears in Emacs 29.1, but now I > tested that again and I think I might have been mistaken. In Emacs 29.1 > I see a different issue: `M-` in the above recipe emits an error: > > --8<---------------cut here---------------start------------->8--- > Wrong type argument: number-or-marker-p, "" > --8<---------------cut here---------------end--------------->8--- > > and doesn't change the minibuffer contents. That's what I see in Emacs 29. So are we talking about one problem or two different problems?