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#59674: 28.2; icomplete-force-complete Incorrectly Completes Filename Case Date: Tue, 29 Nov 2022 15:28:43 +0200 Message-ID: <838rjtnb3o.fsf@gnu.org> References: <87tu2i4dlg.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59674@debbugs.gnu.org To: Cameron Norton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 29 14:29:24 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 1p00fs-0002qS-64 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Nov 2022 14:29:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p00fa-00025d-GJ; Tue, 29 Nov 2022 08:29:06 -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 1p00fW-00024O-Ji for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 08:29:04 -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 1p00fW-0004Kk-AN for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 08:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p00fV-0002Si-Ph for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 08:29: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: Tue, 29 Nov 2022 13:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59674 X-GNU-PR-Package: emacs Original-Received: via spool by 59674-submit@debbugs.gnu.org id=B59674.16697285049448 (code B ref 59674); Tue, 29 Nov 2022 13:29:01 +0000 Original-Received: (at 59674) by debbugs.gnu.org; 29 Nov 2022 13:28:24 +0000 Original-Received: from localhost ([127.0.0.1]:54488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p00eu-0002SK-F2 for submit@debbugs.gnu.org; Tue, 29 Nov 2022 08:28:24 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:58178) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p00em-0002SE-9s for 59674@debbugs.gnu.org; Tue, 29 Nov 2022 08:28:21 -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 1p00eg-0004Al-OU; Tue, 29 Nov 2022 08:28:10 -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=FDs13zdL9/gDodwZUjqt348IP5i1ALwv6BAkIc3eF1g=; b=c8aBhtt2Jlou ejLZbG7j3FV+NII5kCXWfaqpC5XVoMPPA02j+QX9YOVMb3igkgVKOvUH13cig8IBj+kmxvxywSHgQ cGTbch73P/XXYhhaGW+d5ZRo7m1MngxKpnQBjWrY+TDoGrirQFfVPZHDvOmBxSHIbnJ2LvYVp24zD aERE7sciRi5I7mnNRcYAFpUDkTSjVs9+GT65JopnsNwdl2tD2dwTf77hotjjUMVr01RnZ6StXm/D7 gUmKH1K7TlFl4O/lp258Y+AwzbLo8iedEU3dzzGPcD0lBiPWrCevHB0P994gQ+NGtOTIoDnGwEw16 yBSEZr4Nm0FynZObgHW4OQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p00ef-0001uk-VD; Tue, 29 Nov 2022 08:28:10 -0500 In-Reply-To: <87tu2i4dlg.fsf@gmail.com> (message from Cameron Norton on Mon, 28 Nov 2022 19:55:06 -0800) 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:249396 Archived-At: > From: Cameron Norton > Date: Mon, 28 Nov 2022 19:55:06 -0800 > > > Using icomplete, I often navigate to certain files by using a single > character for each component of the path name before completing with > icomplete-force-complete, which I have bound to while in the > minibuffer. So a file > > ./foo/bar/baz/asdf.txt > > would be visited via the sequence > > C-x C-f f/b/b/a > > Using icomplete-force-complete this way emulates the behavior in > completion packages like Vertico without the extra dependency. > > However, with completion case sensitivity disabled, this sometimes > results in the file's path being completed incorrectly with regards to > capitalization. This is very noticeable when finding files in the usual > subdirectories of $HOME, with ~/doc completing to ~/documents/ > rather than ~/Documents/, for example. I cannot reproduce what you describe. I see a completely different behavior: as soon as I type ~/d/m M-C-i, ~/Documents disappears from the completions, and I see only ~/dir/moo ("dir" is another directory I have under my home directory). So I'm not sure why you see what you see: perhaps there's some step missing in the recipe?