From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Mendler Newsgroups: gmane.emacs.bugs Subject: bug#60264: 29.0.60; Strange file completion candidates for shadowed file paths Date: Thu, 22 Dec 2022 21:57:39 +0100 Message-ID: <87ili3xikc.fsf@daniel-mendler.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2145"; mail-complaints-to="usenet@ciao.gmane.io" To: 60264@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 22 21:59:15 2022 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 1p8Seo-0000Nv-Ji for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 22 Dec 2022 21:59:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p8Sef-0002q7-1N; Thu, 22 Dec 2022 15:59:05 -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 1p8Sed-0002pc-7n for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2022 15:59:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p8Sec-00066K-VB for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2022 15:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p8Sec-0005l7-H2 for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2022 15:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Mendler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 22 Dec 2022 20:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 60264 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167174268722122 (code B ref -1); Thu, 22 Dec 2022 20:59:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Dec 2022 20:58:07 +0000 Original-Received: from localhost ([127.0.0.1]:36312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Sdi-0005kk-MI for submit@debbugs.gnu.org; Thu, 22 Dec 2022 15:58:06 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p8Sdh-0005ke-1U for submit@debbugs.gnu.org; Thu, 22 Dec 2022 15:58:05 -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 1p8Sdg-0002h4-9P for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2022 15:58:04 -0500 Original-Received: from server.qxqx.de ([2a01:4f8:121:346::180] helo=mail.qxqx.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p8Sde-00061o-Dx for bug-gnu-emacs@gnu.org; Thu, 22 Dec 2022 15:58:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=qxqx.de; s=mail1392553390; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From :Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=wAOAAoKwaCYBpMlcEpJ8wtez4S4d857MFnokazgcxEo=; b=gsaXm67C8hwfvjpnQxqfSUkH3F H+GdDCanKT5tCFyrzR5tQu5Mv0SxV+oUST6HjD9ciAWo1qkN6eoWeM2kLbSqJ5au4GaNmTwrIFj5+ sMCR4tGdck2iXco1YMtYaqdWR7ifWa2r6XzDGx0uVY+8tiVccbKz7e7L5HETgTLqGpEo=; Received-SPF: pass client-ip=2a01:4f8:121:346::180; envelope-from=mail@daniel-mendler.de; helo=mail.qxqx.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:251685 Archived-At: 1. Start emacs -Q 2. C-x C-f 3. Delete the entire minibuffer input 4. Enter /etc//s 5. Press ? You will see candidates like etc//sbin/. The candidates can get even stranger. If you enter /etc//etc//etc/s then you will get candidates like etc//etc//etc//sbin/. I can reproduce this bug on 27 and 29. I haven't tried 28, but the issue should exist there too. In GNU Emacs 29.0.60 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.16.0, Xaw scroll bars) of 2022-12-11 built on projects Repository revision: f221105723dc8d3ee9f3c8d1c2717058afbc6666 Repository branch: emacs-29 Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux 10 (buster)