From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#59674: 28.2; icomplete-force-complete Incorrectly Completes Filename Case Date: Tue, 29 Nov 2022 14:23:47 +0000 Message-ID: References: <87tu2i4dlg.fsf@gmail.com> <838rjtnb3o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17041"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59674@debbugs.gnu.org, Cameron Norton To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 29 15:24:16 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 1p01Wx-0004Bf-MF for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 29 Nov 2022 15:24:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p01Wl-0000J9-OX; Tue, 29 Nov 2022 09:24:03 -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 1p01Wk-0000Ik-G7 for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 09:24:02 -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 1p01Wk-0006Me-6R for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 09:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p01Wj-000319-L6 for bug-gnu-emacs@gnu.org; Tue, 29 Nov 2022 09:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Nov 2022 14:24: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.166973183111592 (code B ref 59674); Tue, 29 Nov 2022 14:24:01 +0000 Original-Received: (at 59674) by debbugs.gnu.org; 29 Nov 2022 14:23:51 +0000 Original-Received: from localhost ([127.0.0.1]:54532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p01WZ-00030u-11 for submit@debbugs.gnu.org; Tue, 29 Nov 2022 09:23:51 -0500 Original-Received: from heytings.org ([95.142.160.155]:36260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p01WX-00030o-EK for 59674@debbugs.gnu.org; Tue, 29 Nov 2022 09:23:49 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1669731828; bh=G6ywmSkU4IKVyuUbKX934PNb2OQVjYvHIY8uPdO9cdg=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=cEBAP94Wn1GXBAj81rKSLR1bFEtlh90d8GqgURpEErRqv1L/As25VGLy5YF1fwrMM 2XTtoDQ/jUS5J9KOL0nfIY8LGJedXnc4TbUZcJZtopGssUAj1aAKBR7b1cLQzwa0yT kgrZgo6eT/P4wWfhWKNKNgnJ+9uYnSVZ2rMlPTCyy+9zP8qG+rOHBnQPa/qU/geK25 SB8/yINz+M4aOepp/qJ0qeP/ClGUo3Vuyf8nhlBCwjeu1p8TwEDekPDAbdBCJl5BNu f1aU5yz0mkxWba1oLm9JVJi/8OOzY3/2EHaZr/grLA1k73unYYIOYYUqryZ9EM67YX O9xlWCmm+KQCw== In-Reply-To: <838rjtnb3o.fsf@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:249400 Archived-At: > > 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? > The recipe is not incomplete, but it must be followed very carefully (it's really a corner case): mkdir -p ~/Zack/foo/bar ~/zock echo baz > ~/Zack/foo/bar/baz.txt emacs -Q M-x icomplete-mode RET M-: (setq read-file-name-completion-ignore-case t) RET M-x cd ~/zock RET C-x C-f ~/z/f/b/b ;; only type these characters, with only lower case letters ;; at that point you should see this in the minibuffer: ;; Find file: ~/zock/~/z/f/b/b[...ack/foo/bar/baz.txt] [Matched] C-M-i ;; now you see: ;; Find file: ~/zock/~/zack/foo/bar/baz.txt[...ack/foo/bar/baz.txt] [Matched] RET ;; the above baz.txt file is not opened, instead a new empty file is created, and you see: ;; Use M-x make-directory RET RET to create the directory and its parent