Subject: Re: bug#47247: 28.0.50; read-file-name: should display slash correctly in the prompt

From: Jean Louis <[email-masked]>
Date: Sat, 20 Mar 2021 09:39:06 +0300

* Lars Ingebrigtsen <[email-masked]> [2021-03-19 11:40]:
> Michael Albinus <[email-masked]> writes:
> 
> > Likely, it's not sufficient:
> >
> > (expand-file-name "~") => "/home/albinus"
> >
> > Better, run it through file-name-as-directory.
> 
> Yup.  In any case, there doesn't seem to be a bug here, so I'm closing
> this bug report.

Thank you, I will then use this, it works better.

(read-file-name "File name for export: " (file-name-as-directory (getenv "HOME")) nil nil (concat "Location-Set-ID-" id ".gpx")