[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47247: 28.0.50; read-file-name: should display slash correctly in th
From: |
Jean Louis |
Subject: |
bug#47247: 28.0.50; read-file-name: should display slash correctly in the prompt |
Date: |
Sat, 20 Mar 2021 09:39:06 +0300 |
User-agent: |
Mutt/2.0.6 (2021-03-06) |
* Lars Ingebrigtsen <larsi@gnus.org> [2021-03-19 11:40]:
> Michael Albinus <michael.albinus@gmx.de> 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")