bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Eli Zaretskii
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

> 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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]