all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 56532@debbugs.gnu.org, Tobias Bora <tobias.bora@gmail.com>
Subject: bug#56532: 27.2; Ido C-f in read-file-name inserts twice the initial name
Date: Thu, 14 Jul 2022 20:19:41 +0200	[thread overview]
Message-ID: <87zghb5zgi.fsf@gnus.org> (raw)
In-Reply-To: <83h73kt1af.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Jul 2022 13:51:36 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> 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")

Thanks; with that I can reproduce the problem.

> It looks like you aren't supposed to do that under Ido.  See
> ido-magic-forward-char.

It may not be supposed to work, but it'd be logical if it did, I think?
But I'm not that familiar with how ido does fallbacks (it seems to
involve some strange, brittle magic), so I don't know whether it's
possible or not.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2022-07-14 18:19 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-13  9:27 bug#56532: 27.2; Ido C-f in read-file-name inserts twice the initial name Tobias Bora
2022-07-13 11:07 ` Lars Ingebrigtsen
2022-07-13 14:16   ` Tobias Bora
2022-07-13 15:00     ` bug#56531: " Lars Ingebrigtsen
2022-07-13 17:15 ` Eli Zaretskii
2022-07-14 10:02   ` Tobias Bora
2022-07-14 10:51     ` Eli Zaretskii
2022-07-14 18:19       ` Lars Ingebrigtsen [this message]
2022-07-14 18:23         ` Eli Zaretskii
2022-07-14 20:54           ` Tobias Bora

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zghb5zgi.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=56532@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=tobias.bora@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.