From: Lars Ingebrigtsen <larsi@gnus.org>
To: Tobias Bora <tobias.bora@gmail.com>
Cc: 56531@debbugs.gnu.org, 56532@debbugs.gnu.org
Subject: bug#56532: 27.2; Ido C-f in read-file-name inserts twice the initial name
Date: Wed, 13 Jul 2022 13:07:59 +0200 [thread overview]
Message-ID: <874jzltgmo.fsf@gnus.org> (raw)
In-Reply-To: <fad0f672-95c0-3a47-4586-79a654706644@gmail.com> (Tobias Bora's message of "Wed, 13 Jul 2022 11:27:11 +0200")
Tobias Bora <tobias.bora@gmail.com> writes:
> Dear maintainers,
>
> If you enable ido with (setq ido-auto-merge-work-directories-length -1)
> and evaluate:
>
> (read-file-name "Picture name:" "/tmp" nil nil "defaultname.png")
>
> and go at the end of the buffer with C-e (not sure why the cursor is not
> there by default), and press C-f to come back to a normal file prompt
> (not using ido),
Are there some missing bits in this recipe? `C-f' after eval-ing that
form just moves point, it doesn't change what's prompted for.
In any case, in Emacs directories are supposed to end with a slash, so
the correct syntax would be:
(read-file-name "Picture name:" "/tmp/" nil nil "defaultname.png")
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2022-07-13 11:07 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 [this message]
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
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=874jzltgmo.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=56531@debbugs.gnu.org \
--cc=56532@debbugs.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.