From: Eli Zaretskii <eliz@gnu.org>
To: Jean Louis <bugs@gnu.support>
Cc: 47247@debbugs.gnu.org
Subject: bug#47247: 28.0.50; read-file-name: should display slash correctly in the prompt
Date: Thu, 18 Mar 2021 20:58:54 +0200 [thread overview]
Message-ID: <83k0q4ffv5.fsf@gnu.org> (raw)
In-Reply-To: <86mtv0xr84.fsf@protected.rcdrun.com> (message from Jean Louis on Thu, 18 Mar 2021 21:16:11 +0300)
> From: Jean Louis <bugs@gnu.support>
> Date: Thu, 18 Mar 2021 21:16:11 +0300
>
>
> When I do this:
>
> (read-file-name "File name for export: " (getenv "HOME") nil nil (concat "Location-Set-ID-" "731" ".gpx"))
>
> The file name in the prompt s displayed as:
>
> File name for export: ~Location-Set-ID-731.gpx
>
> without slash, rather than as:
>
> File name for export: ~/Location-Set-ID-731.gpx
That's a cockpit error: you should run the directory through
expand-file-name if you want to use (getenv "HOME") in that context.
next prev parent reply other threads:[~2021-03-18 18:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-18 18:16 bug#47247: 28.0.50; read-file-name: should display slash correctly in the prompt Jean Louis
2021-03-18 18:58 ` Eli Zaretskii [this message]
2021-03-19 8:04 ` Michael Albinus
2021-03-19 8:40 ` Lars Ingebrigtsen
2021-03-20 6:39 ` Jean Louis
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=83k0q4ffv5.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=47247@debbugs.gnu.org \
--cc=bugs@gnu.support \
/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.