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#56532: 27.2; Ido C-f in read-file-name inserts twice the initial name Date: Thu, 14 Jul 2022 13:51:36 +0300 Message-ID: <83h73kt1af.fsf@gnu.org> References: <83tu7lue6x.fsf@gnu.org> <0e19a59c-6f3f-1f39-9039-530ab87fca01@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28477"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56532@debbugs.gnu.org To: Tobias Bora Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jul 14 12:52:35 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 1oBwSQ-0007F6-PZ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 12:52:34 +0200 Original-Received: from localhost ([::1]:37694 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oBwSP-0006EU-Lp for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 06:52:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39912) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBwRu-0006Du-B5 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55099) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oBwRu-0006yN-2E for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oBwRt-0004eT-Vx for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 06:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jul 2022 10:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56532 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 56532-submit@debbugs.gnu.org id=B56532.165779591417868 (code B ref 56532); Thu, 14 Jul 2022 10:52:01 +0000 Original-Received: (at 56532) by debbugs.gnu.org; 14 Jul 2022 10:51:54 +0000 Original-Received: from localhost ([127.0.0.1]:48996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBwRm-0004e5-GB for submit@debbugs.gnu.org; Thu, 14 Jul 2022 06:51:54 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oBwRh-0004dm-Sh for 56532@debbugs.gnu.org; Thu, 14 Jul 2022 06:51:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oBwRc-0006vU-Jr; Thu, 14 Jul 2022 06:51:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PstKvNbouO6IQ3guEx/yK0cwCPzW0+aBIoCxVu/bWn0=; b=Qj0aA5SpX45Njd108uAb QagiTQ8d7prWAgzq9210RBXR20Ui/5DQaq84whqCRLT861J2X3FlgZJByOBemFZkx5OlUYcM+ZsZz OqAs9OFJu4QYs1a/RywDBZyCCeg5OeKrulL3RLx0gOBKEmMJrSa4MC31qBgq+X3HbLrH1Q4pTa3aV hHIBKe0cWWXag5jEpeB6Ic0xjZcmIKngk9+KqnDIpeHmWaFuQ/v/qhCGDhxABkxH0rZ2tV4Q2YdS7 LbzfRVXbT+C8YTzF3D7LLYP+2AWs/IePJHKaPNRJ2F4rw3YxowPQ9VOHNtvYM0Cb8A4EzgdIXVsLj 5UDMvFrvmPtxsQ==; Original-Received: from [87.69.77.57] (port=3960 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 1oBwRa-0006pA-Oi; Thu, 14 Jul 2022 06:51:43 -0400 In-Reply-To: <0e19a59c-6f3f-1f39-9039-530ab87fca01@gmail.com> (message from Tobias Bora on Thu, 14 Jul 2022 12:02:11 +0200) 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" Xref: news.gmane.io gmane.emacs.bugs:236982 Archived-At: > Date: Thu, 14 Jul 2022 12:02:11 +0200 > Cc: 56532@debbugs.gnu.org > From: Tobias Bora > > I can easily reproduce it in emacs -Q yes by simply evaluating the > following config: > > (setq ido-everywhere t) > (ido-mode) > ;; Stop changing directory when openning a file that does not exist! > (setq ido-auto-merge-work-directories-length -1) > > (read-file-nameĀ  "Picture name:" "/tmp/" nil nil "defaultname.png") It looks like you aren't supposed to do that under Ido. See ido-magic-forward-char.